Code segment: editAccount.html

Here we show the code for the Update Account button, which includes a call to the updateAccount() function in our controller:

CodeSegment: editAccountHtml -> updateAccount()

Next is a segment of the updateAccount() function in the controller.

editAccountJs -> updateRecord()

As shown in the code segment our method updateAccount() calls the method updateRecord() which we imported from the lightning/uiRecordApi module.

Update ( U ) the Account Record