Properties of XML Documents
As well as the information saved in the XML file itself, you can use information in the properties of the XML documents in the XML Forms Builder. You can display the values of document properties in forms, and you can change some of them.
The properties are only displayed in projects that were created in the XML Forms Builder with a version from EP 5.0 SP4.
The document properties are displayed on the tab page Data Model.

If the document properties are not displayed immediately, double-click on Properties to expand the node.
To display the value of a property, create a label control with a reference to the property in question on a display form such as a Show form or RenderListItem form.

To display the date and time of creation of a document (such as a news item), you can link the system property created with a label.
You can create or change some document properties in the creation form. Document properties that can be changed are marked with a blue symbol.
You can create input fields, checkboxes, radio buttons, and combo boxes with reference to document properties in a creation form.
The maximum length of property values depends on several factors, such as the repository in which you save the items. The following length restrictions are valid in CM repositories.
Length restrictions for property values of items in a CM repository
Property |
Maximum number of characters |
Description |
1024 |
ContentLanguage |
256 |
Encoding |
32 |
Mime Type |
50 |
Modified by / Created by |
255 |
Document properties that you defined in the configuration of Content Management are available in the XML Forms Builder. You can reference them in your forms.
After creating or changing document properties in the configuration, you have to load them to the XML Forms Builder. Use the secondary mouse button to click on Properties on the Data Model tab, and then choose Reload Properties.
When you create a combo box with a reference to a document property, the system reads the list entries for the combo box from the configuration at runtime. You do not have to create list entries for the combo box in the XML Forms Builder. For more information, see the section Dynamic Combo Boxes in Checkboxes, Radio Buttons, and Combo Boxes.

The validity
of a document property can be restricted to particular folders in the
configuration. If you are using predefined document properties in forms, make
sure that you save the XML documents in a folder in which these document
properties are valid. For more information, see
Predefined
Properties.
Data Types of Document Properties