Dynamic redirection on module click

Ravish Shetty
Tera Guru

We are on Geneva and have a requirement to re direct users to different URL's based on their user profile.

When they click on the module 'Service Catalog', users belonging to set A must redirect to catalog homepage and set B should be redirected to the CMS site.

Right now we are using Global UI script to manipulate the DOM of the 'Service catalog' module to achieve this but we want to discontinue the DOM manipulation.

1 ACCEPTED SOLUTION
4 REPLIES 4

saprem_d
Giga Guru

Hi,



You can achieve this by using "script from arguments" option in the module configuration of "service catalog" module



Administering Application Menus and Modules - ServiceNow Wiki


this functionality executes the script on the server site and not the client side.


even if we try to use gs.setRedirect in the script from arguments, it doesnt work as desired.


HI   ravio,



Please check below url,



How can I show Module of URL (From Arguments:) in the content frame




Thanks


Chandu Telu


How to redirect on Module Script from Arguments?



This should help you to define the Module link