05-30-2016 07:12 AM
05-30-2016 01:50 PM
06-02-2016 10:03 AM
06-02-2016 10:54 AM
06-03-2016 04:23 AM
<config evaluator="model-type" condition="myDatalist">
or <config evaluator="node-type" condition="myDatalist">
, I tried but this is just ignored…..06-09-2016 06:31 AM
06-15-2016 02:23 AM
<configurations>
<!– create form config–>
<config evaluator="model-type" condition="myportaldatalist:customercontact">
<forms>
<form>
<!– create form config–>
<field-visibility>
<show id="myportaldatalist:contactFirstName"/>
<show id="myportaldatalist:contactLastName"/>
<show id="myportaldatalist:contactEmail"/>
<show id="myportaldatalist:contactCompany"/>
<show id="myportaldatalist:emailenabled"/>
<show id="myportaldatalist:attacheddocument"/>
<show id="myportaldatalist:resetpasswordrequested"/>
<show id="myportaldatalist:contactNotes"/>
</field-visibility>
<create-form template="../data-lists/forms/dataitem.ftl" />
<appearance>
<field id="myportaldatalist:contactNotes">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
<field id="myportaldatalist:emailenabled">
<control template="/org/alfresco/components/form/controls/checkbox.ftl" />
</field>
<field id="myportaldatalist:attacheddocument">
<control template="/org/alfresco/components/form/controls/checkbox.ftl" />
</field>
<field id="myportaldatalist:resetpasswordrequested">
<control template="/org/alfresco/components/form/controls/checkbox.ftl" />
</field>
</appearance>
</form>
<form id="datagrid">
<field-visibility>
<show id="myportaldatalist:contactFirstName"/>
<show id="myportaldatalist:contactLastName"/>
<show id="myportaldatalist:contactEmail"/>
<show id="myportaldatalist:contactCompany"/>
<show id="myportaldatalist:contactUserName"/>
<show id="myportaldatalist:emailenabled"/>
<show id="myportaldatalist:attacheddocument"/>
<show id="myportaldatalist:resetpasswordrequested"/>
<show id="myportaldatalist:contactNotes"/>
</field-visibility>
<!– This section seems to be ignored….–>
<appearance>
<field id="myportaldatalist:emailenabled">
<control template="/org/alfresco/components/form/controls/checkbox.ftl" />
</field>
<field id="myportaldatalist:attacheddocument">
<control template="/org/alfresco/components/form/controls/checkbox.ftl" />
</field>
<field id="myportaldatalist:resetpasswordrequested">
<control template="/org/alfresco/components/form/controls/checkbox.ftl" />
</field>
</appearance>
</form>
</forms>
</config>
<!– edit form config–>
<config evaluator="node-type" condition="myportaldatalist:customercontact">
<forms>
<form>
<field-visibility>
<show id="myportaldatalist:contactFirstName"/>
<show id="myportaldatalist:contactLastName"/>
<show id="myportaldatalist:contactEmail"/>
<show id="myportaldatalist:contactCompany"/>
<show id="myportaldatalist:contactUserName"/>
<show id="myportaldatalist:emailenabled"/>
<show id="myportaldatalist:attacheddocument"/>
<show id="myportaldatalist:resetpasswordrequested"/>
<show id="myportaldatalist:contactNotes"/>
</field-visibility>
<edit-form template="../data-lists/forms/dataitem.ftl" />
<appearance>
<field id="myportaldatalist:contactUserName" read-only="true">
<control template="/org/alfresco/components/form/controls/readonly.ftl" />
</field>
<field id="myportaldatalist:contactNotes">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
<field id="myportaldatalist:emailenabled">
<control template="/org/alfresco/components/form/controls/checkbox.ftl" />
</field>
<field id="myportaldatalist:attacheddocument">
<control template="/org/alfresco/components/form/controls/checkbox.ftl" />
</field>
<field id="myportaldatalist:resetpasswordrequested">
<control template="/org/alfresco/components/form/controls/checkbox.ftl" />
</field>
</appearance>
</form>
</forms>
</config>
</configurations>
06-18-2016 04:53 PM
06-17-2016 09:34 AM
06-23-2016 09:35 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.