Reference Icon click open in new window
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2010 08:46 PM
Hi,
does anyone know how to make the reference icon open record in a new window when it is clicked on? Currently when hovered over, it pops up the record, and when clicked on opens the record in the same window.
Unfortunately this loses the record the user is working on. For example we have a reference field for affected contact. The reference icon allows you to preview the affected contact while on the incident record form. Sometimes there is a need to add a location to the affected contact and when you click the icon you are taken away from the incident record to the contact record form. It would be nice to open the contact record in a new window so you don't lose what you are doing on the incident record.
Cheers,
Ben
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2010 04:01 AM
Check out the 'glide.ui.clickthrough.popup' and 'glide.ui.clickthrough.replace' properties listed here.
http://wiki.service-now.com/index.php?title=Additional_Glide_Properties
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2010 10:04 PM
Mark to the rescue again - Thanks!
The glide.ui.clickthrough.popup property has done the trick by replacing the normal icon with a open in a new window/popup icon.
The only thing I noticed was in the new popup window which displays the user record, the related lists are missing at the bottom of the page (role, groups and location), compared to when you click through using the normal icon. I compared both URLs:
Normal Icon:
https://test.service-now.com/sys_user.do?sys_id=272a31af0a0a3c51006ca10144f19622&sysparm_refer=incident.do%3fsys_id%3dc47b32d40a0a780e0030d2d86bd997f9%4099%40sysparm_view%3d
Popup Icon:
https://test.service-now.com/sys_user.do?sys_id=272a31af0a0a3c51006ca10144f19622&sysparm_view=&sysparm_stack=no&sysparm_referring_url=tear_off
It looks as though the "sysparm_referring_url=tear_off" parameter in the 2nd URL is causing related lists not to show. How to I customise the Popup Icon URL to remove this parameter and allow the related lists to show?
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2010 03:20 AM
I'm not aware of any way to customize that unfortunately. I'm sure you could use a client script hack to reformat those urls but I wouldn't recommend it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2015 08:14 AM
I know this is an old post, but just in case someone else has the same problem, you can create an UI Action, to remove the sysparm_referring_url parameter from the URL, which causes related lists not to show, and redirect to this new url.
Like that you will have a kind of on-demand related lists.
var url = new GlideURL(location.href);
url.deleteParam("sysparm_referring_url");
location.href = url.getURL();