Newer Version Available

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

lightning:recordHomeTemplate

Implement the lightning:recordHomeTemplate interface to enable your component to be used as a custom Lightning page template for object record pages. This interface has no effect except when used within Lightning Experience.

Components that implement this interface appear in the Custom Templates section of the Lightning App Builder new page wizard for record 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