Loading
Connect in real time with the Trailblazer Community in Slack Open BetaRead More

Missing "Edit in Builder" Layout for Deployed Lightning Email Templates

Publish Date: Sep 29, 2026
Description

When deploying a Lightning Email Template created using Email Template Builder from a Sandbox to a target environment (via Changesets, VS Code, or SFDX CLI):

  • The deployment succeeds without errors.

  • However, in the target org, clicking Edit in Builder renders a blank layout, missing Builder components, or the "Made in Email Template Builder" indicator is disabled/missing.

This behavior is frequently reported on the Salesforce Idea Exchange (e.g., Idea: Ability to Edit in Builder LEX templates which are deployed) as an apparent platform limitation or bug.

Resolution

A Lightning Email Template created with Email Template Builder consists of two dependent metadata components:

  1. EmailTemplate: Stores standard email metadata, HTML body structure, and template attributes.

  2. FlexiPage (EmailTemplatePage or EmailContentPage): Stores the graphical Builder layout, drag-and-drop rows, images, and component positioning.

If only the EmailTemplate entity is included in the deployment package, the underlying template deploys, but the visual template definition managed by the Builder remains in the source environment.

Deploy both the EmailTemplate and its accompanying FlexiPage together in the same deployment payload.

Method 1: Using Outbound Change Sets

  1. In the source organization, go to Setup > Outbound Change Sets and open your change set.

  2. Click Add under Component Type:

    • Select Email Template $\rightarrow$ Add your target template.

    • Select Lightning Page (FlexiPage) $\rightarrow$ Add the corresponding FlexiPage associated with your template (it typically shares the same or similar name as the email template).

  3. Upload and deploy the Change Set to the target org.

Method 2: Using VS Code / SFDX CLI (package.xml)

Ensure your deployment manifest explicitly includes both metadata types:

Knowledge Article Number

005460619

 
Loading
Salesforce Help | Article