Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

How do I create a page programmatically in EPi 4.6?

Vote:
 

How can I programmatically create a new page in EPi 4.62?

There is no DataFactory.Instance.Save in 4.x SDK.

 

This link tells me how to do it in v5.

http://world.episerver.com/Get-Started/Developing-with-EPiServer-CMS/Getting-Started-Developing-with-EPiServer-CMS-5/Create-a-Page-Programmatically/

 

#40965
Jun 24, 2010 15:40
Vote:
 

Hi

I think the approach is the same as in EPiServer CMS 5, but as you noticed there is no DataFactory.Instance in version 4. Instead you use Global.EPDataFactory.

Regards

Per Gunsarfs
EPiServer development team

#40966
Edited, Jun 24, 2010 16:15
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.