Redirect page from UI action

Jolanta Jaskele
Kilo Contributor

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:

find_real_file.png

 

Is there a way to redirect it without backend navigator and etc? It has to be the same tab

 

1 ACCEPTED SOLUTION

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.

View solution in original post

11 REPLIES 11

it worked, thanks! 🙂

Kristen Ankeny
Kilo Sage

If you use top.location, it should redirect completely:

find_real_file.png