Module arguments with script include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2015 01:16 PM
Hello,
I'm trying to make a couple of modules accept a script include in the arguments for a List of Records to set a reference qualifier. The issue I have is I cannot seem to get the arguments to set the reference qualifier.
When I put in the script include call: javascript:u_getSelfService(argument) it will not return anything. It is a quite simple script include below:
function u_getSelfService(getACT) {
var actIS = "active=" + getACT;
var filterString = "";
filterString += actIS + "^sys_class_name=sc_req_item"; //Req Item
gs.log("FilterString is: " + filterString);
return filterString;
}
Any ideas? Are arguments not capable of using a script include? I tried using a background script to make sure the script include is returning what it is supposed to, and it is returning what it is supposed to. After running the list of records, it is not even outputting the log statement which makes me think it is not even running the function.
The script include is client callable also.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2015 10:42 AM
Hi Evan,
Could you please paste the log output, so that I can help you.
-
Cheers.
Akash Rajput
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2015 02:24 PM
Try the following:
javascript:new u_getSelfService("true");
Thanks,
Laurie