How to set a default for opening URLs in a new window

vidhya8
Tera Contributor

When creating Knowledge the URLs always open in the ServiceNow window. This is because the URL target is set to None (use Implicit)

url_open.PNG

Is there a way to set the target to 'New Window' so that the link always opens in a new window?

Appreciate any help on this.

Thanks

Vidhya

11 REPLIES 11

palmen
Tera Guru

Not sure if this can be done since the TinyMCE Editor is a product not belonging to ServiceNow.


Don't think you can configure it, at least I couldn't find any property for it.


I would recomend raising a ticket to ServiceNow HI and let them answer the question. If it's not doable a feature request could be opened and maybe we'll get that functionality in an upcoming release.


ldavis
Kilo Contributor

I decided to set that as default behavior yesterday! I went into each template and added to the top of the text field:


<base target="_blank">


I like this idea but the HTML editor automatically throws a paragraph tag around it so I get extra space at the top of my KA.   How do you handle that?



Steph


I didn't use the HTML editor. I edited the template, and in the template's "text" box, I added the code. I double checked, and mine doesn't have paragraph tags around it.