02-14-2011 10:16 AM
<type name="x:a">
<title>A</title>
<parent>cm:content</parent>
<properties>
<property name="x:campo1">
<title>campo 1</title>
<description>Descripción campo 1</description>
<type>d:text</type>
<mandatory>false</mandatory>
<default></default>
</property>
</properties>
</type>
<type name="x:b">
<title>B</title>
<parent>cm:content</parent>
<properties>
<property name="x:campo2">
<title>campo 2</title>
<description>Descripción campo 2</description>
<type>d:text</type>
<mandatory>false</mandatory>
<default></default>
</property>
</properties>
<associations>
<child-association name="x:asocA">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>x:a</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</child-association>
</associations>
</type>
nodeB.createAssociation(nodeA, "x:asocA"); //Creates association between nodeB and nodeA
05-16-2012 05:20 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.