It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

User macro that does NOT update on page refresh?

Is it possible to create a user macro that would behave similarly to substituting a template in Wikipedia, i.e. it writes the data it would render onto the page so it then becomes static?

I.e. if I insert the current date onto confluence page in a macro, it updates every time the page is loaded/refreshed. I don't want to use a template if this can be avoided.

Thank you.

1 answer

1 vote

Hello Alex,

Thank you for bringing this to us.

In general, a User Macro would be used to display dynamic content. It's of course also possible to display static content, but it depends on how you're writing the macro.

In the instance, you want to display the current date. Could you help me to understand what exactly you're trying to do that requires you to display the date using a User Macro? Is there any reason why you wouldn't be able to insert the date using the Date Macro (type // to insert)? 

Thank you for your help.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

283 views 9 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you