portalapp.xml
The following is a sample portalapp.xml for a PCM wizard:
<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>
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 |
<application-config>
<property name= "SharingReference"
value= "com.sap.portal.admin.pcmobjectwizardtoolkit" />
</application-config>
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 .
<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>