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