- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2018 05:57 AM
I know it can be done in current.sys_id in server side script but I wanted to get it from the client side. I am done getting the information when I am in the form using the g_form.getUniqueValue() but what I wanted when I trigger a UI Action in List context menu and get the sys_id in my client side script.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2018 05:59 AM
g_list.getChecked()
provides Comma-separated list of the sys_ids for the items that are checked in the list.
also try
var sysId = typeof rowSysId == 'undefined' ? gel('sys_uniqueValue').value : rowSysId;
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2018 05:59 AM
g_list.getChecked()
provides Comma-separated list of the sys_ids for the items that are checked in the list.
also try
var sysId = typeof rowSysId == 'undefined' ? gel('sys_uniqueValue').value : rowSysId;
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2018 06:04 AM
Is it possible to get without selecting the checkbox?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2018 06:06 AM
Without selecting check box, how would you come to know on which record the action should be performed?
Detailed use case would be helpful to understand the requirement and suggest the solution.
Thanks,
Ali
Thank you,
Ali

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2018 06:14 AM
Try
var sysId = typeof rowSysId == 'undefined' ? gel('sys_uniqueValue').value : rowSysId;