Default Homepage for ITIL workers

Community Alums
Not applicable

I understand the default homepage for anyone assigned the 'itil' role will be the out of the box 'ITIL Homepage'. We have modified this page, as well as created a couple of other custom homepages for different groups, which are set to be selectable.

For some reason, I just noticed this morning, when a new user who is assigned the ITIL role signs in, their default homepage loads as the 'Asset Management Homepage' (one of the custom homepages we created) homepage, and not the 'ITIL Homepage'. No changes have been made that I am aware of, and as far as I recall, it wasn't doing this last week. Any idea why this would be? I can't find any flags or parameters anywhere which would set the default for any ITIL worker to be any other page other than the 'ITIL Homepage'

Cheers,

Tim

1 ACCEPTED SOLUTION

Community Alums
Not applicable

I updated the order of the homepages and place the 'Asset Management' homepage after the 'ITIL Homepage'. This seems to have worked, though I need to test further.


View solution in original post

2 REPLIES 2

Community Alums
Not applicable

I updated the order of the homepages and place the 'Asset Management' homepage after the 'ITIL Homepage'. This seems to have worked, though I need to test further.


gregg10
Kilo Sage

I ran into the same issue and did testing as well and discovered it appears to work in this order.  



(Note that any homepage that has a read role that does not include the user will not be available and it will skip to the next rule.)


1) User Homepage Preference.


This is set automatically when a user selects a homepage from the dropdown. This will always win. Sys_user_preference where name = homepage and User = the user.


2) Homepage script wins if it returns a view that matches a view for a homepage.


(Note that if the homepage is set this way then the user will not have the option to change their homepage.)


Homepage Admin>Pages. Here you can see view in the view column.


Script that returns view:


        sys_script_ajax.list


        Home Scripts


This script sets the homepage based on view. However, it prevents the user from changing their homepage.


OOB it sets non-role users to the homepage for the ESS view.


http://www.servicenowguru.com/system-definition/control-system-homepages/


3) Default Homepage System Preference


A default can be set in User Preferences. All users will get this one if they did not meet any of the criteria above.


Create a 'User Preference' where Name = homepage, system = true, User is blank, and value is the sys_id of a homepage.


4) First selectable homepage based on read role and order


If none of the above returned a homepage the user will get the first one returned by the Portal Pages where the user has access to the read role or the read role is blank.


Homepages (Portal Pages) are only returned if their 'selectable' property is true and the 'user' is empty.


They will return based on the order field, where 0 and blank return first.


For ties they will return alphabetically.


Note that new homepages do not force an order.   This could result in many blanks and 0 that will beat all of the other homepages.