Publish a page 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

Portal Scripting Interface extension for site management
Promoting a page using the Portal Scripting Interface
Demoting a page using the Portal Scripting Interface
Example scripts for site management

 


+

Search Tips   |   Advanced Search