If you click on a field in the canvas, the field configuration will be loaded into the Configuration Panel.
The configuration options that you see in the Configuration Panel depend on the Metadata field that you have selected from the canvas.
In the following sections, we will describe the options available.
The display name for the field.
Name of the field.
Description of the field.
The instance of a description field will be represented by an icon. When you hover over this icon, the description will appear.
This section allows you to select whether the field is editable by other Users.
This section allows you to select whether the field is searchable by other Users in search forms.
This section allows you to select whether the field commentable.
The Form Type applies to most field Types. The Form Types available depend on the Metadata field Type.
The Multiplicity Type applies to most field Types and indicates how many instances of this field Type can exist.
Validation Options allows the you to define how values entered into a field are validated. The following fields apply:
Validation: When this checkbox is selected it implies validation rules are applied. The following fields are also available.
Required: This is the most simple rule and simply states the validation applies and only fields with values entered will be accepted.
Description: This option allows the User to provide a description of the validation rule. This can be presented to a User when they are filling in the form field to ensure that they know what the validation rules are.
Max. Length: This is another simple rule that, if set, enforces a maximum text length for an entry type.
Script: This field allows the User to validate a rule against some script. Please see the API Guide for more information on scripting.
The Script field expects an Expression Script which is used to validate the value of the Metadata field value.
The following Objects are accessible in the scripting context:
- value: The raw value associated with the variable instance.
- variable: The Variable Object.
variableInstance: The Variable Instance Object.
Note: If the Expression Script is badly formatted, the font will turn red.
Class Name: This is an advanced field that allows a developer to specify a class name to be used for the purposes of validating a field entry. Please see the API Guide for more information on class name validation.
This option type allows for the specification of option values for Single-option and Multi-option field Types.
The options panel offers a range of editing features as listed below:
Adding a new Option Value
To add a new Option value, enter the value in the Display Name box and press the green cross button.
Select the default Value
For Multi-option field types you can select more than one default value. For a Single-option type you can select only one.
Deleting an Option Value with a button
Click the Delete icon to remove a row.
Backing Store Values
If you select an Option Type field, then if you select the Backing Store field, the Option Values panel (shown above) is hidden and the Backing Store panel appears.
You can select the backing store Type and Identifier value.
Formatting rules allow the User to control how Number, Date and Time fields are presented to Users. The options above are described below:
- Checkbox: Check this box if you wish to support formatting
- Formatting: For Number, Date and Time field Types, formatting can be provided to control how a number is presented to Users.
- Format Description: An optional field that allows for a User to provide descriptive information about the format rules specified.
Unit Options apply to Numeric field types and allow you to specify Units for a chosen Number field.
If you create a field of Type Object, you will be asked to choose your Object Type from a drop down list of Ooyala Flex Object Types.
Ooyala Flex's metadata framework supports per-field access control. This means that Users can specify which User Groups can view and edit a particular field in a Schema Instance.
If you select the Permissions checkbox then the Permissions panel becomes visible. If you enable Permissions, then no Access is available until you apply Access to individual Groups. To do this, click on Access and then select read or read and write.
The options available are as follows:
- Checkbox: Check this box if you wish to support permissions
- Access: This means that the selected User Group has access to the field
- Read: This means that the selected User Group has read access to the field (cannot edit)
- Edit: This means that the selected User Group has edit access to the field