Override Field Properties

The Layout's Fields tab lists all the fields in the data source that can be used in the Layout's rule sets. In the Fields tab, you can view properties of the fields, and override the values of some of the properties.

When you modify the property value of a field in the Field's tab, the new value is applied every place that field is used in the Layout. For example, if you set a field's Read Only property to True, the field will be Read Only in every rule set where the field is used. You can see a field's properties in the Properties pane when you select the field. The field's properties are defined in the data source's service definition.

Note:

You can't create or modify the fields in your Oracle Cloud Application, or the service definition used by a Layout, but you can override some field properties, such as "Read Only" and "Required". So if a field's Required property is set to False in the service definition, you can override the property to make it more strict and set it to True. This won't change the description in the service definition, where the property will still be set to False. However, you can't override a property to make it less strict, meaning you can't set a Required property to False if it is already set to True in the service definition.

To override field properties based on conditions, such as a user's role, or the screen size of the user's device, you can override field properties at the object level using business rules and override field properties in a component using rule sets.

Depending on the field, you might be able to modify the following field properties in the Fields tab.

To override... You can...
Required

Set the property to True, False or to an expression. For details, see Set a Field as Required.

Read Only

Set the property to True, False or to an expression. For details, see Set a Field to be Read Only.

Default Value

Enter a value or expression in the Default Value field.

Validator

Specify and configure an existing or custom validator for the field. For details, see Add Converters and Validators to a Field.

Converter

Specify and configure an existing or custom converter for the field. For details, see Add Converters and Validators to a Field.

Label Hint

In the Label Hint field, enter the value you want displayed in the page as the field's label.

Format

In the Format dropdown list, select how you want the field's value rendered in the page. For example, to obfuscate the value of a string, you might choose the 'password' format.

In addition to modifying the properties of fields defined in the service definition, you can also create virtual fields that can be used in the Layout's rule sets. See Create Fields For a Layout.