Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I think I might use a CriteriaGroup for that. Karoline Klever has an example here:
http://karolikl.blogspot.com/2009/09/using-query-system-in-episerver.html
I´m having a problem when searching for multiple user attributes and I don´t want them all to be required. Example: I want to display all users containing query text "developers" in either in attribute "title" OR in attribute "profession".
Is there a way to set the criteria to Required=false like in PropertyCriteria?
Example:
StringCriterion criteria = new StringCriterion();
criteria.Value = queryText;
criteria.WildCardType = WildCardType.Both;
criteria.Required = false;
attributeQuery[attribute] = criteria;