**Source URL:** https://limited.veevavault.dev/quality/mdl/component-types/qualityexternalnotificationtemplate

# Qualityexternalnotificationtemplate

**Class:** `metadata`

*This component type is only available in Quality Vaults with QMS enabled*. Defines a *Notification Template*, which determines the recipients and other configuration options for the associated *Quality External Notification*.

Learn more about [Quality External Notifications in Vault Help](https://quality.veevavault.help/en/lr/77672).

| Attribute | Metadata | Description |
| --- | --- | --- |
| `label` | Type: String Max length: 60 | UI-friendly string in the vault’s base language. |
| `active` | Type: Boolean | Indicates whether the component is active. |
| `can_add_or_remove_documents` | Type: Boolean | If `true`, users can add or remove documents from the notification before sending. |
| `can_add_or_remove_participants` | Type: Boolean **Required** | If `true`, users can edit the recipients list for the notification before sending. |
| `document_link_field` | Type: Subcomponent | The text field on the supported object to contain the document package URL. |
| `document_reference_fields` | Type: Subcomponent Multi-value | One or more document reference fields on the supported object. Vault includes all referenced documents in the document package. |
| `download_option` | Type: Enum Allowed values: SOURCE; PDF; BOTH; NONE | Indicates the document rendition type(s) a recipient can download. If set to `NONE`, recipients cannot download the document. |
| `expiry_period` | Type: Number | The number of days the document package URL will remain available. |
| `help_content` | Type: String Max length: 255 | UI-friendly help string. |
| `notification_template` | Type: Component **Required** | The  configured for this Quality External Notification. |
| `object_fields_on_document` | Type: Component Multi-value | The document field referencing the target object. |
| `quality_external_notification` | Type: ComponentReference **Required** | The associated . |
| `recipient` | Type: Subcomponent | Specifies a single Person object reference field to receive notifications. |
| `recipient_option` | Type: Enum Allowed values: COMPLAINT\_CONTACT; PERSON | The *Recipients Option* value for the notification, either COMPLAINT\_CONTACT if your configuration uses the *Complaint Contact* object or PERSON if your configuration uses the *Person* object. |
| `recipient_roles` | Type: String Max length: 255 Multi-value | Specifies one or more application roles to receive notifications. |
| `recipients` | Type: Subcomponent Multi-value | Specifies the Person object reference field(s) to receive notifications. |
| `target_object` | Type: Component **Required** | The object associated with the Quality External Notification. |

### Qualitynotificationcomplaintcontact

| Attribute | Metadata | Description |
| --- | --- | --- |
| `label` | Type: String Max length: 60 | UI-friendly string in the Vault's base language. |
| `active` | Type: Boolean | Indicates whether the component is active. |
| `complaint_contact_type` | Type: Component **Required** | The *Complaint Contact* object type. |

### Qualityextnotificationtemplatedistgroup

| Attribute | Metadata | Description |
| --- | --- | --- |
| `label` | Type: String Max length: 60 | UI-friendly string in the vault’s base language. |
| `active` | Type: Boolean | Indicates whether the component is active. |
| `quality_distribution_group` | Type: SubcomponentReference **Required** | The associated `Qualitydistributiongroup`. |
| `quality_external_notification` | Type: ComponentReference **Required** | The associated . |

### Supported Operations

| Operation | Support |
| --- | --- |
| Create | Yes |
| Recreate | Yes |
| Alter | Yes |
| Drop | Yes |
| Rename | Yes |
| Describe | Yes |
| Generate Recreate | Yes |
| Queryable | Yes |

---

**Previous:** [Qualityexternalnotification](/quality/mdl/component-types/qualityexternalnotification)  
**Next:** [Qualityextractentityconfig](/quality/mdl/component-types/qualityextractentityconfig)