UiFormulaRule

Represents a set of one or more filters that define the conditions under which a component displays on a Lightning page.

Introduced in API version 39.0.

describeSObjects(), query(), retrieve()

  • 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: polymorphic

  • Refers to: ComponentInstance, ComponentInstancePropertyListItem, FlexipageFieldInstance, PromptVersion, UiAppFeatureActivationCrit, UiFormatSpecification

  • 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).
  • 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.

  • Type: textarea
  • Properties: Nillable
  • Description: Represents the formula source string of UiFormulaRule.
  • Type: picklist
  • Properties: Filter, Group, Nillable, Restricted picklist, Sort
  • Description: Represents the language of the UiFormulaRule.
  • Type: string
  • Properties: Filter, Group, Sort
  • Description: Required. Represents the label of the UiFormulaRule.
  • Type: string
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 47.0
  • Description: Represents the three-digit prefix for AssociatedElementId.