Start of Content Area

Function documentation Properties of XML Documents  Locate the document in its SAP Library structure

Use

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.

 

Prerequisites

The properties are only displayed in projects that were created in the XML Forms Builder with a version from EP 5.0 SP4.

 

Features

The document properties are displayed on the tab page Data Model.

Note

If the document properties are not displayed immediately, double-click on Properties to expand the node.

 

Displaying Document Properties

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.

Example

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.

 

Creating and Changing Document Properties

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

 

Predefined Properties

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.

Note

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.

See also:

References to the Data Model

Data Types of Document Properties

 

 

End of Content Area