01-05-2015 05:19 AM
<field id="sAET:cadastre" label-id="sAET.cadastre" set="complet_incomplet">
<control template="/org/alfresco/components/form/controls/association.ftl">
<control-param name="compactMode">true</control-param>
<control-param name="showTargetLink">true</control-param>
<control-param name="startLocation">/app:company_home/cm:Cadastre</control-param>
<control-param name="selectActionLabel">Joindre le cadastre</control-param>
<control-param name="displayMode">list</control-param>
</control>
</field>
if (oRecord.getData("selectable"))
{
var nodeRef = oRecord.getData("nodeRef"),
style = "";
if (!scope.objectFinder.canItemBeSelected(nodeRef))
{
style = 'style="display: none"';
}
elCell.innerHTML = '<a id="' + containerId + '" href="#" ' + style + ' class="add-item add-' + scope.eventGroup + '" title="' + scope.msg("form.control.object-picker.add-item") + '" tabindex="0"><span class="addIcon"> </span></a>';
scope.addItemButtons[nodeRef] = containerId;
}
01-06-2015 01:35 AM
01-06-2015 03:38 AM
<association name="sAET:cadastre">
<title>Cadastre</title>
<target>
<class>util:contentCGT</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</association>
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.