**Source URL:** https://general.veevavault.dev/mdl/component-types/notificationtemplate.md

# Notificationtemplate

**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 <a href="https://platform.veevavault.help/en/lr/2157" target="_blank">Notification Messages in Vault Help</a>.

| Attribute | Metadata | Description |
| --- | --- | --- |
| label | Type: StringRequiredMax length: 40 | UI-friendly string in the Vault's base language. |
| active | Type: BooleanRequired | Indicates whether the component is active. |
| description | Type: StringMax length: 255 | Additional description of the notification template. |
| subject | Type: StringRequiredMax length: 255 | Subject of the email sent to the recipient. |
| notification | Type: StringRequiredMax length: 1023 | The message that appears in Vault's notification page for the recipient. |
| email_body | Type: StringRequiredMax length: 2147483647 | Body of the email sent to the notification recipient. |
| email_preferences | Type: StringMax 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_type | Type: EnumRequiredAllowed values:documentobjectcustom | Indicates whether the message is intended for documents or objects. |
| notification_category | Type: StringMax length: 255 |  |
| referenced_component | Type: Component | The specific Object (when entity_type is object). |

### Supported Operations {#supported-operations}

| Operation | Support |
| --- | --- |
| Create | Yes |
| Recreate | Yes |
| Alter | Yes |
| Drop | Yes* |
| Rename | Yes |
| Describe | Yes |
| Generate Recreate | Yes |
| Queryable | No |
**Notes:**

<ul style="padding-left:1.5em;margin-top:0.5rem"><li>**Drop:** <span>MDL Operation is supported for custom components but is not supported for system components.</span></li></ul>


---

**Previous:** [Mobiletab](/mdl/component-types/mobiletab)  
**Next:** [Object](/mdl/component-types/object)