You try to create a rule for an extension field that depends of other field to be Mandatory/Visible/Read Only or not.
SAP Cloud for Customer
Reproducing the Issue
- Click on Adapt
- Select Edit Mater Layout
- Find the respective field
- Select Change Properties of the field
- Click on Rule
Once you are using a rule for set this field as Mandatory/Visible/Read Only or not, is not necessary check the box of Mandatory/Visible/Read Only option.
You can use the condition below for example and uncheck the Mandatory/Visible/Read Only option for the field.
IF logical_expression, value_if_true, value_if_false)
IF(Root.CountryCode == 'US', false, true)
KBA , extension field , rule , AP-RC-UIF , C4C UI Framework , How To