02-27-2015 03:00 PM
<form>
<field-visibility>
<!– for the form creation we are showing everything except approved date –>
<show id="gc:gcID" />
<show id="gc:gcIDclient" />
<show id="gc:gcMaker" />
<show id="gc:gcQuantity" />
<show id="gc:gcPrice" />
<show id="gc:gcPriceMargin" />
<show id="gc:gcDueDate" />
<show id="gc:gcStatus" />
<show id="gc:gcComments" />
<show id="gc:gcAttachments" />
</field-visibility>
<create-form template="/org/alfresco/components/data-lists/forms/dataitem.ftl" />
<appearance>
<field id="gc:gcIDclient">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
<field id="gc:gcStatus">
<control template="/org/alfresco/components/form/controls/selectone.ftl" />
<control-param name="options">jedna,druha,tretia</control-param>
</field>
<field id="gc:gcComments">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
<field id="gc:gcAttachments">
<control>
<control-param name="startLocation">{doclib}</control-param>
</control>
</field>
</appearance>
</form>
<property name="gc:gcStatus">
<title>Status</title>
<type>d:text</type>
<mandatory>false</mandatory>
<multiple>false</multiple>
</property>
03-01-2015 06:13 AM
<constraints>
<constraint name="abc:propertyConstraintList" type="LIST">
<parameter name="allowedValues">
<list>
<value>one</value>
<value>two</value>
<value>three</value>
</list>
</parameter>
<parameter name="caseSensitive">
<value>true</value>
</parameter>
</constraint>
</constraints>
…
<property name="abc:customProp">
<title>Custom Prop</title>
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint ref="abc:propertyConstraintList" />
</constraints>
</property>
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.