Redirecting end users to /esc instead of /sp.

Sriraj V
Tera Contributor

Hi All,

I need to redirect my end users to /esc, Have anyone tried this?

Hi Mark @Mark Roethof ,

I referred your article to redirect users from /sp to /esc.

I have one question, how to redirect end users to /esc instead of /sp..? Any thoughts on this? 

As you aware, for redirecting end users to /sp : I have created a property "glide.entry.first.page.script" and used this "new SPEntryPage().getFirstPageURL()". By this way redirection takes care by OOB script include.

Regards,

Sriraj

8 REPLIES 8

Aman Kumar S
Kilo Patron

Hey,

Can you give more details about your use case, not very clear what you are looking for?

Best Regards
Aman Kumar

Hi Aman,

Currently in our instance we have the functionality to redirect end users to /sp. We achieved this by creating a property "glide.entry.first.page.script" and used "new SPEntryPage().getFirstPageURL()" for redirection.

Now we would like to redirect the end users to /esc instead of /sp. In order to achieve this functionality what changes I need to do? Thats my query.

 

Regards,

Sri

SalmaT
Tera Contributor

We recently had a similar requirement to deactivate a Service Portal, and as per the ServiceNow documentation, there is an out-of-the-box way to achieve this without deleting the portal. You can refer to the official documentation here for detailed steps: 

https://www.servicenow.com/docs/r/zurich/platform-user-interface/service-portal/deactivate-portal.ht... 

This explains how to mark a portal as inactive and optionally redirect users to an alternate portal.