ConsentTemplate

Represents a consent template.

Introduced in API version 68.0.

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

  • Preference Center is required. Users with the Manage Preference Center user permission access consent templates.
  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: A description of the consent template. Maximum length is 255 characters.
  • Type: string
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The name of the consent template. Maximum length is 80 characters.
  • Type: boolean

  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update

  • Description:

    Indicates whether the consent template is active.

    The default value is false.

  • Default value: false

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: The master language of the label. Maximum length is 40 characters.
  • Possible values:
    • da — da — Danish
    • de — de — German
    • en_US — en_US — English
    • es — es — Spanish
    • es_MX — es_MX — Spanish (Mexico)
    • fi — fi — Finnish
    • fr — fr — French
    • it — it — Italian
    • ja — ja — Japanese
    • ko — ko — Korean
    • nl_NL — nl_NL — Dutch
    • no — no — Norwegian
    • pt_BR — pt_BR — Portuguese (Brazil)
    • ru — ru — Russian
    • sv — sv — Swedish
    • th — th — Thai
    • zh_CN — zh_CN — Chinese (Simplified)
    • zh_TW — zh_TW — Chinese (Traditional)
  • Type: string
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The label for the consent template. Maximum length is 80 characters.
  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update
  • Description: The type of consent template.
  • Possible values:
    • basic — basic
    • channel — channel
    • data_cloud_subscription — data_cloud_subscription — Subscription
    • detailed — detailed
    • subscription — subscription