UiFormulaRule

Represents a set of one or more filters that define the conditions under which a component displays on a Lightning page. This object is available in API version 47.0 and later.

Supported Calls

describeSObjects(), query(), retrieve()

Fields

Field Details
AssociatedElementId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
Represents a parent component that UiFormulaRule is associated with, such as PromptVersion.
This is a relationship field.
Relationship Name
AssociatedElement
Relationship Type
Lookup
Refers To
PromptVersion
BooleanFilter
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Represents the filter logic applied to UiFormulaRule. References the UI formula rule stored by UiFormulaCriterion based on the sortIndex, such as ((1 && 3) || 2).
DeveloperName
Type
string
Properties
Filter, Group, Sort
Description
Represents the API name of the UiFormulaRule.

Only users with View DeveloperName OR View Setup and Configuration permission can view, group, sort, and filter this field.

Note

Formula
Type
textarea
Properties
Nillable
Description
Represents the formula source string of UiFormulaRule.
Language
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
Represents the language of the UiFormulaRule.
MasterLabel
Type
string
Properties
Filter, Group, Sort
Description
Required. Represents the label of the UiFormulaRule.
ParentKeyPrefix
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Represents the three-digit prefix for AssociatedElementId.