cancel
Showing results for 
Search instead for 
Did you mean: 

need help for advanced searching!!!

mgborras
Champ in-the-making
Champ in-the-making
This is my web-client-config-properties.xml code:

<alfresco-config>
  
   <config evaluator="node-type" condition="content">
      <property-sheet>
         <show-property name="name" />
         <show-property name="mimetype" display-label-id="content_type"
                        component-generator="MimeTypeSelectorGenerator" />
         <!– NOTE: The following 3 properties are defined here to cover –>
         <!–       the scenario where content is added via CIFS or FTP –>
         <!–       and so the properties are missing –>
         <show-property name="title" display-label-id="title"
                        ignore-if-missing="false" />
         <show-property name="description" display-label-id="description"
                        ignore-if-missing="false" component-generator="TextAreaGenerator" />
         <show-property name="author" display-label-id="author"
                        ignore-if-missing="false" />
         <show-property name="size" display-label-id="size"
                        converter="org.alfresco.faces.ByteSizeConverter"
                        show-in-edit-mode="false" />
         <show-property name="ndoc" display-label-id="ndoc" ignore-if-missing="false"/>
         <show-property name="nif"    display-label-id="nif" ignore-if-missing="false"/>
         <show-property name="napell" display-label-id="napell" ignore-if-missing="false"/>
         <show-property name="lemis"  display-label-id="lemis" ignore-if-missing="false"/>
         <show-property name="femis"  display-label-id="femis" ignore-if-missing="false"/>      
         <show-property name="cterr"  display-label-id="cterr" ignore-if-missing="false"/>
         <show-property name="est"    display-label-id="est" ignore-if-missing="false"/>      
         <show-property name="fest"   display-label-id="fest" ignore-if-missing="false"/>      
      </property-sheet>
   </config>

And i'd like to do an davanced search to find this new properties, like:

    ndoc
    nif
    napell
    lemis
    femis
    cterr
    est
    fest
Plz this is very important….a've to do it for TODAY!!!! Thanks a lot for your help…
3 REPLIES 3

kevinr
Star Contributor
Star Contributor
Are these properties from a custom model? If so you need to specify the property name using the short uri format, so something like this:

<show-property name="custom:ndoc" display-label-id="ndoc" ignore-if-missing="false"/>

Replace custom: with the short name form of the uri for your model.

Thanks,

Kevin

mgborras
Champ in-the-making
Champ in-the-making
what is a custom model??? Plz excuse my ignorance, but i'm new on this one and don't know how to do… Smiley Sad  Smiley Sad  Smiley Sad

kevinr
Star Contributor
Star Contributor
What exactly are you trying to do? And where did the values such as 'napell' and 'lemis' come from?
http://wiki.alfresco.com/wiki/Data_Dictionary_Guide

Kevin