Getting started with the Portal Scripting Interface
With the Portal Scripting Interface, you can administer your portal installation by executing commands. You can do that either interactively by typing the commands into a console window with interactive scripting and pressing the Enter key, or you can write the commands into a file and run that file. Here are some hints and examples for using the Portal Scripting Interface.
Note
To simplify things, the following examples are based on a Linux portal installation in the directory /opt/WebSphere. If you use a different system or a different installation path, adopt the examples so.
- Opening a console window for interactive scripting
Learn how to start Portal Scripting Interface from a console window. - Logging in to the portal
Learn how to log in to the portal server instance where you want to work with the Portal Scripting Interface. - Working with portal pages and other resources
Learn how to work with portal resources such as pages and portlets, search for resources and information about them, and add a portlet to a page. - Getting help for a command
Learn how to get help information about the Portal Scripting Interface commands. - Logging out of the portal
Learn how to log out and exit the interactive scripting console.