Publish a page by using the portal scripting interface

View the Portal Scripting Interface syntax for publishing content.


publishPage


JACL syntax for publishing a page:

$Publish publishPage source_server userid password 


target_server userid password page_uniquename parent_uniquename sibling_uniquename server_uniquename include_children [true|false]


Example JACL code snippet for publishing a page:

$Publish publishPage 
   http://server1.example.com:10040/wps/mycontenthandler wpsadmin wpsadmin 
   http://server2.example.com:10040/wps/mycontenthandler wpsadmin wpsadmin 
   testPage ibm.portal.Home null null true 

For a full code example refer to Example JACL scripts for site management.
Publish parameters:
source_server userid password


target_server userid password


page_uniquename


parent_uniquename


sibling_uniquename


server_uniquename


include_children [true|false]


Parent

Site management extension of the portal scripting interface
Promoting a page by using the portal scripting interface
Demoting a page by using the portal scripting interface
Script samples for site management

 


+

Search Tips   |   Advanced Search