Activity Forums Salesforce® Discussions use lightning component as Tab like custom object

  • use lightning component as Tab like custom object

    Posted by Prachi on September 13, 2018 at 1:36 pm

    Which interface need to implement so that you can use lightning component as Tab like custom object and VF page?

    Parul replied 5 years, 7 months ago 4 Members · 3 Replies
  • 3 Replies
  • shariq

    Member
    September 13, 2018 at 1:41 pm

    Hi,

    force:appHostable Interface is required to implement to use lightning components as tab.

    Hope this helps!

  • Avnish Yadav

    Member
    September 13, 2018 at 1:42 pm

    Hello Prachi,

    We use force:appHostable Interface for lightning component as Tab.

    Thanks.

  • Parul

    Member
    September 13, 2018 at 6:22 pm

    Hi,

    <aura:component implements="force:appHostable"> this is the interface need to implement so that you can use lightning component as Tab like custom object and VF page

    There are three steps to add Lightning components to a Visualforce page.

    Add the <apex:includeLightning /> component to your Visualforce page.
    Reference a Lightning app that declares your component dependencies with $Lightning.use().
    Write a function that creates the component on the visualforce page with $Lightning.createComponent().

     

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos