Show a specific page version of a page/attachment

Gaurav Tapadkar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 7, 2016

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?

 

2 answers

0 votes
Radek Janata February 13, 2020

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&amp;modificationDate=1504598704000&amp;api=v2

0 votes
Milo Test
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 7, 2016

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}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events