Hi,
2 things.
With LSC 1.X, I think you have to add this in order to place javascript:
lsc.syncoptions.TASKNAME.ATTRIBUTE.delimiter = $
Next, my code was taken from LSC 2.0, which use XML. Thus, the "<"
sign is replaced by "<". I'm pretty sure that if you replace this
by "<", everything should work fine.
Regards markham extra <[email protected]> a écrit :
hello,
i want tu use this sample code in lsc.properties :
var attrList="";
var separator="";
for (var i=0; i <
srcBean.getAttributevaluesbyid("ATTRIBUTENAME").size(); i++) {
attrList = attrList + separator +
srcBean.getAttributeValuesById("ATTRIBUTENAME").get(i);
separator=",";
}
lsc.syncoptions.dstask.attribute.force_value= attrList;
but variable seem work only if variable is define on the same line of it
use.
here,
attrList , are not defined according lsc. (error message)
why ?
and how bypass that
Thx
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users