2012/11/21 markham extra <[email protected]>: > 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
You are using an old version of LSC which uses properties file and not XML file. Add "\" at the end of each line, or move to LSC 2.0. Clément. _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

