How to redirect to the parent page from the dialogwindow

randeepnath
Mega Contributor

How to redirect to the parent window from the dialog window.. Any idea on this ?

Thanks in advance

1 ACCEPTED SOLUTION

location.reload(); should work I think


View solution in original post

38 REPLIES 38

where are you redirecting it.......in ui action in client script where?


In Pop up ur calling other UI action in that u might be redirecting,


randeepnath
Mega Contributor

In client script -



I can redirect from anywhere.. from client script   or UI action


use this in UI Action code. if used already, then share your client script code and UI Action code.....becoz client script will execute first then UI action.



action.setReturnURL(current);



or


else use link i shared earlier.


make UI page and then call action from there it will solve your problem


randeepnath
Mega Contributor

Hi



Actually, I want a UI page like this, this popup is a table view. Can we create a UI page like this with pagination and all..



If so, that will be good. Actually i am very much new to this system. How can we create a UI page with pagination and search functionality in servicenow..



find_real_file.png