- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 04:58 AM
Hello,
I try to redirect from backend to portal in the same page by using:
window.location.href = 'url';
and I get redirected like this:
Is there a way to redirect it without backend navigator and etc? It has to be the same tab
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 06:16 AM
Hmm, I think I misunderstood, so you just want the whole page to reload to the portal without the nav bar?
Try this:
window.top.location.href = url
The key difference here is that we are now reloading the TOP frame as opposed to just the gsft frame.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 06:29 AM
it worked, thanks! 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2022 06:23 AM