• Jagannath Birajdar 18
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
I am using a Salesforce Lab app named Enhanced Data Grids.  It allows you to build sortable data grids.  Part of the functionality allows you to add actions to the lighting component.  I am struggling to build an edit event for the rows.   I am using e.force:editRecord as the event.  You can select the action type (which I selected Row Button)  Finally, there is a section for Event Payload.  The help syntax for Event Payload indicates:  Payload for this event.  For LIST activation, will automatically replace #parentrecordId# with valid id.  For ROW actions, will automatically replace fieldnames with # at beginning and end with the corresponding values.  example:{"recordId":"#Id#")

I am struggling on the correct syntax to allow the edit page to open for the related row in the list.  

Any help would be greatly appreciated!  thanks!

Fred

 
  • August 13, 2018
  • Like
  • 0