Show TOC

Creating Startup ActionsLocate this document in the navigation structure

Context

A startup action is an action that is triggered automatically when the admin studio instance is opened. For example, a startup action is triggered when the Portal Content Studio instance is opened, which opens the overview page.

The following figure illustrates how to define startup actions:

Procedure


  1. In the <Context> element for admin studio configuration, create a <Context> element for a standard folder that indicates the start of startup actions, with the following attributes:

    <Context name="startupActions" title="Startup Actions" objectClass="com.sap.portal.pcd.gl.GlContext">

  2. In the <Context> element for startup actions, create a <Context> element for each startup action.

    Each startup action should be a delta link to an existing action. Set the following attribute for each startup action <context> element:

    <Context name="${namespace}.action.preview" objectClass="com.sap.portal.admin.studio.config.action">

Results

The specified action is triggered automatically when the admin studio instance is opened.

For example, when the Portal Content Studio is opened, a startup action is triggered that runs the overview page for the Portal Content Studio.