refresh related list only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2012 08:02 AM
Hi Everyone,
I am trying to trigger a refresh of a related list after a cell was edited.
Each list has an option called "Refresh List" (to be found in the list context menu) and this is also available for related lists. When selected it refreshes only the related list and not the whole form.
In the wiki I found the GlideList2 command "g_list.refresh()"
http://wiki.servicenow.com/index.php?title=GlideList2_(g_list)#refresh
I managed to trigger it with an UI Action but then the whole form and not the related list only is refreshed/reloaded.
When I walk the DOM I find the code behind the list menu option but wasn't able to figure out how to trigger it with the right context from a client script. In the DOM the command is as simple as "g_list.refresh(1)".
Does anyone has an idea how to accomplish this? Any help is appreciated.
Thank you!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2012 07:13 PM
Any answers on this one? I am trying to do something similar. When a field on the form changes I do a calculation and then I want to refresh the related list with updated calculated values.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2012 12:18 PM
I just found a solution for this:
http://www.servicenowguru.com/scripting/client-scripts-scripting/reload-form-related-list-client-script/