- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2014 01:22 AM
Hi SNC,
I did some customization on my Knowledge article form - I added an approver field, which is a reference field to the User table. Next to the field, I would like to add an icon, which when clicked should open a new Glide Dialog window in which I want to show only a specific KB article, but in View mode, as the regular end-user would see it.
I managed to make this open in a separate tab, but I prefer to have it open in a glide window on the same screen.
I checke this guru post: http://www.servicenowguru.com/system-ui/glidedialogwindow_popup_record_list/
However, I cannot figure out how to show in the glide window only the KB article as a result.
Any suggestions on that?
Solved! Go to Solution.
- Labels:
-
Knowledge Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2014 02:24 PM
You can create a UI macro, which calls a UI page as per that link. Then you goto your reference field's dictionary and add this UI macro name in the ref_contribution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2014 02:10 AM
Hi Dimitar,
I think what you are looking for is in here:- http://www.servicenowguru.com/system-ui/glidedialogwindow-terms-conditions-acceptance-page/
Thanks & Regards,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2014 06:40 AM
Interesting, so in my case if I want this to be triggered off a field icon, then what I should do - create a UI macro and have my KB article somewhere inside the new glide window code? From this article I get the feeling that I have to create a UI script and UI page, but I cannot fully understand how I will put this together to make it an attribute of a field.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2014 06:59 AM
In order to get an icon to show up next to the field you can take a look at the user_show_incidents ui macro and how is it called on the caller field on incident. You could copy that to do what you're looking for.
Reference Fields - ServiceNow Wiki
With that icon you can generate an onclick event will load a glidedialogwindow containing your ui page and pass it your search parameter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2014 02:24 PM
You can create a UI macro, which calls a UI page as per that link. Then you goto your reference field's dictionary and add this UI macro name in the ref_contribution