Forum OpenACS Development: Re: Getting package_id in an init.tcl script

Collapse
Posted by Don Baccus on
bulk-mail-init.tcl is only run when OpenACS is initializing itself, not every time bulk mail is mounted.

What you want to do is to make use of the APM callback stuff added in 4.6.3? 5.0 for sure ... there's an "after_mount" callback and the APM passes in the node_id of the new package instance for your convenience.