How to navigate to an external page from UI Action?

Sandeep _
Tera Contributor
 
1 ACCEPTED SOLUTION

_gaurav_S
Tera Expert

Create a UI Action with the Client checkbox checked, also add the below function name in the OnClick field.
and write code something like this:

function shippingRedirect(){
    var url = 'https://google.com';
    top.window.open(url,'_blank') ;
}

View solution in original post

2 REPLIES 2

_gaurav_S
Tera Expert

Create a UI Action with the Client checkbox checked, also add the below function name in the OnClick field.
and write code something like this:

function shippingRedirect(){
    var url = 'https://google.com';
    top.window.open(url,'_blank') ;
}

Sandeep _
Tera Contributor

Yes, that solution is working for my side.