Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2020 01:54 PM
Hi
I got it working as a list UI action on incident table. You'll get one zip for each sys_id passed.
Below is the UI action script:
function downloadAll() {
selSysIds = g_list.getChecked();
sysIdList = selSysIds.split(',');
for (var i=0;i<=sysIdList.length;i++)
{
window.open('/download_all_attachments.do?sysparm_sys_id='+sysIdList[i],"_blank");
}
}
Here's the UI Action screenshot for the setting that I had used:
Thanks & Regards,
Rishabh Jha
Aavenir (http://www.aavenir.com/)