cancel
Showing results for 
Search instead for 
Did you mean: 

Search String for d:category property

sanjaymk
Champ in-the-making
Champ in-the-making
Hello All -

I have defined an aspect in my content model that inherits from cm:generalclassifiable and it has a property of type d:category.  How do we form search strings for these types of aspects?  For instance, if the below aspect is assigned a value of /cm:generalclassifiable/cm:UsageType/cm:Graphic, what would the search string be to get to that node directly?.

The definition of that aspect is below -
<aspect name="Tst:publisher">
            <title>Tst Publishing Department</title>
            <parent>cm:generalclassifiable</parent>
            <properties>
               <property name="Tst:publisherValues">
                  <title>Publishing Department</title>
                  
                  <type>d:category</type>
                  <mandatory>false</mandatory>
                  <multiple>true</multiple>
                  <index enabled="true">
                     <atomic>true</atomic>
                     <stored>true</stored>
                     <tokenised>true</tokenised>
                  </index>
               </property>
               <!– Used if the value we are trying to store is not in the Category list–>
               <property name="Tst:altPublisherValue">
                  <type>d:text</type>
                  <multiple>true</multiple>
               </property>
            </properties>
         </aspect>

Any help in this regard is highly appreciated.

Thanks,
Sanjay.
2 REPLIES 2

patil
Champ on-the-rise
Champ on-the-rise
try with

/TstSmiley Tongueublisher/cm:UsageType/cm:Graphic


Thanks,
Patil

patil
Champ on-the-rise
Champ on-the-rise
You can go to the Advanced Search Page, and select your custom category created ans save the search.

From the saved search you will know how to search based on the category.


Thanks,
Patil
Cignex
Bangalore