Hi,

Le 2014-11-04 11:40, POISSON Frédéric a écrit :
Hello,

I'm using LSC version 2.1.1 with an external JavaScript file with
scriptInclude markup. I have written a function that i used before
inside lsc.xml file, but now with the external JavaScript file if i
try/catch error when i use srcLdap i have this following error :

Error detected : ReferenceError: "srcLdap" is not defined.

Is it possible to know if srcLdap from
org.lsc.jndi.ScriptableJndiServices is accessible from external
JavaScript files ?

This is a bit special. If I remember correctly: if your expression calling the external script contains a reference to srcLdap (or even only the string srcLdap), srcLdap should be available in your external script.
Maybe something we could improve...

Anyway you can pass srcLdap as an argument to your JavaScript functions.

Regards,
Raphaël Ouazana.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to