Lightning page templates are Lightning components that have been configured to serve as
templates for custom Lightning pages. Page templates can support different form factors, such as
desktop or phone. When you create a Lightning page in the Lightning App Builder, you can select a
page template that matches the device you’re designing the page for.
Required Editions
Lightning App Builder available in: both Salesforce Classic and Lightning
Experience
Lightning Home and utility bar pages available in: Lightning Experience
Lightning app and record pages available in: both the Salesforce mobile app and
Lightning Experience
Email application pane pages available in: both Salesforce Classic and
Lightning Experience
Available in: Group, Essentials, Professional,
Enterprise, Performance, Unlimited, and Developer
Editions
Home page templates are desktop-only. Standard app page templates support both desktop and
phone. Standard record page templates support both desktop and phone, except the pinned region
templates, which are desktop only. If a form factor isn’t on the options list when you try to
assign a Lightning page, then the page template doesn’t support it.
When working on a page in the Lightning App Builder, you can use the form factor switcher to
preview what the page looks like on different devices that the template supports.
Custom Lightning page template components are supported for record pages, app pages, and Home
pages. You can create custom page templates only in Aura. See Create a Custom Lightning Page Template
Component in the Lightning Aura Components Developer Guide.
When switching your Lightning record pages to a different template, keep these considerations
in mind.
You can’t switch to a template that supports a smaller scope of devices than the original
template. For example, if you have a page using a template that supports both desktop and
phone, you can’t switch the page to use a template that supports only phone or only desktop.
When you choose to switch, the list of available templates reflects this rule and shows only
the templates that you can switch to.
If you switch to a page template that doesn’t support the form factor of a component on your
page, that component is dropped from the page at run time.
You can’t switch from a non-pinned region template to a pinned region
template.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.