- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2020 09:29 PM
Hi All ,
I am trying to add a new ui action into "Action on selected rows" drop down specific to sc_request table.
I have checked the "List Action" box in the ui action but still it doesnt come up in the drop down. But if i make the ui action on "Task" table then it is coming up in the drop down. IS there any solution for this ? To make it come specific to requests alone ?
Thank you.
Solved! Go to Solution.
- Labels:
-
Request Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2020 09:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2020 10:58 PM
function generateList() {
var url = '/sp?id=pick_list_page&table=sc_request&sys_id=' + g_form.getUniqueValue() + '&template_id=cdcb2575db932740bcde60d4449619eb';
g_navigation.openPopup(url);
}
This is my old script which generates a list for all the ritms under the req. Now i changed it to sc_Req_item but then it again picks up all the ritms under the req.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2020 02:25 AM
var tblName;
var ajaxHelper;
var selSysIds;
var sysIdList;
var indx = 0;
var numSel = 0;
function generateList() {
tblName = g_list.getTableName(); //To get the table name
alert(tblName);
selSysIds = g_list.getChecked(); //To get the list of selected records sys_id
alert(selSysIds);
sysIdList = selSysIds.split(',');
alert(sysIdList);
numSel = sysIdList.length;
alert("in line 13");
alert(numSel);
if(numSel > 0) {
indx = 0;
alert("in line 17");
//ajaxHelper = new GlideAjax('RejectRecordAjax');
var url = '/sp?id=pick_list_page&table=sc_req_item&sys_id=' + g_form.getUniqueValue(selSysIds)+ '&template_id=cdcb2575db932740bcde60d4449619eb';
g_navigation.openPopup(url);
}
}