how set default homepage for select users depends upon rules

rakhi1234
Kilo Contributor

i have created one homepage i want to set as a default for   user has speccific role...can i use fix script..kindly suppest me

8 REPLIES 8

The script example I provided would be used in a Fix Script.


Hi pratrick ,


I have small questtion



isome roles like "rk","rka","rok",this are three role user who has three role dy default to set the homepage,actually is it possible...here user manually select the another home page wheneve he loggeed in again he has to see the default home page...kindly suggest that one


Sounds like you want to always have the user see a specific homepage when they log in, regardless of what they previously selected.



You could accomplish that by using a Business Rule on the User Preferences table to re-set their homepage preference when it is changed. The reason this would work has to do with how User Preferences are saved per-session. When you log in, your session essentially takes a snapshot of what your user preferences were when you logged in. If you programmatically change that user preference AFTER they are logged in, the change is not shown to the user until they log in again. With that in mind, what you want to do is use a business rule to set the value of their homepage user preference when they switch homepages.



It goes like this: log in > Homepage 1 > switch to some other homepage > Business Rule changes User Preference back to Homepage 1. This change is not visible to the user until their next log in.



The net result of this is that your user can sign in, change their homepage to something else, log out, and then the next time they log in, it's been reset to the homepage you specify.



Your business rule would look like the screenshot below.


force homepage.png


If you found this useful, please mark the answer as correct or helpful to help other users find it.


Poorna7
Tera Expert

I know this thread seems to be very old. But I have the same requirement but without logout and login again , is there any other way to select one of the pa_dashboard to be displayed by default when the user starts the session without login.