08-29-2013 05:33 PM
<config evaluator="string-compare" condition="AdvancedSearch">
<advanced-search>
<!– Forms for the advanced search type list –>
<forms>
<form label="HR Documents" description="Hr Documents">hr:docs</form>
</forms>
</advanced-search>
</config>
<config evaluator="model-type" condition="hr:docs">
<forms>
<!– Search form –>
<form id="search">
<field-visibility>
<show id="hr:name" force="true"/>
<show id="hr:id" force="true"/>
<show id="hr:formType" force="true"/>
<show id="hr:dateOfDoc" force="true"/>
</field-visibility>
</form>
</forms>
</config>
<?xml version="1.0" encoding="UTF-8"?>
<model name="hr:hrModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>HR Metadata</description>
<author>yangy</author>
<version>1.0</version>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
</imports>
<namespaces>
<namespace uri="http://www.mydomain.com/model/hrModel/1.0" prefix="hr"/>
</namespaces>
<types>
<type name="hr:docs">
<title>HR Documents</title>
<parent>cm:content</parent>
</type>
</types>
<aspects>
<aspect name="hr:metadata">
<title>HR Metadata</title>
<properties>
<property name="hr:name">
<title>Name</title>
<type>d:text</type>
</property>
<property name="hr:id">
<title>ID</title>
<type>d:text</type>
</property>
<property name="hr:formType">
<title>Form Type</title>
<type>d:text</type>
</property>
<property name="hr:dateOfDoc">
<title>Date of Document</title>
<type>d:date</type>
</property>
</properties>
</aspect>
</aspects>
</model>
08-30-2013 09:51 AM
08-31-2013 05:44 AM
08-31-2013 03:02 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.