volume_up

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

volume_up

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

Clarification on PageDataCollection

My PageDataCollection some times returns all pages (irrespective of the PageStatus like - Published, Expired ...) and at other times returns only pages that are Published. Is there anything wrong with the way I use "FindPagesWithCriteria". PageDataCollection colPages = new PageDataCollection(); PropertyCriteriaCollection col = new PropertyCriteriaCollection(); PropertyCriteria crForm = new PropertyCriteria(); crForm.Type = PropertyDataType.String; crForm.Condition = CompareCondition.Equal; crForm.Name = "PageTypeName"; crForm.Value = strPageTypeName; crForm.Required = true; col.Add(crForm); colPages = Global.EPDataFactory.FindPagesWithCriteria(EPiServer.Global.EPConfig.StartPage,col);
#12720
Jul 24, 2006 16:24
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.