A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Correct way of retrieveing the pagereference when having the PageGuid

Vote:
 

In Xforms among other things the PageID as an identifier is obsolete, and i need a way to retrieve the PageReference of a page - given the PageGuid.

Using reflection i've found a method: 

 PageReference p = EPiServer.Web.PermanentLinkUtility.FindPageReference(PageGuid);

 But I Do not know if the method is intended to be used in this manner.

 

Please advice.

#32972
Sep 28, 2009 8:18
* 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.