Authors can select an option from a dropdown box in combo boxes. When authors save an Edit form, the system writes the selected value to the referenced schema element or document property.
Creating a Combo Box with a Reference to a Schema Element
Use Drag&Drop to pull an element from the data model to the Edit form using the secondary mouse button.
Create list entries in the tree view of the control.
The system creates three list entries by default. Use the context menu in the tree view of the control to create, change, or delete list entries.
Select the list entries in the tree view of the control and specify the values in the table below in the properties.
Property |
Description |
---|---|
Caption |
Text displayed in the dropdown list. |
Value |
Value that the system writes to the referenced schema element or document property for the selected list entry. Create a separate value for each list entry of a combo box. |
Creating a Combo Box with a Reference to a Document Property
In KM configuration, create a document property and define the permitted value set.
Choose
.Create a property and enter the permitted values into the Allowed Values parameter.
In the XML Forms Builder, use Drag&Drop to pull an element from the data model to the Edit form using the secondary mouse button.
You do not have to define list entries in the XML Forms Builder. At runtime (when authors open the Edit form) the system reads the permitted values from the configuration and displays them in the dropdown list.
If a combo box references a document property for which no value set is defined in the configuration, you can create list entries in the XML Forms Builder as described above.
If you link a combo box for which list entries already exist to a document property with a value set, the system asks whether you want to delete the list entries. We recommend that you accept this suggestion and delete the list entries from the XML Forms Builder. Otherwise, inconsistencies between the entries in the XML Forms Builder and the value set in the configuration can occur.