Automating Content Creation with
XML
The portal provides an API that enables you to execute an XML script in order to automate content creation and to perform other actions.
Creating content (such as iViews, pages, systems, translation lists and desktops) and performing actions (such as setting permissions and deleting content) via administration tools may require many steps. Instead, the portal enables you to define, in XML, many objects and their attributes, and then execute the XML to create all the objects in one step.
This section contains the following:
● Key Interfaces and Classes: Describes the interfaces and classes for working with the XML Content and Actions API.
● Executing XML Scripts: Describes how to execute an XML script.
● Developing Handlers: Describes how to create your own 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 API provides the same functionality as the XML Content
and Actions administrator interface. For more information on the XML Content
and Actions feature, as well as instructions on how to create valid XML for
creating content, see
XML Content and
Actions.
The API provides the same functionality as the XML Content and Actions Web Service.
●
You have a thorough
understanding of the XML Content and Actions feature, as described in
XML Content and
Actions.
The following are the dependencies for using the classes and interfaces described in this section:
SC |
DC |
EP-PSERV |
tc/ep/semantics/api |
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 references:
● com.sap.portal.ivs.api_genericcreator