Unable to refresh the related list using GlideList2 object

ushakarthya
Kilo Contributor

I am trying to refresh the related list once insert operation is done through UI action(where UI action is invoking the UI page. However got a solution to refresh the related list, used the below code in client script of my UI page.

GlideList2.get(g_form.getTableName() + '.task_ci.task').setFilterAndRefresh('');

Above code works fine and refresh the list in chrome new versions, but seems not working in older versions of IE and chrome.

Any alternatives or any suggestions please let me know..??

Thanks,

Usha

2 REPLIES 2

Daniel A-C
Tera Expert

Which older browser version numbers does it not work in?



Calling this function is the equivalent of clicking on the 'Refresh list' list UI action, so if that works in your target browser then there is no reason this should not work when called via script.



For more info see Reload a Form or Related list from a Client Script - ServiceNow Guru


Jaspal Singh
Mega Patron
Mega Patron

Hi Usha,



Were you able to resolve the issue?