Eureka !!
with this help :
https://lists.lsc-project.org/pipermail/lsc-users/2012-February/000753.html
and correct lsc.xml like this :
<dataset>
<name>accountExpires</name>
<policy>FORCE</policy>
<forceValues>
<string><![CDATA[js:AD.getAccountExpires(return_maxleavingdate(srcBean.getDatasetById("description").toArray()),"yyyyMMdd")]]></string>
</forceValues>
</dataset>
look the srcBean.getDatasetById("description").toArray()
It’s work.
Regards,
vlepetit
Le 5 févr. 2018 à 14:54, Vincent LEPETIT
<[email protected]<mailto:[email protected]>> a écrit :
[This sender failed our fraud detection checks and may not be who they appear
to be. Learn about spoofing at http://aka.ms/LearnAboutSpoofing]
I effectively i test this.
but while reading this :
https://lsc-project.org/javadoc/2.0-SNAPSHOT/org/lsc/beans/IBean.html#getDatasetById-java.lang.String-
when we use getDatasetById method we need to use set<object> and not <string>
in xml.
So i need to try.
Le 5 févr. 2018 à 14:32, Soisik Froger <[email protected]> a
écrit :
On 05/02/2018 14:29, Vincent LEPETIT wrote:
do i call multivalued attribute with another method than
getDatasetFirstValueById because it’s sem to get « first value » ?
Yes, with getDatasetValuesById.
--
Soisi
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users