cancel
Showing results for 
Search instead for 
Did you mean: 

Search with OR operator

hammerguy
Champ in-the-making
Champ in-the-making
Hi,

I have a custom model, and have successfully customized the advanced search to search for the properties of this model.
Now I'm customizing the simple search, I know how to search on the value of one property, but what I want to do
is to check if the search text exist in (Property X) OR in (Property Y).

Is that feasible?

Thanks
2 REPLIES 2

hammerguy
Champ in-the-making
Champ in-the-making
Can I use keywords to search by metatags

hammerguy
Champ in-the-making
Champ in-the-making
The solution is to change the query template in search.lib.js
By default, it's
[{
   field: "keywords",
   template: "%(cm:name cm:title cm:description ia:whatEvent ia:descriptionEvent lnk:title lnk:description TEXT TAG)"
}]

I just had to put in template the properties to search for.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.