Lock an email template
Enable content locking
You can enable content locking for an email template directly in the Email Designer, whether you are creating a new template or editing an existing one.
-
Open or create an email template and access the content editing screen in the Email Designer.
-
In the Body pane on the right, enable the Governance option.
-
From the Mode drop-down list, select the desired locking mode for the template:
- Content locking: Lock specific sections of content within the template. By default, all structures and components become editable. You can then selectively lock individual elements.
- Read only: Lock the entire content of the template, preventing any modifications.
-
If you selected the Content locking mode, you can further define how users can interact with the template. Enable the Enable content edition option and choose one of the following:
-
Allow structure & content addition: Users can add structures between existing ones and add content components or fragments within editable structures.
-
Allow content addition only: Users can add content components or fragments within editable structures but cannot add or duplicate structures.
-
-
After selecting the locking mode, you can define which structures and/or components to lock if you selected the Content locking mode:
If you chose the Read only mode, you can proceed with finalizing and saving your template.
You can adjust the Governance settings at any time when designing your template by selecting the template body. To do so, click the Body link in the navigation rail located at the top of the right hand-side pane.
Lock structures
To lock a structure within your template:
-
Select the structure you want to lock.
-
In the Lock type drop-down list, choose Locked.
NOTE
By default, users cannot delete locked structures. You can override this restriction by enabling the Allow delete option.
After locking a structure, no further content components or fragments can be duplicated or added inside it. All components within a locked structure are also locked by default. To make a component editable within a locked structure:
-
Select the component you want to unlock.
-
Enable the Use specific locking option.
-
In the Lock type drop-down list, choose Editable. To allow content editing while locking styles, select Editable content only. Learn how to lock components
Lock components
To lock a specific component within a structure:
-
Select the component and enable the Use specific locking option in the right pane.
-
From the Lock type drop-down list, select your preferred locking option:
- Editable content lock only: Lock the component’s styles but allows content editing.
- Locked: Fully lock both the content and styles of the component.
NOTE
The Editable lock type allows users to edit a component, even within a locked structure. Learn how to lock structures -
By default, users cannot delete locked components. You can enable deletion by activating the Allow delete option.