+ Start a Discussion

Include Standard Lightning Component in Visualforce Page

Can anybody please let me know if there's a way to include Standard lightning component in a visualforce page?

Simply what I'm trying is to have lightning lookup component in a Visualforce page(which uses SLDS) since we need 'Create New' function to be there in lookup window(popup). Enabling 'Quick Action' won't help as it's by passing validation as well as can't add/ remove fields from the layout.

Thank in advance
Raj VakatiRaj Vakati
Refer this link 



Step 1 :  Creating an App with Lightning Dependency App
<aura:application access="GLOBAL" extends="ltng:outApp"> 
    <aura:dependency resource="ui:button"/>
Step 2 : Creating a Component on a Page

    <apex:includeLightning />

    <div id="lightning" />

        $Lightning.use("c:lcvfTest", function() {
          { label : "Press Me!" },
          function(cmp) {
            // do some stuff

Hi Raj,

Thanks for the links.

Here they are talking about creatig custom components and adding them in Visualforce Page. I just want to know about adding standard component into a Visualforce page.

Because if we are going to develop it from the scratch we will have to do opening popup, filtering results on key press, handle Create New function, associating back the lookup to parent window, etc.

I want to know if there's easy way to do this as Salesforce is always making developer's life easier and development faster.