When exporting a page, an error message appears stating: 'You cannot export this page because it is not the latest version'
Symptom
When an attempt is made to export a space and/or page from Scroll Viewport, the export does not occur and the following error message appears:
Cause
This is because the Viewport theme applied to the page(s) defines the ajs-page-id
meta tag, but it does not apply the ajs-latest-page-id
meta tag.
Resolution
To resolve this issue, admins with access to the Viewport theme need to add the ajs-latest-page-id
meta tag to the theme, with the same value:
<meta name="ajs-page-id" content="$page.id">
<meta name="ajs-latest-page-id" content="$page.id"
It should be possible to search for the specific code in the template eg. <meta name="ajs-page-id" content="$page.id">
.
However, if this is not the case, within the Viewport theme you will be able to find the correct location via navigating to: Templates > head.vm