Download as PDF

Configuration

<properties>

The element “properties” can contain the following child elements.

Element Description Namespace Number
property Parent element for defining the configurations http://onion.net/genericforms 1..*
<o:properties xmlns:o="http://onion.net/genericforms" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:onion="http://onionworks.net/2004/data">
<o:property name="headline" dataType="xs:string" mode="Server" localizable="true" defaultValue="headline" type="user" />
</o:properties>
Example-XML properties

 <property>

The property element can contain the following attributes:

Attribute Description Optional
name Indicates the name of the feature. No
dataType Indicates the XMLSchema data type of the feature. Yes
mode

Indicates whether the feature is available in the client component, server component or in both modes. The following values are available for this:

  • Server
  • Client
  • ClientServer 
No
localizable Indicates whether the feature can be localized. Yes
defaultValue Indicates the default value of the feature. Yes
type

Indicates the type of the feature. Features can be user-related or system-related. The following values are for definition:

  • user
  • system
Yes
<o:property name="headline" dataType="xs:string" mode="Server" localizable="true" defaultValue="headline" type="user" />