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
Use EPiServer.Web.PermanentLinkUtility.FindPageReference method
Excellent. Thanks a lot Magnus, it's so simple!
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