EnhancedLightningGrid icon indicating copy to clipboard operation
EnhancedLightningGrid copied to clipboard

Creating New buttons for Custom Actions

Open mrsmay opened this issue 6 years ago • 3 comments

How to configured new actions for that component to place it as buttons? I want to call some VF pages that I have created. And open a component. Could someone help?

Thanks

mrsmay avatar Jun 12 '18 22:06 mrsmay

Instructions are available on page 18 of the user guide

dylangold avatar Jun 13 '18 20:06 dylangold

Ey!

Thanks so much. Actually I am having quite problems as the buttons I need to place there are custom buttons that calls a visualforce page. And that's what I cannot achieve.

Additionally, I am trying with the e.force:createRecord and it works ok. but with Edit I am doing something wrong but I do not know what.

May you give me a hand?

image

Thanks a lot

mrsmay avatar Jul 23 '18 17:07 mrsmay

This is an old comment, but in case this helps anyone.

For editing you want to use the event "e.force:editRecord" (not "c.force:editRecord"

And the payload should be: {"recordId" : "#Id#"}

justinclarke-sc avatar May 17 '20 12:05 justinclarke-sc