November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
You need to set the Name attribute on your PropertyCriteria object :
criteriaFindImages.Name = "nameofyourproperty";
Thank you for the quick reply, Mari! Works great!
Has this changed in EPiServer v.5? Where could I read more info on mandatory attributes?
No, this is not new in EPiServer CMS 5 - FindPagesWithCriteria searches for pages based on Property values and require Name, Value, Type and Condition to be set in order to do its search.
Read this excellent blog post for more information:
http://labs.episerver.com/en/Blogs/Ted-Nyberg/Dates/112276/2/Search-for-EPiServer-pages-based-on-properties/
/Mari
Hi,
I receive a "Object reference not set to an instance of an object" when calling FindPagesWithCriteria.
I'm trying to select pages based on categories: