How do I include a specific version of a page?
Asked by Vincent Spallek:

*This question is in reference to Atlassian Documentation: [Include Page Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=724765214)*

Oftentimes, I need to include a specific (released) version of one page in another page. How can this be done?


Answers:
author: Meera.Amanullah
body: Hi,  
You can use Include version macro to insert a specific revision of a page inside another. Refer to the attached image. Hope that helps.

Thank you.![Include_version.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/322875i8F38A4A630F36A45/image-size/large?v=v2&px=999 "Include_version.PNG")


author: Radek Janata
body: You can write your own **user macro** (we did it this way first but we had problems displaying embedded attachments/images from that page).

Or, you can use **[Adaptavist ScriptRunner for Confluence](https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=server&tab=support)** that has Include Version macro bundled. It displays embedded attachments/images correctly.

Check out their documentation:  
<https://scriptrunner.adaptavist.com/latest/confluence/macros/BundledMacros.html#_include_version_macro>


author: Timothy
body: Don't think the Include Page Macro does that but you can place a link to the version of the page:

* [http://wiki/pages/myviewpage.action?pageId=21364790\&version=2](http://wiki/pages/myviewpage.action?pageId=21364790&version=2)

comments: author: Vincent Spallek
body: We want to be able to print a collection of specific versions of pages as PDF. For that, I need to include them, not just link them, right?


author: Nic Brough -Adaptavist-
body: Correct, but the include macro will always take the current version of a page, that's what it's for.


author: Vincent Spallek
body: Is there another macro then that is for including a *specific* version of another page?


author: Nic Brough -Adaptavist-
body: No.

It's because a page in a wiki is in theory a live working document, so readers will generally always want to see the current version.

When doing documentation though, that can be wrong. Atlassian themselves use "Scroll Viewport" on their own Confluence to support documentation properly.


author: Nic Brough -Adaptavist-
body: No, I'm afraid not.

Conflluence is a wiki, with an implicit assumption that the users will want to see the current version of a page.

This doesn't work too well for documentation though, and it's a bit of a weakness IMHO. Even Atlassian admit it implicitly - their docs on the products are, of course, held in Confluence. With Scroll Viewport in use to enable Conflluence to do the required "fetch version of pages related to specific versions of products".


author: Vincent Spallek
body: [Scroll Viewport](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-viewport/) looks like an interesting solution that could solve our problems. Is something similar available also for Cloud hosting?


author: Henk Aarts
body: [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) You mention Scroll Viewport to manage page versions for publications. There is also a plug-in App Scroll Versions which indicates to do this as well. Although the license price is much higher then for Scroll Viewport. Do we need to use the Scroll Version in combination with Scroll Viewport to publish specific page versions as a package or is this functionality also include in Scroll Viewport? We are looking into a solution to publish a certain package version of a space.


author: roman
body: Hi [@Henk Aarts](/t5/user/viewprofilepage/user-id/1174411), versions functionality is not included with Scroll Viewport, for this you would need [Scroll Verisons](https://www.k15t.com/software/scroll-versions).

Atlassian is using both Scroll Versions and Scroll Viewport to create, manage and publish their documentation. The version picker you see in [Confluence documentation](https://confluence.atlassian.com/doc/confluence-server-documentation-135922.html) is achieved by publishing each version to a separate space with the help of Scroll Versions. The content on this published Confluence page is then added to a second "view" and presented with a custom Scroll Viewport template.

Scroll Versions is available for Confluence Server and can be tried out for free from the [Marketplace](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-versions/server/overview).

Cheers,  
Roman.


Tags: confluence-cloud

include