cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure advanced search for the custom properties?

damodar
Champ in-the-making
Champ in-the-making
Hi,

I added new property (document rating) to the document; I wanted to configure an advanced search option to search for the document with this custom property, please give some advise how to configure.

Thanks&Regards
Damodar
6 REPLIES 6

guiyan17
Champ in-the-making
Champ in-the-making
You must configure the file "web-client-config.xml" adding the following code. The code in bold concern the advanced research, and the code underlined is what  you've got to adapt to your application…




<config evaluator="string-compare" condition="Advanced Search">
      <!– advanced search custom attribute config –>
      <!– see http://wiki.alfresco.com/wiki/Advanced_Search_Custom_Attributes –>
      <advanced-search>
         <!– type constraint drop-down –>
         <content-types>
            <!– cm:content type is implicit in this list –>
            <!– types must extend cm:content for display in the Alfresco web-client –>
            <type name="fmSmiley Tongueost" />
      <type name="my:sop" />
         </content-types>
         <folder-types>
            <!– cm:folder type is implicit in this list –>
            <!– types must extend cm:folder for display in the Alfresco web-client –>
            <type name="fm:forums" />
         </folder-types>
        <custom-properties>
      <meta-data type="my:sop" property="my:authorisedBy" />
      <meta-data aspect="my:imageClassification" property="my:resolution" />
         </custom-properties>
      </advanced-search>

   </config>

damodar
Champ in-the-making
Champ in-the-making
Thank you very much,

I done like that, I is working fine.

I wanted to implement ranking (rating to the document), I wanted to allow all viewers to rate the document with their feed back.  I added one new property i.e., document rating to the content metadata and now I am not getting any clue. Can you please give some advice on this?

Thanks in advance…

Damodar

florent53
Champ in-the-making
Champ in-the-making
hy,

Can you explain  precisly, what is the rating property ?

Is it just a metadata, or is it a relevance (pertinence) rate  ?

It's not the same …

—————

Flo

damodar
Champ in-the-making
Champ in-the-making
It is just custom metadata

Thanks&Regards
Damodar

guiyan17
Champ in-the-making
Champ in-the-making
Pffff I'm sorry but because of my poor english I don't understand what you want to do… :wink:

So if you want, you can explain with other words, and maybe I could help you  Smiley Tongue

Sorry for that,

Yannick

damodar
Champ in-the-making
Champ in-the-making
I wanted to implement rating to the documents like 1 star, 2 stars, 3 stars.. like that.  While reading the documents I want to allow the users to give their feedback about the document that I want to display as the meta data of the document 

Thanks&Regards
Damodar