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
Hi!
No need to use the build filter functionality in this case. You coud simply use MatchContained:
.Filter(x => x.MarketVisible.MatchContained(p => p.ID, contentTypeTags.ID))
Hi,
Any one help me how can match ContentRefrence from Ilist(ContentRefernce ) property using build filder
My code is mentioned below:
private FilterBuilder GetMarketTagFilter(ContentReference contentTypeTags)
{();
var filterBuilder = SearchClient.Instance.BuildFilter
if (contentTypeTags != null)
{
filterBuilder = filterBuilder.Or(x => x.MarketVisible.(contentTypeTags.ID));
}
return filterBuilder;
}
In the above code " MarketVisible" is --Ilist(ContentRefernce ) property
Thanks
Sourav