Newer Version Available
Add Lightning Components to Salesforce1
Make your Lightning components available
for Salesforce1 users.
| User Permissions Needed | |
|---|---|
| To create Lightning Component Tabs: | “Customize Application” |
In the component you wish to add, include implements="force:appHostable" in your aura:component tag and save your changes.
1<aura:component implements="force:appHostable">The appHostable interface makes the component available as a custom tab.
Use the Developer Console to create Lightning components.
Include your components in the Salesforce1 navigation menu by following these steps.
-
Create a custom tab for this component.
- From Setup, enter Tabs in the Quick Find box, then select Tabs.
- Click New in the Lightning Component Tabs related list.
- Select the Lightning component to display in the custom tab.
- Enter a label to display on the tab.
- Select the tab style and click Next.
-
When prompted to add the tab to profiles, accept the default and click
Save.
-
Check your output by going to the Salesforce1 mobile browser app. Your new menu
item should appear in the navigation menu.