12-12-2012 06:24 AM
<type name="my:typeA">
<title>Type A</title>
<parent>cm:content</parent>
<associations>
<association name="my:relatedTypesB">
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>drh:typeB</class>
<mandatory>true</mandatory>
<many>false</many>
</target>
</association>
</associations>
</type>
<type name="my:typeB">
<title>Type B</title>
<parent>cm:content</parent>
</type>
<config evaluator="node-type" condition="my:typeA">
<forms>
<form>
<field-visibility>
<show id="my:relatedTypesB" />
</field-visibility>
<appearance>
<field id="my:relatedTypesB" label="Related Types B">
<control template="/org/alfresco/components/form/controls/association.ftl">
<control-param name="displayMode">list</control-param>
<control-param name="showTargetLink">true</control-param>
<control-param name="startLocation">{doclib}</control-param>
</control>
</field>
</appearance>
</form>
</forms>
</config>
09-05-2013 07:53 AM
11-06-2013 07:17 PM
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.