We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

How to set default start page based on role/group

BlueMani
Tera Contributor

Hi, All


I want to set a configurable workspace as default start page/landing page shown after user logged in to the instance. And the landing page will be shown based on user's role/group. However, I've tried many solutions from existing community questions but none of them worked.

 

Here are solutions I've tried:

 

1)creating a my_home_navigation_page property in user preference,but it can only set landing page for all user/ one user.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0683955

 

 

2)changing values of glide.login.home and glide.home.page and selected read roles but it changed landing pages for all user.
https://docs.servicenow.com/bundle/tokyo-platform-user-interface/page/administer/navigation-and-ui/c...

 

https://docs.servicenow.com/bundle/tokyo-platform-user-interface/page/administer/navigation-and-ui/c...

 

https://docs.servicenow.com/bundle/tokyo-platform-user-interface/page/administer/navigation-and-ui/t...

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0693998

 

 

3)setting it in Landing Pages module but didn't work at all.
https://www.servicenow.com/community/developer-forum/how-to-set-default-landing-page-based-on-role/m...

 

https://docs.servicenow.com/bundle/tokyo-platform-user-interface/page/administer/workspace/task/set-...

 

 

Can anyone please tell me a way that still works now?

 

Thanks in advance for any good advice.

1 ACCEPTED SOLUTION

AndersBGS
Tera Patron

Hi @BlueMani ,

 

This is not possible based on group/roles, but only possible pr. person or for all. 

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

best regards

Anders

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

View solution in original post

14 REPLIES 14

Hi @AndersBGS ,
Thanks for replying.

Is it possible to implement it by using Business rule?

Hi @BlueMani ,

 

No, not according to my knowledge. To make an landing page for all people, you need to set a sys_property. For setting a user specific landing page, this is done as described here: https://docs.servicenow.com/bundle/tokyo-platform-user-interface/page/administer/navigation-and-ui/t...l

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

best regards

Anders

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Dr Atul G- LNG
Tera Patron

Hi @BlueMani 

 

https://www.servicenow.com/community/developer-forum/how-to-redirect-from-banner-logo-homepage-to-wo...

 

It is no possible.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG

****************************************************************************************************************

Brendanh
Tera Contributor

For everyone coming here after "you can't do this" answer has been marked as "correct" - You can absolutely do this, very simply and easily with a customization.

 

Use this information from here, we will set the homepage preference per user for Next UI:

https://docs.servicenow.com/bundle/tokyo-platform-user-interface/page/administer/navigation-and-ui/t...

 

Write a script wherever you want (such as a business rule or scheduled job) that sets this preference based on your own criteria, or own groupings of users. I wrote a scheduled job that runs every hour, which sets this preference for all ITIL users to value now/sow, and all non-itil users to pa_dashboard. You could probably make something more elegant than me, but I whipped up a scheduled job in 20 mins for our usecase.

 

If the link above goes dead: essentially, with your script, for each user, set a 'sys_user_preference' to whatever URL you want. If you want a workspace, set the value of the preference to "now/[workspace_url]"

 

Brendanh_0-1718817687080.png

Any chance you'd be willing to share your script?

Your description is EXACTLY what I'm looking for. 

 

And I understand if you're not okay sharing it. Just figured I'd ask before reinventing the wheel 🙂