0 Replies Latest reply on Dec 14, 2016 4:40 AM by skallepalli

    How to add hidden predicate to Touch UI search

    skallepalli

      I have a requirement. I need to add one hidden predicate to the “Assets tab in the Side panel”  which should restrict the asset result. With out any search term the search url is “http://localhost:4502/bin/wcm/contentfinder/asset/view.html?_dc=1481626014721&query=order:"-jcr:content/jcr:lastModified"+&mimeType=image,application/x-ImageSet,application/x-SpinS et,application/x-MixedMediaSet&itemResourceType=cq/gui/components/authoring/assetfinder/as set&limit=0..20&_charset_=utf-8&_=1481626003056”.

       

      If I add any hidden predicate for example hidden predicate on a property “jcr:content/metadata/dc:status=Complete” then the search url always should be

      http://localhost:4502/bin/wcm/contentfinder/asset/view.html?_dc=1481643420499&query="jcr:content/metadata/dc:status”:”Complete”+order:"-jcr:content/jcr:lastModified"+&mimeTyp e=image,application/x-ImageSet,application/x-SpinSet,application/x-MixedMediaSet&itemResou rceType=cq/gui/components/authoring/assetfinder/asset&limit=0..20&_charset_=utf-8&_=148162 6003059” and it will show only the assets which are having the property dc:status=Complete.

       

      Please let em know how can I add the hidden predicate. Hope you understand the requirement.

       

      Thanks in advance.

       

      Thanks,

      Srini.