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.
AI OnAI Off
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.
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