AnsweredAssumed Answered

Search String for d:category property

Question asked by sanjaymk on Dec 15, 2010
Latest reply on Dec 16, 2010 by patil
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.

Outcomes