SaaS CMS has officially launched! Learn more now.

Getting PageReference object from PageGUID


I have a list of GUIDs that relate to pages within my EPiServer website. How do I get the page reference/page id related to each GUID?

I had a look on the SDK online and found ResolveLocalPage Method which sends out a PageReference object, but it's not accessible.

Using search criteria also crossed my mind, but to find a single page using search criteria would be pretty inefficient I thought.

Any help on this would be great.


Jun 16, 2010 11:13

Use EPiServer.Web.PermanentLinkUtility.FindPageReference method

Jun 16, 2010 11:56

Excellent. Thanks a lot Magnus, it's so simple!

Jun 16, 2010 12:13
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.