Salesforce Fact #903 | Check Lead coversion access in LWC

How to check if the current user has access to convert lead or view and edit converted leads in LWC. User permission checks to the rescue.

We can use the two user permissions: ConvertLeads and AllowViewEditConvertedLeads to check the same.

Reference: https://www.sfdcamplified.com/challenge-map-between-salesforce-permissionname-and-label/

Attached is the screenshot.



Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow