Issue with calling a script include in a list filter as a condition in native UI

Sols User
Tera Contributor

Hi All,

I have an issue with calling a script include in a list filter condition.

find_real_file.png

find_real_file.png

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!!

16 REPLIES 16

Logan Poynter
Mega Sage
Mega Sage

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

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();

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.

find_real_file.png

 

Thanks,
Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Have you tried this?

 

javascript: new x_543102_srm_new.getDynamicValue1().myFunctionName();
Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande