Firt page redirection after login

Ragavi
Tera Contributor

Hi ,

The requirement is to redirect all the users to service portal page after login . After logged in is the users have ITIL access should have option to navigate to ITIL view (that option can be added in header menu ) . 

Here I have tried to modify SPEntrypage script include , by doing so I can able to redirect all the users to portal page but not able to redirect ITIL users again to ITIL view .

 

is that SPEntrypage scrip include will be called only once during login? or it will be call whenever  the URL  changes 

 

 

Thanks,

Ragavi

5 REPLIES 5

AnirudhKumar
Mega Sage
Mega Sage

I think it executes only once. 

If it executes once . ITIL users after redirected to portal they can able to redirect to ITIL view right ? this is not happening  though an ITIL user once I redirected to portal page the users not able to navigate back to ITIL View 

Hmm... I understand the requirement now.

There are some OOB log statements added to the script Include. Could you confirm you see those executed the 'second' time (i.e, when an ITIL users tries to manually change from SP to ITIL view)?

I have a feeling this has something to do with the if/else condition in your script.

Maybe try using isServicePortalURL to determine if the view change occurs from a Service Portal and if the user has itil role, then return false... 

yeah, Its calling that script include again. I will try the condition you have provided