Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
e
is the event), I notice thate.Page
is not set, so I load using:PageData page = Global.EPDataFactory.GetPage(e.PageLink);
I then attempt to read the property value, it is calledpropertyName
, using:PropertyData data = page.Property[propertyName];
This gives me back a validPropertyDataCollection
instance. Howeverdata.Value
returns null. The page I am copying does not have a null value, and the default value for the page property is not null. Can anyone tell me how I can reliably get the value of this property from the page being copied please? At the moment the best I can do is extract the default value from the page type by using the following code:PageData parentPage = EPiServer.Global.EPDataFactory.GetDefaultPageData(page.PageLink, page.PageTypeID);
I'm using EPiServer 4.60.0.165 running on XP.