Degraded performance We are experiencing technical difficulties at the moment. We will report back when have further details.
I would like to be able to insert the current date when exporting to PDF. From what I have read, it appears that I have to write a user macro to do this. Is this correct? If so, does anyone have a user macro that I could copy? My goal is to just have the current date printed on the title page.
It's easy to do. Here's what I did on our Confluence:
My macro is called "currentdate:
## Macro title: Current Date
## Macro has a body: N
## Body processing: Selected body processing option
## Output: Selected output option
## Developed by: Dave Theodore
## Date created: 06/10/2015
## Installed by: Dave Theodore
Keep in mind that this literally displays the current date. It will show today's date when you render the page today, but it will show tomorrow's date tomorrow. Obviously, the PDF will display the date that it was exported.
I am not being clear. I want to know how to use a macro within the PDF Layout section. Here's what I have.
<img src="/download/attachments/14812547/image2017-11-13_14-35-54.png" />
<div class="fsTitle">Edit Information: Addendum (Draft)<br><h1>
My question is how to call the macro so that it populates the Date field that I have.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, Jessica here from the Confluence Product Marketing team! July’s community challenge is all about sharing pictures — and as an extension of our first post on what ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs