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.
Hi,
Can you try to use EPiServer.DataAccess.SaveAction.CheckIn instead of EPiServer.DataAccess.SaveAction.Save?
Another thing I noted in your code is you're calling CreateWritableClone in the Save-method. That's not needed as DataFactory.Instance.GetDefault<T> always returns a writable instance.
I have created a page programatically
var childPage = DataFactory.Instance.GetDefault(masterPage.PageLink);
childPage.PageName = childPage .PageTitle = "XXX";
childPage.URLSegment = EPiServer.Web.UrlSegment.CreateUrlSegment(childPage);
DataFactory.Instance.Save(
childPage.CreateWritableClone(),
EPiServer.DataAccess.SaveAction.Save,
EPiServer.Security.AccessLevel.NoAccess);
when web editor select the page in page tree view he can see publish option for the page
but it is not appearing in task gadget of web editor so that the editor can check his tasks and can publish the page