Service Portal - Redirection

Ramel
Mega Guru

Hi Community,

I just want to ask if anyone has done similar requirement to mine. What I need to do is about the redirection on Service Portal. We have multiple Service Portals setup in our instance and the default is set to HR. Based on the snow documentation, there is the script include SPEntryPage where it is define the the URL suffix, in our case it is HR, base instance it is SP.

Since we have multiple Service Portals that are widely being used, most of our users wanted to go directly to a specific Portal when they login. For example when I go to the URL service-nw.com/PortalA, after entering my credentials its should direct me to PortalA instead of the default portalHR. Others would go directly to service-nw.com/PortalB, etc. Can anyone advise how this can be achieved?

Thank you in advance.

Regards

1 ACCEPTED SOLUTION

Hi @Chandra Sekhar Maganty ,

Thanks for your response. I found out in the FAQ that what I want to accomplish is a limitation of SPENtryPage

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

For others who is trying to do the same, please refer to the above FAQ link.

 

View solution in original post

4 REPLIES 4

MM25
Kilo Guru

Hi Ramel,

Please go through the below link. Here you will get some idea

https://community.servicenow.com/community?id=community_blog&sys_id=a1dda6e9dbd0dbc01dcaf3231f96197b

Let me know if you have any further queries.

Please mark this as Correct or Helpful if it helps.

Thanks and Regards,
Shashank H.

HI Shashank,

Thank you for the link. The requirement is to not create any more field in either company or department. They just want to store the original URL on session or cookie, so if I try to login on portalA, this URL will be the landing page after successful login.

Any idea?

Regards

Chandra Sekhar6
Tera Guru

For portal redirection, we have a script include SPEntryPage, depending on the roles it should redirect to the expected page.

Based on your requirement, make changes in the SPEntryPage script include

Hi @Chandra Sekhar Maganty ,

Thanks for your response. I found out in the FAQ that what I want to accomplish is a limitation of SPENtryPage

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

For others who is trying to do the same, please refer to the above FAQ link.