- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2020 10:05 AM
Hi I'm using a script include in my filters so the format is:
"Sys_ID is" -> javascript:myFunction();
However, when I try
"Sys_ID is" -> javascript:myFunction(query) where query is an encoded query from a related list, it doesn't work. Does anyone know if this is possible?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2020 12:46 PM
Hi,
It's possible but you should return the query in the function that you are calling, also you should call it as follows:
javascript: new ScriptIncludeName().functionName(current.arg1, current.arg2);
You can use it in the ref_qualifier, or you can create your custom dynamic filter and use it as you want.
If it was helpful, please give positive feedback.
Thanks,
☆ Community Rising Star 22, 23 & 24 ☆

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2020 10:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2020 12:46 PM
Hi,
It's possible but you should return the query in the function that you are calling, also you should call it as follows:
javascript: new ScriptIncludeName().functionName(current.arg1, current.arg2);
You can use it in the ref_qualifier, or you can create your custom dynamic filter and use it as you want.
If it was helpful, please give positive feedback.
Thanks,
☆ Community Rising Star 22, 23 & 24 ☆