Different Home page based on the Logged in ROLE

  • 1
  • Question
  • Updated 3 years ago
  • Answered
Hi, I want to have VF page for Manager Role and SKUID page for Sales Rep Role of Same PROFIES. Could somebody help in suggesting a way for the same?
Thanks
Photo of ntony

ntony

  • 120 Points 100 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Currently page assignments cannot be done on the basis of Role. 

But what you can do is create a skuid page that uses conditional rendering to show the right pieces to the right roles. Add a "current user" model to the page, and then add both the Sales Rep Content and the VF page content (as an iFrame in a template component).  Each of these components should have conditional rendering that shows the right pieces to the right parties. 

Should work well... 
Photo of ntony

ntony

  • 120 Points 100 badge 2x thumb
Thank you for the reply Rob. We had tried to implement the same way but using VF and Home Page component.