Created
October 21, 2015 21:06
-
-
Save csharpforevermore/aca9a0df198e1d0ebe92 to your computer and use it in GitHub Desktop.
EPiServer 6 - Get page by Id
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var pageId = 1; | |
var pageRef = new PageReference(pageId ); | |
var page = DataFactory.Instance.GetPage(pageRef) as PageType; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment