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.
PageVersionCollection colVersion = PageVersion.List ( CommonFunctions.getPagesByPageType ("GW_StartPage")[0].PageLink ); PageDataCollection colHomePage = new PageDataCollection(); for (int i=0; i < colVersion.Count; i++) { if ((colVersion[i].Status == VersionStatus.Published) || (colVersion[i].Status == VersionStatus.PreviouslyPublished)) { PageData pdHome = Global.EPDataFactory.GetPage ( colVersion[i].ID ); // <---- error colhomepage.add (pdhome); } }>---->
The line PageData pdHome = Global.EPDataFactory.GetPage ( colVersion[i].ID ); throws this error : Access was denied to page 1114_2860 I'm almost 100% sure that it is because I'm trying to get page that has been previously published. Any idea how to get pass this so that all users can use this page? Thanks Danie