A blog about Salesforce CRM Configuration and development

Saturday, 4 May 2019

Edit Action On Account [Contacts] Related List In Lightning Experience



On the Account page, we have the 'Edit' action on the related Contact list in Salesforce classic user interface as shown in the screenshot below.


But if you see the same in the Lightning experience user interface, the user first needs to click on the 'down' button icon then they can see the 'Edit' action option and from there they can click on 'Edit' action.


In the Lightning user interface, the user needs to do an extra click to do the same as they were doing in a single click in Salesforce classic user interface.

I have solved the issue with a workaround (a field and URL hack) in one of my projects.

Create a formula field on Contact object with return type as Text.

Formula:

HYPERLINK(
"https://[custom domain].my.salesforce.com/" & Id & "/e?retURL=https://[custom domain].lightning.force.com/lightning/r/"
& AccountId & "/related/AccountContactRelations/view?0.source=alohaHeader" ,"Edit")


Add the created field in the Account (Contact Related list) page layout.


Result:




Share:

0 comments:

Post a comment

Trailhead Profile


Follow by Email

Total Pageviews

Followers

Popular Posts

Powered by Blogger.

Contact form

Name

Email *

Message *