05-15-2013 05:01 PM
05-15-2013 05:44 PM
share-config-custom.xml
you've created a <strong><form></strong> tag that contains a <strong><field-visibility></strong> group with several of <show id="ai:myProperty"/>
inside, right?/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/form/controls/
, so take a look. They are basically a Freemarker templates included for each property.
…
<form id="edit-metadata">
<field-visibility>
<show id="cm:name"/>
<show id="cm:description"/>
<show id="cm:created"/>
…
<show id="ai:myCustomProp" />
</field-visibility>
<appearance>
<!– lets make the description a textarea instead of input –>
<field id="cm:description>
<control template="controls/textarea.ftl"/>
</field>
<!– now our custom prop with custom renderer –>
<field id="ai:myCustomProp">
<control template="controls/my-custom-renderer.ftl"/>
</field>
</appearance>
</form>
…
05-15-2013 08:09 PM
05-16-2013 07:59 AM
05-16-2013 09:23 PM
05-18-2013 04:01 PM
05-19-2013 10:29 AM
05-19-2013 01:50 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.