Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
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