Forum OpenACS Development: Re: xowiki prototypes

Collapse
2: Re: xowiki prototypes (response to 1)
Posted by Malte Sussdorff on
How about calling

::xowiki::Package import_prototype_page -package_key "intranet-xowiki" -name "index" -parent_id (folder of the XoWIKI instance...) -package_id (package_id of the new xowiki instance)

once you have executed site_node::instantiate_and_mount. At this point both folder_id and package_id should be available to you.

Collapse
3: Re: xowiki prototypes (response to 2)
Posted by Iuri Sampaio on
I was expecting that. However none of those are available.
It seems xowiki does not instantiate the package on site_node::instantiate_and_mount.

At least neither package_id nor folder_id are on the respective tables yet (apm_packages, cr_items/cr_folders) .