AnsweredAssumed Answered

Tag search using Advance Seach

Question asked by vikash.patel@contcentric.com on Feb 6, 2017
Latest reply on Feb 6, 2017 by afaust

I have customize advance search for tag search but it is not giving any result. i have added Tag search box using following code(share-config-custom.xml).

<config evaluator="model-type" condition="cm:content"> 
<forms>
   <form id="search">
    <field-visibility>
       <show id='cm:taggable' force="true" />
    </field-visibility> <appearance>
     <field id="cm:taggable">
      <control>
         <control-param name="compactMode">true</control-param>
         <control-param name="params">aspect=cm:taggable</control-param>
         <control-param name="createNewItemUri">/api/tag/workspace/SpacesStore</control-param>
         <control-param name="createNewItemIcon">tag</control-param>
          <control-param name="mode">AND</control-param> <!-- AND or OR -->
      </control>
     </field>
    </appearance>
   </form>
  </forms>
</config>

This query is executed : TYPE:"cm:content" AND ((cm:taggable:ffe8fd19-41f1-4d01-aa35-32db1325975c))

Outcomes