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
FindPagesWithCriteria:
Using CompareCondition.NotEqual on a string property in a PropertyCriteria will result in a runtime error:
"EPiServer.Core.EPiServerException: CompareCondition.NotEqual not supported in PropertySearch for strings."
.Equal runs fine of course, but .NotEqual is apparently reserved for comparing Ints only? Why is that?
There are cases where I want to find pages where a property does not match a certain string (sort of like using the exclude operator '-' in a search engine)