cancel
Showing results for 
Search instead for 
Did you mean: 

Search for new metadata added to a space

lourdes
Champ in-the-making
Champ in-the-making
I created a space with new metadata.
But the search does not search for that metadata.
Have I done something wrong?
What can I do for alfresco look into my new metadata?
2 REPLIES 2

sselvan
Champ in-the-making
Champ in-the-making
We have discussed this in two other forum posts recently.

I am assuming you are talking about in Alfresco Explorer, correct?

Add the following to your web-client-config-custom.xml in <Alfresco_Home>\tomcat\shared\classes\alfresco\extension


<config>
   <client>
   <search-max-results>100</search-max-results>
   <simple-search-additional-attributes>
      <qname>
         {http://www.alfresco.org/model/content/1.0}description
      </qname>
   </simple-search-additional-attributes>
   </client>
</config>

Replace description with your metadata you desire.

If it is a custom metadata, the qname has to be different. it is has to be {yourcustom.model}yourpropertyname

Hope this is helpful!

lourdes
Champ in-the-making
Champ in-the-making
Thank you very much

I´ll try it

…custom-wizard\alfresco\model\extension\model\ajcustomspace.xml
  <namespaces>
              <namespace uri="aa.espacio.personalizado" prefix="aa"/>
       </namespaces>

…custom-wizard\alfresco\model\extension\ui\aj-web-client-config-custom.xml

<config>
      <client>
         <simple-search-additional-attributes>
            <qname>{aa.espacio.personalizado}solNombre</qname>
            <qname>{aa:espacio.personalizado}solPrimerApellido</qname>
         </simple-search-additional-attributes>
      </client>
   </config>