Hello list,

I have a problem modifying an attribute with LSC (version 1.2.1). 


lsc.syncoptions.mytask.mail.force_value  = 
srcBean.getAttributeFirstValueById("mail").replace("abc", "xyz")

works, whereas :

lsc.syncoptions.mytask.mail.force_value  = \
 var email = srcBean.getAttributeFirstValueById("mail"); \
 email.replace("abc", "xyz"); \
 email

doesn't work. What's the difference ?

Any help appreciated ...


-- 
Xavier Montagutelli
http://twitter.com/#!/XMontagutelli
Service Commun Informatique - Universite de Limoges
123, avenue Albert Thomas - 87060 Limoges cedex
Tel : +33 (0)5 55 45 77 20 /   Fax : +33 (0)5 55 45 75 95
_______________________________________________________________
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