How to redirect agent to different page(custom workspace landing and UI16 homepage based on role
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2024 06:34 AM - edited 05-07-2024 06:38 AM
We created a custom workspace using app engine studio for a custom app. We have 2 group of users(GroupA and GroupB) with 2 different roles(RoleA and RoleB).
Requirement: 1. Auto redirect users of GroupA to landing page of custom workspace right after logging in.
2. Auto redirect users of GroupB to home page of UI16 right after logging in.
how to achieve this. Please help
#Workspace #redirect #customapp #appenginestudio #landingpage
Regards,
Priyanka Jeganathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 11:31 AM
You might need to take help of SPEntrypage script include where you can set the first page after login.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 08:19 AM
Hi @Dibyaratnam ,
I tried to modify the SPEntrypage script like below still it takes all the user to "intance.service-now.com/now/nav/ui/home". Please let me know what else am missing or is this not correct.
Regards,
Priyanka Jeganathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 10:10 AM
Go to system property and check if glide.entry.first.page.script property is present or not. If not then you need to add this property and make changes accordingly in spentrypage.
Follow the below article.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0746730
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2024 10:49 PM
Look at how the Landing Page works for Unified Navigation Landing Page - Service Operations Workspace Audience in the Unified Navigation app.
I've copied it's functionality before.
General idea it to create a new landing page, put an audience on it and then have the page run a redirect to the right URL.