As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<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>