You need to sign in to do that
Don't have an account?
Meena25
Lightning custom Button
When i click my custom button, a pop up window opens and again i have to click for me to perform the action and once processed, it doesn't get closed.
Two things here:
1)I don't want a pop up window, with only 1 click action should be performed
2)Once done window should be closed automatically
All Answers
What action are you performing in that button click i.e. Calling VF page, URL etc ?
Thanks,
Govindaraj.S
I have built a lightning component. On click of button, it will update a field and refresh the page. Now this click that am doing, i have to it twice as another window opens up and asks me to click again.
I myself resolved this by using init handler attribute in lightning
<aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
This was missing in my lightning component