0

I want to use the same page layout for multiple profiles. There is 1 profile where I would like to show an additional tab, so tab 1 = details, tab 2 is only visible if profile = "x"

is there anyway to accomplish this?. tab 1 is details, tab 2 consists of a lightning component.

inside page layout editor,

https://i.stack.imgur.com/pBhtf.jpg

1
  • Were you able to get some poc component or start development absed on my below answer?
    – glls
    Apr 2, 2018 at 13:54

1 Answer 1

1

You should be able to achieve this functionality by creating a custom lightning component.

You might want to look into the lightning:tabset component, when you initialize your component, you will want to check the current users profile in your Apex class using the UserInfo Class to determine the Profile.

Based on the profile, you should be able to control what tabs are create/displayed in your component markup.

If you are unsure on how to proceed, I would suggest you check Lightning Components Basics.

You must log in to answer this question.

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