06-18-2012 04:47 AM
<config evaluator="string-compare" condition="AdvancedSearch">
<advanced-search>
<forms>
<form label="number" description="Search number"> mk:number</form>
</forms>
</advanced-search>
</config>
<config evaluator="model-type" condition="mk:number">
<forms>
<form id="search">
<field-visibility>
<show id="mk:numberID"/>
</field-visibility>
</form>
</forms>
</config>
</alfresco-config>
where …-model.xml
<aspects>
<aspect name="mk:number">
<title>Number of doc</title>
<properties>
<property name="mk:numberId">
<title>Number of doc</title>
<type>d:text</type>
<mandatory>true</mandatory>
<index enabled="true">
<atomic>true</atomic>
</index>
<constraints>
<constraint ref="mk:val"/>
</constraints>
</property>
</properties>
</aspect>
</aspects>
06-20-2012 10:37 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.