UI Action links open in new tab

Kevin35
Mega Contributor

I want open a link in new tab when I click on UI Action .Can anyone please help.

1 ACCEPTED SOLUTION

Pranav Bhagat
Kilo Sage

Hi ,

You can use something like this

var url = 'https://community.servicenow.com/';
window.open(url,'_blank');

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Pranav

View solution in original post

3 REPLIES 3

Pranav Bhagat
Kilo Sage

Hi ,

You can use something like this

var url = 'https://community.servicenow.com/';
window.open(url,'_blank');

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Pranav

Let me Check .Thanks.