About the Portal Scripting Interface

WebSphere Portal provides a scripting interface that enhances the possibilities for automated solution deployment and administration of the portal. The Portal Scripting Interface allows you to create scripts that portal administrators can use to perform administrative tasks from a command line.

The Portal Scripting Interface allows portal solution development teams to write scripts that are later executed by operation teams for solution deployment. These scripts have the same functionality as the portal administration user interface. This allows you to implement automated configuration management for various kinds of configuration changes.

Scripts support the work split between solution development and solution operation teams. Even if the solution development teams cannot work interactively with the productions system, they can apply the same administrative actions through the use of scripts. At the same time, the use of scripts enhances availability and quality of the solution as developers can write and test the scripts without interfering with the production system. Scripts provide repeatability and avoid user errors that are likely in manual administration procedures.

In addition to these benefits, portal scripts provide the following advantages:


Change from JACL to Jython syntax

In previous versions of WebSphere Portal the Portal Scripting Interface was based on JACL syntax. Starting with WebSphere Portal v7.0 the Portal Scripting Interface is based on Jython syntax, and the JACL syntax will be phased out. The JACL syntax is still supported, but this support will be discontinued in the future. Therefore use Jython syntax when you write scripts and convert existing scripts to Jython syntax.

The Jython syntax can be derived from the JACL syntax in a generic way as follows:


Parent

Portal Scripting Interface
Work with the Portal Scripting Interface


Related tasks


Get started with the Portal Scripting Interface
Command reference for Portal Scripting Interface

 


+

Search Tips   |   Advanced Search