There are two lightning pages A & B. I want to display the lightning page based on the permission set but all the users belong to the same profile. How can I achieve this?

Account object -> Lightning page A, Lightning page B

Profile - Demo profile

Permission sets : C & D

Now users with in demo profile with permission set C should see Page A. Users with demo profile with permission sets C & D should see Page B

1 Answer 1


Page Layouts are determined by Record Type and Profile, not Permission Set. you'd have to use separate profiles to enable this, even if they are just clones with different page layout assignments.

  • Ohkay. That makes sense. So, what I am trying to achieve here is to hide a tab on a page. This tab has to be hidden if the user does not have a specific permission set. Instead of doing that, I though of creating two-page layouts and displays based on the permission set. But can we hide a tab, based on permission set? May 16, 2023 at 4:40
  • @JasonCastle Permissions add permission, not remove it. The solution would be to create a Custom Permission, add that Custom Permission to a Permission Set, then use the Lightning App Builder to build the app in a way where you check for this custom permission.
    – sfdcfox
    May 16, 2023 at 13:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .