Question
3
Replies
4527
Views
Posted: July 20, 2018
Last activity: July 24, 2018
Closed
Open URL in Window: Opening in the same window
Here is the closed thread:
I am looking to find out how I can use a button action to open a URL in the same window, not opening in a new window.
Thanks
***Moderator Edit: Vidyaranjan | Updated Platform Capability***
Hi Jay,
You can use the Run Script action to open the new URL on the same window instead of new one.
Update the below sample function on UserWorkForm and use the same on the button.
function windowfunc(){
var newURL = window.open('http://google.com', '_blank');
newURL.location;
}