Hi all,
I just want to share this simple macro for those who need it (e.g. for new template, ...). Feel free to edit and share it. :-)
## Macro name: current-page-link
## Macro title: Current page link
## Macro has a body: No
## Body processing: No macro body
## Description: Create a link with the name of the current page
##
## Developed by: Raduz Sedlar
## Date created: 16.06.2020
## @noparams
## Short link of current page (using name of the page as a link)
<ac:link>$action.getGlobalSettings().getBaseUrl()$content.getUrlPath()
## Full link (display full confluence page link)
## <ac:link>
## <ac:plain-text-link-body><![CDATA[$action.getGlobalSettings().getBaseUrl()$content.getUrlPath()]]></ac:plain-text-link-body>
## </ac:link>
Hi Markisio,
you must create custom macro under Admin section of Confluence and then apply it on page you want.
This is great! Thanks Raduz.
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.