You need to sign in to do that
Don't have an account?
Rishabh Sharma 52
Open Modal With Lightning Component on click of a standard Button
Hi All,
I have a scenario where i need to override Standard 'New' button on a custom object. On click of the button, a Modal should be displayed. This modal would be a form which will ask user to input some data and then Save the result on click of Save Button.
I already overrode the 'New' button with Lightning Component but instead of pop up, a page is displayed.
Any ideas?
Regards
Rishabh
I have a scenario where i need to override Standard 'New' button on a custom object. On click of the button, a Modal should be displayed. This modal would be a form which will ask user to input some data and then Save the result on click of Save Button.
I already overrode the 'New' button with Lightning Component but instead of pop up, a page is displayed.
Any ideas?
Regards
Rishabh
Open lightning component in a modal on click of a button.May I Suggest you please refer the below link for reference.
- https://salesforce.stackexchange.com/questions/163722/open-lightning-component-in-a-modal-on-click-of-a-button
hope it will be helpful.Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
Thanks
Rahul Kumar
I already tried that but that does not work with my scenario. In the example link you sent, user is trying to open component via another component.
Here, i want to open a pop up instead of page by overriding standard button with lightning component
Have you resolved the issue?