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.
<types> <!– Definition of new Content Type: Press Release –> <type name="custom:pressrelease"> <title>Press Release</title> <parent>cm:content</parent> <properties> <property name="custom:PRName"> <title>PR Person Name</title> <type>d:text</type> </property> <property name="custom:PREmail"> <title>PR Person Email</title> <type>d:text</type> </property> <property name="custom:PRPhone"> <type>d:text</type> <mandatory>true</mandatory> <default>simple</default> <constraints> <constraint type="LIST"> <parameter name="allowedValues"> <list> <value>simple</value> <value>double</value> <value>triple</value> </list> </parameter> </constraint> </constraints> </property> <property name="custom:PRDate"> <title>PR Released Date</title> <type>d:date</type> </property> </properties> <associations> <association name="custom:responsible"> <source> <mandatory>true</mandatory> <many>true</many> </source> <target> <class>cm:person</class> <mandatory>false</mandatory> <many>true</many> </target> </association> </associations> <mandatory-aspects> <aspect>cm:versionable</aspect> </mandatory-aspects> </type> </types>
document.assocs["custom:responsible"][0]
document.childAssocs["custom:miChildAssociation"][0]
document.assocs["custom:responsible"][0].properties["cm:userName"]; document.assocs["custom:responsible"][0].properties["cm:firstName"];