Using Document Properties in XML Forms
Use
Each XML document has document properties such as the date when it was last changed. You can display the values of these properties in RenderListItem and Show forms. You can also save values in changeable properties that authors can enter in Edit forms.
There are changeable and write-protected document properties.
-
Changeable document properties are indicated by a blue symbol. You can create input fields and selection controls with a reference to these document properties in order to set or change property values in the Edit form.
-
Write-protected document properties are indicated by a black symbol. You can only create label or image controls with reference to these document properties, allowing you to display the property values on display or list forms.
|
Property |
Maximum number of characters |
|---|---|
|
Description |
1024 |
|
ContentLanguage |
256 |
|
Encoding |
32 |
|
Mime Typ |
50 |
|
Created By/Changed By |
255 |
Procedure
In the XML Forms Builder, document properties are displayed on the Data Model tab page.
-
Optional: Model properties in the KM configuration.
Document properties that you modeled in the KM configuration are available in the XML Forms Builder.
-
Display document properties in RenderListItem or Show Iforms.
For example, to display the date and time when a news item was created, create a label control with a reference to the Created On system property.
-
Save the content of the Edit form in the document properties.
Changeable document properties are indicated by a blue symbol.
Create input fields and selection controls with references to changeable document properties on the Edit form.