function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SazEastSazEast 

Community Builder - Adding an Edit Button on Record Detail Page

I'm using the Build Your Own Template in Community Builder, how do I add a standard or custom Edit button to the Record Detail Page?
Best Answer chosen by SazEast
NagendraNagendra (Salesforce Developers) 
Hi Sarah,

You can make use the force:recordEdit component.

Generates an editable view of the specified Salesforce record.

A force:recordEdit component represents the record edit UI for the specified recordId. This example displays the record edit UI and a button, which when pressed saves the record. You may have to use it in combination with a modal window as I am not sure the component generates the modal on its own or opens in a new window.

Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra