Newer Version Available

This content describes an older version of this product. View Latest

lightning:appHomeTemplate

Implement the lightning:appHomeTemplate interface to enable your component to be used as a custom Lightning page template for pages of type App Page. This interface has no effect except when used within Lightning Experience and the Salesforce app.

Components that implement this interface appear in the Custom Templates section of the Lightning App Builder new page wizard for app pages.

Each template component should implement only one template interface. Template components shouldn’t implement any other type of interface, such as flexipage:availableForAllPageTypes or force:hasRecordId. A template component can’t multi-task as a regular Lightning component. It’s either a template, or it’s not.

Important