Forum OpenACS Q&A: package_url from package_id

Collapse
Posted by tammy m on
Hi

What's the current recommended way to get the package_url from a package_id? I found apm_package_url_from_id but the docs say that it's only valid for singleton packages. I don't want to use [ad_conn package_url] because I won't always be calling my proc from within the package.

tia

Collapse
Posted by Nagita Karunaratne on
This info is available in nsv arrays 'site_nodes_urls' and 'site_nodes'. If you can get the node_id, use the former i guess.