Issue with calling a script include in a list filter as a condition in native UI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 11:42 AM
Hi All,
I have an issue with calling a script include in a list filter condition.
Not sure where I'm going wrong here!
Some info:
1) Script include is in a scoped application
2) Enabled the client callable option
3) I'm not getting any logs when I simulate this!
Please help!!
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 12:55 PM
Hello,
You're missing parenthesis and a semicolon. Use this:
javascript:new getDynamicValue1().myFunctionName();
Please mark my answer as correct/helpful if it has helped you.
Thanks,
Logan
--
LinkedIn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 09:15 PM
Apologies... That's a typing error here.. I have tried with the same syntax and it is still an issue.
I'm not even getting logs to debug!
Pls help
javascript:new getDynamicValue1().myFunctionName();

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 09:51 PM
Hi,
As this script include is in scoped application then try using API name while calling SI.
like below:
javascript: new x_543102_srm_new.getDynamicValue1().myFunctionName();
If still not work then make it accessible from all scopes.
Thanks,
Anil Lande
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2022 01:26 AM
Have you tried this?
javascript: new x_543102_srm_new.getDynamicValue1().myFunctionName();
Thanks
Anil Lande