We are looking for showing an old version of the page/attachment on the current version. Is there any macro or code we can use for this?
There is a "Page information" macro which provides this feature but it shows all the previous versions of the page and not a specific one.
We also found a page which described below syntax but it is not longer working.
{pageinclude:page=<page name> |version=v.18|space=<space name}
Any suggestions?
This article is related to showing historical page versions, please check my answer there:
https://community.atlassian.com/t5/Confluence-questions/How-do-I-include-a-specific-version-of-a-page/qaq-p/334516#M167995
As for attachments, you refer to attachment's version in the URL, e.g.:
https://confluence/download/attachments/12345678/filename.png?version=1&modificationDate=1504598704000&api=v2
The only thing I was able to do was add a link to an older version:
https://BaseURL//wiki/pages/viewpage.action?pageId=12345678&pageVersion=18
So you can use the HTML macro to add a redirect to a page that takes the user to the version you want.
Other than that, the markup for the Include Page macro is now:
{include:SPACEID(optional):Page name}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.