- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2018 06:37 AM
Hi Community,
I'm struggling to find a way to make external sites open in a new browser window where we have used a link-button widget. I have tried using HTML code target="_blank" but cannot get this working.
Does anybody know how to get this to open in a new window?
Thanks,
James
Solved! Go to Solution.
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2018 07:20 AM
Go to widget editor and select the widget and update the HTML Template

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2018 06:55 AM
If you want open it same tab, then just add the url with https://
, if you want to open in new tab, then clone the widget and update the html code to
<a target="_blank" ng-href="{{options.href}}" class="btn btn-{{options.color}} m-b">{{data.buttonMsg}}</a>
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2018 07:09 AM
Thanks Vignesh,
I have already cloned them but where would i update the html code?
Thanks,
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2018 07:15 AM
Hi James Rostron,
You have to update the HTML code in widget editor, which you have to clone.
Ex :- https://<YOUR INSTANCE NAME>.service-now.com/sp_config?id=widget_editor
Let me know if you have any questions.
Please mark it Correct or Helpful, if it works based on impact....!!!!
Warm Regards,
Priyanka
www.dxsherpa.com

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2018 07:20 AM