November Happy Hour will be moved to Thursday December 5th.

Getting PageReference object from PageGUID

Vote:
 

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.

Cheers,
James

#40710
Jun 16, 2010 11:13
Vote:
 

Use EPiServer.Web.PermanentLinkUtility.FindPageReference method

#40712
Jun 16, 2010 11:56
Vote:
 

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

#40723
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.