• Publicity: Public Only All

parameter-page-procs.tcl

xowiki - procs for working with parameter pages.

Location:
packages/xowiki/tcl/parameter-page-procs.tcl
Created:
2020-02-13
Author:
Gustaf Neumann

Procedures in this file

Detailed information

xowiki::require_parameter_page (public)

 xowiki::require_parameter_page -name name -package_id package_id \
    [ -parent_id parent_id ] [ -title title ] \
    [ -instance_attributes instance_attributes ] [ -form form ] \
    [ -publish_status publish_status ]

Create or up update a parameter page. This is a convenience method to ease the interaction with parameter pages.

Switches:
-name
(required)
-package_id
(required)
-parent_id
(optional)
-title
(defaults to "Parameter Page") (optional)
-instance_attributes
(optional)
-form
(defaults to "en:Parameter.form") (optional)
-publish_status
(defaults to "production") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_create_folder_with_page create_folder_with_page (test xowf) xowiki::require_parameter_page xowiki::require_parameter_page test_create_folder_with_page->xowiki::require_parameter_page ad_try ad_try (public) xowiki::require_parameter_page->ad_try

Testcases:
create_folder_with_page
[ show source ]