Page Composer Field Property Descriptions
Field properties are available for update when you click the pencil icon for a field.
Table 1-7 Field Properties
Property | Description |
---|---|
Required |
Select YES to set the field as mandatory. When saving updated, an error appears if the field is NULL. An asterisk appears to indicate the field is mandatory Select NO to set the field as non-mandatory. |
Displayed |
Select YES to show the field / link in the panel. Select NO to remove the field / link in the panel. |
Read Only |
Select YES to prevent the field value from being edited. Select NO to enable the field value to be edited. |
Tooltip |
Enter a tooltip for the field. When a tooltip is added for
a field, a Note: Symbol # is not supported for tooltip. |
Label |
Enter the name of the label that appears for the field.
Note: Symbol # is not supported for label text. |
Charactercase |
Enables you to enforce uppercase, lowercase, or mixed use characters for the input text in a field. |
Default Value |
Defines the default value for new records. Note: Symbol # is not supported for default value. |
Background Color |
Sets the background color for the field. Click the small box to launch a color picker and select a color from the chart; a hex value can also be entered. |
Label Color |
Sets the color for the field label. Click the small box to launch a color picker and select a color from the chart; a hex value can also be entered. |
Text Color |
Sets the text color for the field. Click the small box to launch a color picker and select a color from the chart; a hex value can also be entered. |
Refresh |
Select YES to immediately trigger the validation of a value entered by the user (typically set to YES). |
For information on HEX Color Picker, refer to this site: https://www.w3schools.com/colors/colors_picker.asp
In additional to YES and NO for field properties, Custom properties are also available. Refer to Adding Custom Business Logic using Expression Language for more information.
Flex Fields
Flex fields are user-definable fields that you can add to a panel. You can select either text, number, or date for a flex field.
Table 1-8 Flex Fields
Record | Character | Date | Number |
---|---|---|---|
Profile |
UDFC1-40 |
UDFD1-20 |
UDFN1-20 |
Block |
UDFC1-40 |
UDFD1-20 |
UDFN1-20 |
Reservation |
UDFC1-40 |
UDFD1-20 |
UDFN1-20 |
In addition to the above field properties, Flex fields have the following additional properties:
Table 1-9 Flex Field Properties
Property | Description |
---|---|
Value |
Select the UDF flex field to store the value input by the user. For example, if you create a text field on the Reservation screen using the value UDFC10 and make it a required field, then you can also create a text field on the Check-in page referencing the same field value (UDFC10) and set properties as read-only = YES. The information entered into the field on the Reservation page appears as a read-only field on the Check-in page. |
Field Length |
Determines the size of the field on the form. It does not dictate the number of characters the field accepts. |
Enable LOV |
Determines if a list of values appears for the field; select YES to enable a list of values. |
Allow Multi-select |
This option determines if a user can select more than one value in the list; select YES to enable multiple values to be selected from the list. (Available when Enable LOV = YES). |
LOV Group |
Select the LOV group to use for the list. (Available when Enable LOV = YES). |
User Defined Links (UDL)
-
Static URL — A static URL launches a web page where the URL is always the same value.
-
Dynamic URL — A dynamic URL is variable based on values from fields referenced in the link.
A dynamic URL can be used to launch an external website or web application and pass values from the OPERA Cloud record in the URL parameters. An example use case would be an external loyalty system or external gift voucher tracking system developed in Oracle Apex or other web database solution.
For example, you could configure the following dynamic link to append the guest’s membership number in the URL:
https://myreward.com/#{bindings.MembershipId.inputValue}
The following properties are only available for UDL fields (URL Links):
Table 1-10 UDL Properties
Property | Description |
---|---|
Text |
Enter the text that appears for the hyperlink. |
Destination |
Enter the URL (web address). |
Append Parameter |
The option to attach additional values to a URL that can be parsed on demand, provided the web page is set up to handle the code. The available parameters depend on the screen being customized. Enter the website URL followed by a trailing slash (/), and then select the parameters to append. |
Disabled |
|
Displayed |
|
Launch URL in New Tab |
|
Automatic Page Refresh | This checkbox is added and enabled by default, it enforces a refresh for OPERA Cloud screen when the new tab or modal window is closed. |
Validator
OPERA Cloud provides a number of internal validations, primarily for tax ID fields for specific countries. To add a validator, click Add Validator, click Predefined Validator, and then select the required validation function from the list of values. Click Save to close.
To remove a predefined validator for a field, click the vertical ellipsis and select Remove.
A Regular Expression can also be used for pattern matching of string values. To add a Regex Validator, click Add Validator, click Regex Validator, and then enter the Regex expression into the field. Select Save to close.
For more information on Regular Expression pattern matching, refer to this site: https://regexr.com/
Related Topics
Parent topic: About Page Composer