AI OnAI Off
objPage.Property["PageStartPublish"] = DateTime.Now.AddDay(1);
/HAXEN
objPage.Created = objDate; //<- Nope
objPage["PageCreated"] = objDate; //<- Yup!
/Fredrik
PageData objPage = Global.EPDataFactory.GetDefaultPageData(objageReference, "My page type name", EPiServer.Security.AccessControlList.NoAccess); objPage.PageName = "My page name"; objNewPage.StartPublish = dtmStartPublish; //<-- cant do this, it's read only! global.epdatafactory.save(objpage, episerver.dataaccess.saveaction.publish, episerver.security.accesscontrollist.noaccess);>-->
I'm sure there's a simple way of doing this that somone here can point out to me. Thanks in advance! /Fredrik