Show TOC

Executing XML Content and Actions Scripts Using APILocate this document in the navigation structure

Use

Creating PCD content (such as iViews, pages, systems) and performing actions in the PCD (such as setting permissions and deleting content) using the portal administration tools may require many steps. Instead, the portal enables you to define XML content and actions scripts, which can be executed in one step using an API.

This section contains the following:

  • Executing an XML Script

    Describes how to use API to execute a script and to check the results of the script.

  • Developing Custom Script Handlers

    The portal comes with handlers for creating most types of content and performing many actions. You can create a handler for performing a custom task, and then upload an XML script that triggers your custom handler.

The portal provides additional ways to create content and perform actions in the PCD:

  • The XML Content and Actions feature provides an administrator interface for using XML to create content and perform actions in the PCD. More information on this feature, as well as instructions on how to create valid XML: XML Content and Actions

  • The portal provides a Web Service for creating content and performing actions in the PCD. More information: XML Content and Actions Web Service

Prerequisites
  • You have a thorough understanding of the XML Content and Actions feature, as described in XML Content and Actions

Dependencies

The following are the dependencies for using the classes and interfaces described in this section:

SC

DC

EP-RUNTIME

com.sap.portal.ivs.api_genericcreator

Sharing References and JAR Files

In non-NWDI environments, you can instead reference the following JAR files:

  • com.sap.portal.ivs.api_genericcreator

  • com.sap.portal.ivs.api_genericcreator_handlers

You must also create the following runtime sharing reference:

  • com.sap.portal.ivs.api_genericcreator