1.I have created a custom button which should be accessed by only 1 profile

2.I want restrict access to standard button "new case" button on list view to same profile


As you need to hide a custom button and a standard list button from every profile but one. Unfortunately, salesforce doesn't provide any button level security directly. It provide page layout setting which can help us in this scenario. Follow the steps below you achieve the same :

  1. Create 2 page layouts. Lets say Layout 1 and Layout 2.
  2. Add these 2 button on Layout 1 and remove these 2 button from layout 2
  3. Assign layout 1 to the profile you want to show these buttons to. And Assign layout 2 to rest of the profiles.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.