I want to display the Page ID with the User MACRO.
http://confluence.atlassian.com/pages/editpage.action?pageId=135922
Page ID= 135922.
So In page will display his own ID.
Page ID should display in its own page.
Community moderators have prevented the ability to post new answers.
Hello Siddheshwar, I have tested the steps outlined in this knowledgebase article - Show the content ID (page ID) in a page - and was able to retrieve the ID into the page using it.
Hello Guilherme,
Thanks...:) It is working..
cheers,
Siddheshwar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Guilherme Nedel [Atlassian] Similar to this original request, I would like to use the page/content ID in my user macro (the end goal of which is to create an Export to PDF button). However, rather than simply displaying the ID on the page, I would like it to be appended to a link. Here's a really basic (obviously not working) version of my macro: ## @noparams <a href="https://confluence.x.com/spaces/flyingpdf/pdfpageexport.action?pageId="; + $content.getIdAsString()> <button class="aui-button aui-button-primary">Export to PDF</button> </a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Lana,
did you find a way to display the page ID e.g. in the header for the PDF export?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Siddheshwar mhetre,
For the Confluence Cloud, anew plugin was created for displaying the page ID . QC Documents for Confluence Cloud .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.