+ Start a Discussion

How can I add lightning component in Custom button on Account record detail Page

I am using vf page and call lightning component from VF Page but not able to see vf page while creating custom button on Account Detail Page..
Raj VakatiRaj Vakati
Make sure your vf page is using the standard controller

Some think like this
<apex:page standardController="Account">
    <apex:includeLightning />

    <div id="lightning" />

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