BriefcaseRule

Represents a rule that specifies records for a briefcase definition.

Introduced in API version 50.0.

  • This object is read-only.

describeSObjects(), query(), retrieve()

  • Type: reference

  • Properties: Filter, Group, Sort

  • Description:

    Required. ID of the briefcase definition. Label is Briefcase Definition ID.

    This field is a relationship field.

  • Relationship name: Briefcase

  • Relationship type: masterdetail

  • Refers to: BriefcaseDefinition

  • Type: string
  • Properties: Filter, Group, Nillable, Sort
  • Description: The filter logic for record selection, for example, 1 AND 2 where 1 and 2 correspond to filter 1 and filter 2. Filter logic operators include AND and OR. Limited to 255 characters. Label is Filter Logic.
  • Type: boolean
  • Properties: Defaulted on create, Filter, Group, Sort
  • Description: Required. Indicates whether the records should be sorted in ascending order. Label is Ascending.
  • Type: reference

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 66.0

  • Relationship name: ListView

  • Relationship type: relationship

  • Refers to: ListView

  • Type: boolean
  • Properties: Filter
  • Description: Indicates whether the briefcase rule is part of a hierarchical set of rules that configure the offline priming of file attachments. Available only for the Offline App (Salesforce Mobile App Plus).
  • Type: picklist
  • Properties: Nillable, Restricted picklist
  • Description: The field to order the records by, which determines how the records can be sorted. For example, AccountName or CreatedBy. Label is Order By.
  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 52.0
  • Description: The ID of the parent rule of this briefcase rule. This field is a relationship field.
  • Relationship name: ParentRule
  • Relationship type: relationship
  • Refers to: BriefcaseRule
  • Type: picklist

  • Properties: Filter, Group, Restricted picklist, Sort

  • Description:

    Required. A group of records to restrict the scope of this rule.

    The default value is everything (All Records). The value assignedToMe is available only for the ServiceAppointment object.

  • Possible values:

    • assignedToMe — assignedToMe
    • everything — everything
    • mine — mine
  • Type: int
  • Properties: Filter, Group, Nillable, Sort
  • Description: The record limit for the object. The recommended number for record limit is up to 500 records per object for optimal performance. The maximum number is 2000. Label is Limit.
  • Type: int
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 64.0
  • Type: picklist
  • Properties: Nillable, Restricted picklist
  • Introduced: API version 52.0
  • Description: The Salesforce object field that relates the briefcase rule to another briefcase rule. For example, an Account rule can be related to a Contact rule using the Account ID object field. In this example, the value for the briefcase rule’s RelationshipField is AccountID.
  • Type: picklist
  • Properties: Filter, Group, Nillable, Restricted picklist, Sort
  • Introduced: API version 52.0
  • Description: The relationship of the briefcase rule to another briefcase rule.
  • Possible values:
    • ParentToChild — ParentToChild
    • ChildToParent — ChildToParent
  • Type: picklist
  • Properties: Filter, Group, Restricted picklist, Sort
  • Description: The standard object, custom object, or custom metadata type that the briefcase rule selects records from. The UI label is Target Object.