GlideList Api in is not working in Agent workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 04:12 AM - edited 01-03-2023 04:05 AM
g_list.getChecked() is not working in agent workspace related list action
function onClick() {
var sysId = g_list.getChecked();
alert(sysId);
var url = "/incident.do?sys_id=" + sysId;
g_modal.showFrame({
url: url,
title: 'Create Incident',
size: 'xl'
});
}
Can anyone please help me to solve this issue?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2023 06:51 PM
Hi Mathesh,
How are you implementing your related list action? I reported the same issue to SN support and was eventually told that it would have to be implemented as UFX Client Action, rather than as a Client Script as I had been trying.
In particular, I found that the g_list.getChecked() method would not work in a Client Script based action, even though other methods of g_list seemed to be working fine. I have not yet built a UFX Client Action to test their statements and get it working, but maybe this will save you/others a bit of head-banging.
Thanks,
-Brian