06-16-2014 12:29 PM
10:02:42,967 DEBUG [org.alfresco.repo.jscript.ScriptLogger] Generating form for item:
10:02:42,967 DEBUG [org.alfresco.repo.jscript.ScriptLogger] kind = type
10:02:42,967 DEBUG [org.alfresco.repo.jscript.ScriptLogger] id = cm:content
10:02:42,967 DEBUG [org.alfresco.repo.jscript.ScriptLogger] fields = dac:itproject-title,dac:itproject-department
10:02:42,968 DEBUG [org.alfresco.repo.forms.FormServiceImpl] Retrieving form for item: [type]cm:content
10:02:42,968 DEBUG [org.alfresco.repo.forms.processor.AbstractFormProcessor] Checking processor org.alfresco.repo.forms.processor.action.ActionFormProcessor@63d9b9c (active=true, matchPattern=action) for applicability for item '[type]cm:content', result = false
10:02:42,968 DEBUG [org.alfresco.repo.forms.processor.AbstractFormProcessor] Checking processor org.alfresco.repo.forms.processor.node.NodeFormProcessor@2a7afb2f (active=true, matchPattern=node) for applicability for item '[type]cm:content', result = false
10:02:42,968 DEBUG [org.alfresco.repo.forms.processor.AbstractFormProcessor] Checking processor org.alfresco.repo.forms.processor.node.TypeFormProcessor@7000e072 (active=true, matchPattern=type) for applicability for item '[type]cm:content', result = true
10:02:42,968 DEBUG [org.alfresco.repo.forms.processor.FormProcessorRegistry] Returning applicable processor: org.alfresco.repo.forms.processor.node.TypeFormProcessor@7000e072 (active=true, matchPattern=type)
10:02:42,968 DEBUG [org.alfresco.repo.forms.processor.FilterRegistry] Returning active filters: [org.alfresco.module.org_alfresco_module_rm.forms.RecordsManagementTypeFormFilter@71b4b06a (active=true)]
10:02:42,968 DEBUG [org.alfresco.repo.forms.processor.node.TypeFormProcessor] Generating form for: ClassDef[name={http://www.alfresco.org/model/content/1.0}content]
10:02:42,968 DEBUG [org.alfresco.repo.forms.processor.node.TypeFormProcessor] Ignoring unrecognised field "dac:itproject-title"
10:02:42,968 DEBUG [org.alfresco.repo.forms.processor.node.TypeFormProcessor] Ignoring unrecognised field "dac:itproject-department"
10:02:42,968 DEBUG [org.alfresco.repo.forms.processor.node.TypeFormProcessor] Generated form: org.alfresco.repo.forms.Form@6d8fee0e (item=[type]cm:content, type=cm:content, url=/api/classes/cm_content, submissionUrl=null, fieldGroups=null
fieldDefinitions=null
formData=null)
10:02:42,969 DEBUG [org.alfresco.repo.forms.processor.FilterRegistry] Returning active filters: [org.alfresco.module.org_alfresco_module_rm.forms.RecordsManagementTypeFormFilter@71b4b06a (active=true)]
10:02:42,970 DEBUG [org.alfresco.repo.jscript.ScriptLogger] java.lang.NullPointerException: null
10:02:42,970 DEBUG [org.alfresco.repo.jscript.ScriptLogger] Returning 500 status code
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="dac:itprojectaspect" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>IT Project Tracking Model</description>
<author>Geof Abruzzi</author>
<version>1.0</version>
<!– Imports are required to allow references to definitions in other models –>
<imports>
<!– Import Alfresco Dictionary Definitions –>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
<!– Import Alfresco Content Domain Model Definitions –>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" />
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys" />
</imports>
<!– Introduction of new namespaces defined by this model –>
<namespaces>
<namespace uri="http://www.donaanacounty.org/model/donaanacounty/1.0" prefix="dac" />
</namespaces>
<aspects>
<aspect name="dac:itproject">
<title>IT Project</title>
<properties>
<property name="dac:itproject-title">
<type>d:text</type>
<mandatory>true</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>true</tokenised>
</index>
</property>
<property name="dac:itproject-department">
<type>d:text</type>
<mandatory>false</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>true</tokenised>
</index>
</property>
<property name="dac:itproject-inceptdate">
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="dac:itproject-completedate">
<type>d:date</type>
<mandatory>false</mandatory>
</property>
</properties>
<associations>
<association name="dac:itproject-owner">
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</association>
<association name="dac:itproject-itmanager">
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</association>
</associations>
</aspect>
</aspects>
</model>
<alfresco-config>
<!– Document Library config section –>
<config evaluator="string-compare" condition="DocumentLibrary">
<aspects>
<!– Aspects that a user can see –>
<visible>
<aspect name="dac:itproject" />
</visible>
<!– Aspects that a user can add. Same as "visible" if left empty –>
<addable>
</addable>
<!– Aspects that a user can remove. Same as "visible" if left empty –>
<removeable>
</removeable>
</aspects>
</config>
<config replace="true" evaluator="string-compare" condition="AdvancedSearch">
<advanced-search>
<!– Forms for the advanced search type list –>
<forms>
<form labelId="search.form.label.cm_content" descriptionId="search.form.desc.cm_content">cm:content</form>
<form labelId="search.form.label.cm_folder" descriptionId="search.form.desc.cm_folder">cm:folder</form>
<form labelId="search.form.label.itproject" descriptionId="search.form.desc.itproject" id="dac_itprojects">cm:content</form>
</forms>
</advanced-search>
</config>
<!– dac:itproject aspect –>
<config evaluator="model-type" condition="cm:content">
<forms>
<!– Search form –>
<form id="dac_itprojects">
<field-visibility>
<show id="dac:itproject-title" />
<show id="dac:itproject-department" />
</field-visibility>
<appearance>
<field id="dac:itproject-title" label-id="proj.itproject-title" >
<control template="/org/alfresco/components/form/controls/textfield.ftl"/>
</field>
<field id="dac:itproject-department" label-id="proj.itproject-department">
<control template="/org/alfresco/components/form/controls/selectmany.ftl">
<control-param name="options">Assessor,BOCC,Clerk,Community Development,County Manager,CRRUA,DASO,Detention Center,Facilities,Fire Marshal,Finance,Fleet,Flood,Health and Human Services,Human Resources,Information Technology,Legal,Office of Emergency Management,Roads,Treasurer,Utilities,External</control-param>
<control-param name="size">5</control-param>
<control-param name="mode">OR</control-param>
</control>
</field>
</appearance>
</form>
</forms>
</config>
<config evaluator="aspect" condition="dac:itproject">
<forms>
<form>
<field-visibility>
<show id="dac:itproject-title" />
<show id="dac:itproject-department" />
<show id="dac:itproject-owner" />
<show id="dac:itproject-itmanager" />
<show id="dac:itproject-inceptdate" />
<show id="dac:itproject-completedate" />
</field-visibility>
<appearance>
<field id="dac:itproject-title" label-id="proj.itproject-title" />
<field id="dac:itproject-department" label-id="proj.itproject-department">
<control template="/org/alfresco/components/form/controls/selectmany.ftl">
<control-param name="options">Assessor,BOCC,Clerk,Community Development,County Manager,CRRUA,DASO,Detention Center,Facilities,Fire Marshal,Finance,Fleet,Flood,Health and Human Services,Human Resources,Information Technology,Legal,Office of Emergency Management,Roads,Treasurer,Utilities,External</control-param>
<control-param name="size">5</control-param>
</control>
</field>
<field id="dac:itproject-owner" label-id="proj.itproject-owner">
<control template="/org/alfresco/components/form/controls/authority.ftl">
<control-param name="compactMode">false</control-param>
</control>
</field>
<field id="dac:itproject-itmanager" label-id="proj.itproject-itmanager">
<control template="/org/alfresco/components/form/controls/authority.ftl">
<control-param name="compactMode">false</control-param>
</control>
</field>
<field id="dac:itproject-inceptdate" label-id="proj.itproject-inceptdate" />
<field id="dac:itproject-completedate" label-id="proj.itproject-completedate" />
</appearance>
</form>
</forms>
</config>
</alfresco-config>
06-16-2014 02:58 PM
06-16-2014 03:52 PM
06-25-2014 06:42 PM
<config evaluator="model-type" condition="cm:content">
<forms>
<!– Search form –>
<form id="dac_itprojects">
<field-visibility>
<show id="dac:itproject-title" force="true" />
<show id="dac:itproject-department" force="true" />
</field-visibility>
<appearance>
<field id="dac:itproject-title" label-id="proj.itproject-title" >
<control template="/org/alfresco/components/form/controls/textfield.ftl"/>
</field>
<field id="dac:itproject-department" label-id="proj.itproject-department">
<control template="/org/alfresco/components/form/controls/selectmany.ftl">
<control-param name="options">Assessor,BOCC,Clerk,Community Development,County Manager,CRRUA,DASO,Detention Center,Facilities,Fire Marshal,Finance,Fleet,Flood,Health and Human Services,Human Resources,Information Technology,Legal,Office of Emergency Management,Roads,Treasurer,Utilities,External</control-param>
<control-param name="size">5</control-param>
<control-param name="mode">OR</control-param>
</control>
</field>
</appearance>
</form>
</forms>
</config>
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.