You need to sign in to do that
Don't have an account?
andrew taylor 3
Can't See Lightning Component for New Tab
I'm following the documtation found at https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/aura_add_cmp_salesforce1.htm , but even with the 'implements="force:appHostable"' set in my aura:component, the Lightning Component isn't available when I try to add a new Lightning Tab.
Any insight?
Ideally your component should be available when you try to create a Lightning tab..can you share your org ID where you have created this component.Also, grant login access :https://help.salesforce.com/apex/HTViewSolution?id=000003910&language=en_US
I do not see the "Lightning Component" tab related list in the Create tabs section the Developer Org. Please advise.
Thanks,
Amitanshu
Thanks!
Can you please share where you found it, as I dont see this related list either.
Only see 'Lightning Page Tabs', my component implements "force:appHostable" and doesn't show up to be selected when clicking the New button.
I am currently following the Lightning Components trailhead tutorials.
Thanks in advance,
Rick
I am not able to create Lightning component tab in Custom tab?
Can you attach snapshot of how to how to enable ?
Build | Develop | Lightning Components to 'Enable Lightning Components in Salesforce1 (BETA)' in my developer org.
I followed your above steps ,but I am not getting 'Enable lightning components in salesforce' option when i naviagted to the path you have given
Seems the older orgs do not have "Lightning Component Tabs".
And Created vf tab for this.
Here was the root cause - You need to create a new Dev org and try it out - : http://bit.ly/lightningcomponents.
Seems the older orgs do not have "Lightning Component Tabs".
Regards,
Ashish
I am not sure if you have gotten the answer for your query, but for "Lightening Component Tabs" to become visible you need to create a
custom Salesforce domain name for your organization. Below link (https://developer.salesforce.com/trailhead/project/quickstart-lightning-components/quickstart-lightning-components1" target="_blank) would help you in creating a new custom Salesforce domain:
https://developer.salesforce.com/trailhead/project/quickstart-lightning-components/quickstart-lightning-components1
Note: Please create a new org to be on a safer side... :)
Once you create a custom Salesforce domain the "Lightening Component Tabs" will be visible under "Setup >> Build >> Create >> Tabs"
A glimpse of org before creation of custom Salesforce domain:
A glimpse of org after creation of custom Salesforce domain:
Please let me know if this resolves your issue. Thanks for reading.
You can't access the Lightning Component tab outside of Salesforce1. For example, you can't access the Lightning Component tab from the full Salesforce site.
Once you create lightning Component tab go to salesforce1 navigation menu and add your component to selected list.
go to --> Administer | Mobile Administration | Manage the mobile navigation menu | Navigation Menu Items and then add available components to selected.
You need create a domain and after activate you can create custom tab for lightning component.
https://help.salesforce.com/articleView?err=1&id=dev_tabdef.htm&siteLang=en_US&type=0
regards,
Thanks, @Shekhar P V Palwankar for solution
Setup > User > Click on the Users name > Hoover over and click on the "Permission Set Assignment" related list > Edit Assignments > Choose "Lightening Experience" from the Available Permissions Sets field > Save
Hope this helps.
In the components you wish to include in Lightning Experience, add implements="force:appHostable" in the aura:component tag and save your changes.
I Hope this will helps.
Thanks
Thanks alot your idea is working fine
include 'implements etc within the aura component tags e.g
<aura:component implements="force:appHostable,flexipage:availableForRecordHome,force:hasRecordId" access="global">
myFirstComponent
</aura:component>
Once this is pushed to the org via the CLI i.e 'SFDX: Deploy This Source to Org' , then the component is visible as 'c-myFirstComponent' in the picklist as you create the Lightning Tab.
I think Trailhead forgot to include this step?
Change is exposed to True: <isExposed>true</isExposed>
Add <target>lightning__Tab</target>
Open Tab from setup and under Lightning Component Tabs press New and select your LWC component.