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
Hi
This is not possible to answer without
The template is used when a field is not defined, If you type in a single word "woof" it will expand to search many fields using the query template. For "cm:name:woof" you have provided a field so if will not use the template.
Andy
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.