Demoting a page using the Portal Scripting Interface
View the Portal Scripting Interface syntax for demoting content.
Use this property to demote the content page or hierarchy on the target server.
JACL syntax for demoting a page:$Publish demotePage targetserver userid password pageuniquenameinclude_children [true|false]
Example JACL code snippet for demoting a page:$Publish demotePage http://reclab101.rtp.raleigh.ibm.com:10040/wps/mycontenthandler wpsadmin wpsadmin testPage true
target_server userid passwordProvide the target server URL, user ID, and password with the appropriate values for environment.
page_uniquenameFor the page unique name provide the object ID of page.
include_children [true|false]This parameter determines whether children of the page will be demoted along with the page. Specify true or false.
Parent
Portal Scripting Interface extension for site management
Publish a page using the Portal Scripting Interface
Promoting a page using the Portal Scripting Interface
Example scripts for site management