Show TOC

Background documentationportalapp.xml Locate this document in the navigation structure

 

The following is a sample portalapp.xml for a PCM wizard:

Syntax Syntax

  1. <application>
        <application-config>
            <property name="SharingReference"
                value="com.sap.portal.admin.wizardframework"/>
        <property name="Vendor" value="sap.com"/>
        <property name="SecurityArea" value="NetWeaver.Portal"/>
      </application-config>
      <services>
      </services>
      <components>
        <component name="trainSample">
          <component-config>
            <property name="ClassName" value="pcmWizard"/>
            <property name="LocalModeAllowed" value="true"/>
            <property name="SafetyLevel" value="low_safety"/>
          </component-config>
          <component-profile>
            <property name="isStateless" value="true">
            </property>
          </component-profile>
        </component>
      </components>
    </application>
    
End of the code.
Application Configuration Element

In the <application-config> element, add a SharingReference for the following services:

Service/Component

SharingReference

Wizard Toolkit

com.sap.portal.admin.pcmobjectwizardtoolkit

Syntax Syntax

  1. <application-config>
        <property name="SharingReference"
        value="com.sap.portal.admin.pcmobjectwizardtoolkit" /> 
    </application-config>
    
End of the code.
Components Element

A PCM wizard contains one portal component, the PCM wizard component, which is based on a class that extends AbstractPCMWizard. For more information on creating the editor component's <component> element, see Step 2: Creating a PCM Wizard Component.

Syntax Syntax

  1.   <components>
        <component name="pcmSample">
          <component-config>
            <property name="ClassName" value="pcmWizard"/>
            <property name="SafetyLevel" value="low_safety"/>
          </component-config>
          <component-profile>
            <property name="isStateless" value="true">
            </property>
          </component-profile>
        </component>
      </components>
    
End of the code.