List fields
A list field allows users to choose one or more values from a list. You can create your own list values, or for Text fields you can specify list values using Categories. You can create list fields for Text fields (single line only), number fields and date fields.
Procedure
- Access the Content Manager Explorer website.
- Navigate to the Folder that contains the Schema to which you want to add a list field, and open it.
- Do one of the following:
- To add a list field as a regular Schema field, select the Design tab.
- To add a list field as a regular Schema metadata field, select the Metadata Design tab.
- Fill in the following fields:
Option Description XML Name The XML name of the field. The XML name can only contain letters without accents (A-Z, a-z), digits (0-9), underscores "_" and/or hyphens "-". The first character of the XML name must be a letter or an underscore character. Description The description of the field. This description is used as a label in the Component. Type One of Text field, Number field or Date field - Select the check box Values can be selected from a list and do one of the following:
- to create a list using your own values, go to step 6.
- to create a list using a Category, go to step 7.
- To add a value, click the Add button. In the popup, add a value that corresponds with the field type you selected, and click OK. Repeat for each value that you want to add.
- To add values from a predefined Category, select the Category check box, choose a Category from the drop-down list.
Note: In a BluePrint, you cannot localize list values. Select a Category with related Keywords if you want these values to be localized in a Child Publication since Categories and Keywords can be localized.
- Select a List type from the following:
- Drop-down list
-
Users pick a single value from a drop-down list.
- Select box
-
If you do not select Allow multiple values with this choice, users pick a single value from a select box (also called a list box). Use the Height setting to specify how many items appear in the drop-down list without scrolling.
Alternatively, if you do select Allow multiple values with this choice, users pick one or more values in a list builder. Use the Height setting to specify how many items appear in the two lists without scrolling.
- Radio buttons
-
Users pick a single value by selecting one of several radio buttons. Set Radio buttons per line to the number of values that should appear per row.
- Check boxes
-
Users pick one or more values by selecting one or more check boxes. Set Boxes per line to the number of values that should appear per row.
- Tree
-
If you do not select Allow multiple values with this choice, users pick a single value from a tree.
Alternatively, if you do select Allow multiple values with this choice, users pick one or more values from the tree.
- If you do not want this field to be mandatory, clear the Mandatory check-box.
Note: This field is always mandatory if the type is radio buttons.
- If you want a default selection for this field, select a default value from the Default value drop-down field.