Skip to content

Class: metadata

Defines a template for email and notification messages sent by Vault.

Notification templates use special pieces of text called tokens. When sending a notification, Vault replaces the token with the values it represents. Learn about Notification Messages in Vault Help.

AttributeMetadataDescription
labelType: String
Required
Max length: 40
UI-friendly string in the Vault's base language.
activeType: Boolean
Required
Indicates whether the component is active.
descriptionType: String
Max length: 255
Additional description of the notification template.
subjectType: String
Required
Max length: 255
Subject of the email sent to the recipient.
notificationType: String
Required
Max length: 1023
The message that appears in Vault's notification page for the recipient.
email_bodyType: String
Required
Max length: 2147483647
Body of the email sent to the notification recipient.
email_preferencesType: String
Max length: 255
The frequency with which Vault sends emails. If omitted or empty, the default value is summary__sys. Learn more about summary emails in Vault Help.
entity_typeType: Enum
Required
Allowed values:
  • document
  • object
  • custom
Indicates whether the message is intended for documents or objects.
notification_categoryType: String
Max length: 255
referenced_componentType: ComponentThe specific Object (when entity_type is object).
OperationSupport
Create
Recreate
Alter
Drop*
Rename
Describe
Generate Recreate
Queryable

Notes:

  • Drop: MDL Operation is supported for custom components but is not supported for system components.