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.
PropertyCriteria crit1 = new PropertyCriteria(); crit1.Type = PropertyDataType.Boolean; crit1.Name = "property1"; crit1.Value = true.ToString(); crit1.StringCondition = EPiServer.Filters.StringCompareMethod.Identical; PropertyCriteriaCollection critColl = new PropertyCriteriaCollection(); critColl.Add(crit1); PropertyCriteria crit2 = new PropertyCriteria(); crit2.Type = PropertyDataType.PageReference; crit2.Name = "Property2"; crit2.Value = pageRef.ToString(); crit2.StringCondition = EPiServer.Filters.StringCompareMethod.Identical; critColl.Add(crit1); PageDataCollection pages = Global.EPDataFactory.FindPagesWithCriteria(RootPage.PageLink, critColl);