Navigating via 'home links' on service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2023 09:05 PM
Hi all,
Just taken over a SN instance and trying to figure out a portal called 'facilities'. I think there is a portal within a portal.
There is a portal with a link https://XX.service-now.com/facilities?id=facilities_whs which is for the Health and safety portal.
Then there is a portal with a link https://XX.service-now.com/facilities which is the facilities portal. From what I can see the whs portal is part of the facilities portal.
When I open a record producer on the WHS portal and click the home link it takes me to https://XX.service-now.com/facilities instead of https://XX.service-now.com/facilities?id=facilities_whs.
How can I configure the home link to the correct URL? Or do I need to separate the two portals altogether?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2023 11:10 PM
Hello @reza1921
var newUrl = loc.protocol + "//" + loc.host + "/sp" + loc.search + loc.hash;
This is how you can set redirection between one portal to another.
Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.
Regards,
Samaksh