You need to sign in to do that
Don't have an account?

How to open a custom lightning modal from detail page using button or link?
Hi All,
My requirement is to open a custom lightning modal from the detail page and do the business logic. Like the following New Contact standard modal using button.

Thanks in advance
My requirement is to open a custom lightning modal from the detail page and do the business logic. Like the following New Contact standard modal using button.
Thanks in advance
1) Create a cusotm action.
2) Select appropriate behaviour.
3) Add fields to action layout.
4) Pre-populate fields by defining them in the quick action.
Hope this help!
Prady01
All Answers
Greetings!
Can you please check the below document for the sample code to open the lightning model from record detailed page:
https://salesforce.stackexchange.com/questions/294762/modal-pop-up-on-standard-lightning-record-detail-page
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Warm Regards,
Shirisha Pathuri
Thanks for the quick reply, but it is saying to create the lightning component and place it to the record detail page and do the stuff.
But my requirement is different. By using a button or link, I Have to open a modal for doing stuff like a standard functionality.
1) Create a cusotm action.
2) Select appropriate behaviour.
3) Add fields to action layout.
4) Pre-populate fields by defining them in the quick action.
Hope this help!
Prady01