function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mikkamikka 

Using two sites...

 Just want to ask, is it possible if I have different set of sites for my users having different profiles?

Lets say for User A, upon logging in the site will display VF page name HomePage_1 as for User B when he logs in the site, the first landing tab will be HomePage_2. The pages to be displayed will depend upon the profile of each user.

 

I would like to elaborate further on this if the above question is unclear.

 

Thanks for those who will response.

krishnagkrishnag

hi,

it is possible you can set the pages based on profiles they login

Pradeep_NavatarPradeep_Navatar

What i understand here is that you want different home pages for the users having different profiles. For this you can use the script given below to get different home pages for the users having different profiles :

 

<script>; var p= ("{!$Profile.Name}" == "Partner Staff"? "/home/home.jsp" : "/name of the apex page";<script>

 

You need to give this script inside home page component and assign that component to home page layout assignment.

 

Hope this helps.