Hi, i have different versions of a functional documentation in different spaces. To make it simple i have
Every functionality that gets build into version 1 needs to be documented in version 2 as well, and the name of the document will stay the same. So we have:
I would now like to add a link to the page (or header) where a user can easily switch between the versions. As Version 2 is a copy of Version 1 the name of the page is identical, the only difference is the space key V1 vs. V2.
I would need to know how i can exchange the pagetitle in this [spacekey:pagetitle] with [version1:$self], [version2:$self] so that i don't need to manually create the links for each document. Is there a variable $pagename?
There is a method .getTitle(). So this should work:
$content.getTitle()
If you are on a pre 6.x version, there is this macro designed to do exactly what you want to do:
https://confluence.atlassian.com/conf59/space-jump-macro-792499201.html
Not clear why the deleted it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.