Available For Record Home
The flexipage:availableForRecordHome interface enables a component to be used on a record home page via the Lightning App Builder.
For Use In
Lightning Experience, Salesforce Mobile App
To make your component available for record pages only, implement the flexipage:availableForRecordHome interface.
If your component is designed for record pages and any other type of page, use the flexipage:availableForAllPageTypes interface instead.
Here’s an example of a component that can be used on a record page
1<aura:component implements="flexipage:availableForRecordHome" access="global">
2 <aura:attribute name="greeting" type="String" default="Hello" access="global" />
3 <aura:attribute name="subject" type="String" default="World" access="global" />
4
5 <div style="box">
6 <span class="greeting">{!v.greeting}</span>, {!v.subject}!
7 </div>
8</aura:component>For more information, see the Lightning Aura Components Developer Guide.
