As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
log4j.logger.org.alfresco.repo.jscript=DEBUG.
logger.log("VERIFICATION VARIABLE : " + maVariable);
var personnes = document.assocs["custom:contacts"]; var person1 = personnes[0]; var personName = person1.properties["cm:userName"]; logger.log("VERIFICATION personName : " + personName);
<types> <type name="custom:mail"> <parent>cm:content</parent> <associations> <association name="custom:contacts"> <source> <mandatory>false</mandatory> <many>false</many> </source> <target> <class>cm:person</class> <mandatory>false</mandatory> <many>true</many> </target> </association> </associations> </type> </types>