Show TOC

Defining Default Values for the Module Template PropertiesLocate this document in the navigation structure

Use

The properties of a module template, which is based on your application, can be configured in the administration environment. Optionally, you can define default values for certain properties in the portalapp.xml.

  • To set the default icon for a module template, add the com.sap.workspaces.modules.iconURI property to the <component-profile> section, for example:

    <property name="com.sap.workspaces.modules.iconURI" value="images/moduleIcon.png">

  • To make a certain property appear in the module's Settings dialog at runtime, add <property name="moduleSettings" value="true"/> in this property's section, for example:

    <property name="numRows" value="10">
    	<property name="type" value="integer"/>
    	<property name="moduleSettings" value="true"/>
    	<property name="plainDescription" value="Documents per Page"/>
    </property>