Show TOC

Procedure documentationCreating Combo Boxes Locate this document in the navigation structure

 

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.

Procedure

Creating a Combo Box with a Reference to a Schema Element
  1. Use Drag&Drop to pull an element from the data model to the Edit form using the secondary mouse button.

  2. 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.

  3. Select the list entries in the tree view of the control and specify the values in the table below in the properties.

Important Properties of List Entries in a Combo Box

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
  1. In KM configuration, create a document property and define the permitted value set.

    1. Choose   System Administration   System Configuration   Content Management   Global Services   Property Metadata   Properties  .

    2. Create a property and enter the permitted values into the Allowed Values parameter.

  2. 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.

    Recommendation Recommendation

    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.

    End of the recommendation.