Dynamic Redirection for glide.login.home and glide.banner.image.url Using Script Include

ShaoyuF
Tera Contributor

Hi all, I’m trying to dynamically redirect users to different pages upon login and when they click the banner icon, based on their company or role. Seem like those properties only taking static URL. What I have now is an intermediate page that's doing the redirection, are they any better options? 

User A -> Workspace

User B -> SP 

User C -> VTB

Any help or best practices would be greatly appreciated! Thanks in advance.

1 ACCEPTED SOLUTION

Ambuj Tripathi
ServiceNow Employee
ServiceNow Employee

Hi @ShaoyuF 

 

What you are looking for is this - SPEntrypage script. Please check out the below KB to find out how can you configure this script to redirect the users based on their roles.

 

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

 

Thanks!

-Ambuj

View solution in original post

2 REPLIES 2

Mark Manders
Mega Patron

Those are stored in user preferences, so you could update them there and limit the users ability to change it.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Ambuj Tripathi
ServiceNow Employee
ServiceNow Employee

Hi @ShaoyuF 

 

What you are looking for is this - SPEntrypage script. Please check out the below KB to find out how can you configure this script to redirect the users based on their roles.

 

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

 

Thanks!

-Ambuj