UI Action to Open URL

Ellis Richmond
Giga Contributor

I have a custom table that has a field that contains a URL to an external website. I would like a UI Action that opens that link in a new tab.

I have tried the following:

window.open(current.link, '_blank');

With no success. Is this actually possible?

 

Thanks,

Ellis

1 ACCEPTED SOLUTION

Hi Mate,

 

Sorry that was a server side call, I just wrote this and tested it. It works as you requested.

 

find_real_file.png

 

Script:

function onClick(){
	
var url = g_form.getValue('field_name');
	
g_navigation.openPopup(url);
}

 

Let me know how you go with this one.

 

If this answered your question please mark as correct.

 

Thanks

Mark

View solution in original post

6 REPLIES 6

Good to know, have a good one.

Mark

Thank you so much @Mark Skinner  - and the screenshots helps a great deal