AnsweredAssumed Answered

Share, Aspects and Advanced Search

Question asked by arnieaustin2 on Feb 6, 2013
Latest reply on Feb 16, 2013 by arnieaustin2
After having problems with the examples found in books and via Google, I browsed through this forum.

So, let me get this straight - we have Aspects, and can create custom forms to edit the properties - but we cannot search for content with these properties because for SOME reason, Advance Search cannot do that. What?!

I'm using the Community Edition, version 4.2c.

If I am wrong, then show me how to do it. I added:

<form labelId="aspect.agy_agencyDocument"

and it shows up in the menu, but when I select the option, I get:

org.alfresco.repo.forms.FormNotFoundException: 01050034 A form could not be found for item: [type]agy:agencyDocument

My form definition is:

<config evaluator="model-type" condition="agy_agencyDocument">
      <form id="search">
            <show id="cm:name" />
            <show id="cm:title" force="true" />
            <show id="cm:description" force="true" />
            <show id="mimetype" />
            <show id="cm:modified" />
            <show id="cm:modifier" />
            <show id="agy:agencyId" />
            <show id="agy:agencyBusinessUnit" />
            <show id="agy:agencyDivision" />
         <field id="cm:description">
            <control template="/org/alfresco/components/form/controls/textfield.ftl" />
         <field id="mimetype">
            <control template="/org/alfresco/components/form/controls/mimetype.ftl" />
         <field id="cm:modified">
            <control template="/org/alfresco/components/form/controls/daterange.ftl" />
         <field id="cm:modifier">
               <control-param name="forceEditable">true</control-param>
         <!– agy:agencyDocument –>
         <field id="agy:agencyId" label-id="agy_agencyCommonModel.type.agy_agencyDocument.title">
            <control template="/org/alfresco/components/form/controls/textfield.ftl" />
         <!– agy:agencyBusinessUnit –>
         <field id="agy:agencyBusinessUnit" label-id="">
            <control template="/org/alfresco/components/form/controls/textfield.ftl" />
         <!– agy:agencyDivision –>
         <field id="agy:agencyDivision" label-id="">
            <control template="/org/alfresco/components/form/controls/textfield.ftl" />