AI OnAI Off
Category aCategory = Category.Find("How to Guides");
if (aCategory != null)
criteria.Value = aCategory.ID.ToString();
else
return ""; // Don't Search or Filter!
Hope this sheds some light on your day!
Global.EPDataFactory.FindPagesWithCriteria(Global.EPConfig.StartPage, _criterias)
And _criterias is set as follows_criterias = New PropertyCriteriaCollection Dim criteria As PropertyCriteria = New PropertyCriteria criteria.Name = “Group Two” criteria.Type = PropertyDataType.Category criteria.Condition = CompareCondition.Equal criteria.Required = True criteria.Value = “How to Guides” _criterias.Add(criteria)
So far I have not been able to get any results using this method. Please let me know how to set up criteria to retrieve documents having any given category name set to true.