A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn 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)