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
Lakshmi SLakshmi S 

Nooverride=1 for Edit button in Lightning is not working

Hi Team,

I want to override a Standard Edit button with Aura component for one profile and the remaining profiles need to redirect to the Standard Edit button. How to achieve this in Lightning?
Thanks in advance....

Naveen KNNaveen KN
My inputs:
Create a formula field to get the logged in user profile name
Standard Edit button > leave it as it is, activate dynamic actions in the lightning app builder, and add visiblity filter with the formula field created 
Custom Edit button > link to your component and implement as per your requirement, and add different condition in the visibility filter for this button 

not sure if it is the best solution. Guys, please add your inputs here. Thanks.