November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
If anyone is wondering it does work.
var criteria = new PropertyCriteria(){
Condition = CompareCondition.Equal,
Value = "false",
Type = PropertyDataType.Boolean,
Required = true,
Name = "PageVisibleInMenu"
};
PropertyCriteriaCollection criterias = new PropertyCriteriaCollection(); PropertyCriteria criteria = new PropertyCriteria(); criteria.Condition = CompareCondition.Equal; criteria.Type = PropertyDataType.Category; criteria.Value = "false"; criteria.Name = "VisibleInMenu"; criteria.Required = true; criterias.Add(criteria); PageDataCollection ChildPages = EPiServer.Global.EPDataFactory.FindPagesWithCriteria(CurrentPage.PageLink, criterias); SideInfo.PageLink = ChildPages[0].PageLink;
I've also tested setting Value to "true".