Forum .LRN Q&A: Re: Package parameters question
We have a function called parameter::get_from_package_key, which may work if you put the parameter in the server configuration file (config.tcl). You can also use parameter::get_from_package_key if there is only one instance of the package installed. However, it won't work if more than one instance of the package is installed.
If there are multiple packages installed and you don't want to use the server config file, you may simply want to perform regular lookups with parameter::get and not change them from instance to instance.
Another option is to declare a specific instance as canonical and always doing lookups against this instance by feeding the canonical instance id in the -package_id switch to parameter::get. I'm pretty sure the dotlrn package uses this approach, marking the instance at /dotlrn as canonical.
There may be a TIP brewing here.