Take the community feedback survey now.
AI OnAI Off
Take the community feedback survey now.
The following criteria should work:
var categoryCriteria = new PropertyCriteria
{
Name = "PageCategory",
Type = PropertyDataType.Category,
Value = CategoryList.LoadCategories().ToString(),
Required = true,
IsNull = false
};
This will include only pages with a category
I'm trying to write a PropertyCriteria that excludes any pages where the PageCategory property is empty. There is a property that indicates if it is or not
This doesn't work
Any advice? Thanks