AnsweredAssumed Answered

simple search issue

Question asked by yuva on Oct 31, 2017
Latest reply on Nov 2, 2017 by andy1

Hi

I need to create a simple search for properties of a file. For that, i created a folder structure like this

:src/main/amp/config/alfresco/extension/templates/webscripts/slingshot/search/search-config.xml

in the search-config.xml file,i placed a following code

<search>
<default-operator>AND</default-operator>
<default-query-template>%(cm:name cm:title cm:description my:authorisedBy my:licenseNumber my:companyName TEXT TAG)</default-query-template>
</search>

 

but if i try to search with my:companyName 'Companyname' it is filtering the data,but file name search is working fine.

can anyone tell me why only cm:name is working and cm:companyName filter is not working

 

Thank you,

Yuvaraj

Outcomes