I'm currently working on a knowledge template in a confluence space.
I'm looking for a solution to have a filed which is filled whith the current date when the template us used by a user.
How can a do this..
I would create a user macro "creationdate" (since this is what you want, I think):
## Macro title: creationdate
## Macro has a body: N
## Developed by: Thomas Schlegel
Then, add the new macro "creationdate" to your template.
The creation date of the page is the same as the usage date of the template.
This solution works however it renders the date as a simple string.
Is there any way to create a macro that creates a date as a Date Picker Object:
We would like to add dates automatically to Tasks within a Template and the string based date doesn't add as much value as the date picker which displays as a due date in the Tasks screen.
You create a user macro in your admin section.
The user macro is added the same way as a regular macro. You find it in your list of macros after you've created it.
I've written an article about creating user macros, maybe it helps you:
But if not, don't hesitate to ask again :-)
Good Morning Thomas,
I tried out your macro and it works well so far but...only in a native page template like "plain page"
Whe I try to place it in a template like "knowledge article" it didn't work !?!
I've no clou what te reason can be...
Please forget what I've wrote - it all works well... Thank you for your support!
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