Custom Portal Loads Twice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2025 04:35 AM
Hi Team,
We have a custom portal built upon Service POrtal. When we try to open it is loanding 2 times. At first it will load with 'company_name.service-now.com/<portal_name> then it loads again with 'company_name.service-now.com/<portal_name>?deviceType=laptop
Anybody knows why it is happening
Thanks,
Yashraj
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2025 03:12 AM
Hello @Yashraj
Please review the following points regarding the issue:
SPEntry Script Include
Kindly check the SPEntry Script Include used for redirection logic. In some cases, it initially loads the default Service Portal page and then redirects to the custom portal. If any condition is added in the script that affects the redirection flow, it might be causing the double load.Page-level Redirections
Please verify if any specific pages within your custom portal are using client-side or server-side redirection. If you're navigating the user to a particular page using such logic, it might be triggering an additional reload (e.g., redirecting to ...?deviceType=laptop after initial load).- page rules modifying the URL after the first load.
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Thank You