Get content of single page/post

Sep 11, 2012 at 4:02 PM


I'm trying to output the content from a single page to my master page, so I can use BE to manage front page content.

I believe I'll need something like 

BlogEngine.Core.Page page = new BlogEngine.Core.Page;

But I've yet to guess my way to it. Can anyone point me in the right direction please?

Sep 13, 2012 at 2:40 PM

Again I figured it out myself eventually :)


BlogEngine.Core.Page page;                               
page = BlogEngine.Core.Page.GetPage(new Guid("3d7533f4-29de-4251-94c3-04fb077bec86"));                               


The only way I've found to get the guid is to look in 

\\sdl-web\e$\inetpub\Shearwell New\App_Data\pages

For the content you want and copy it from there.