how to open a url in new table in UI action

Priya75
Tera Contributor

Hi All,

 

I am using a server side Ui action and the want to open the url in new window.

 

So my script is like :-

 var url="//https:instancename.service-now.com/sysparm_stack=no&sysparm_attributes=record=incident,parent=parent_incident,title=number,description=cmdb_ci,short_description,baseid=' + parent;

action.setRedirectURL(url);

 

 

so how can i open it in new table , its a form link UI Action

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Priya75 

not possible using server side.

it will always open in same tab when you use server side.

move the code to client side.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Priya75 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar,

 

How to 'incident record' URL to open in a new tab from system wide, rather than in the current tab?

Can you please help me in this. It will helpful.

 

Thanks in Advance!

@mania 

can you post a new question for this and tag me there as this is an old thread?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader