Try our conversational search powered by Generative AI!

Version specific LinkUrls

Vote:
 

Hi guys,

I am trying to work out how to get a link Url from a PageVersion so that i allow editors to view unpublished pages.

If i call GetPage using the PageVersion ID property, the latest published version of the page is retrieved. Is there a way to either generate a link url from a PageVersion object, or retrieve page data for a specific version and then get the url for that page?

At the moment i am having to manually alter the page url to the format [ID]_[WorkID] but that doesnt seem right.

Thanks

#46413
Dec 10, 2010 11:38
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.