How do you recover the body of a macro that has been removed from Confluence

With wiki, you could easily recover the macro body or rename the macro easily if the macro was removed or renamed (user macro). Now it just shows an unknown macro image with no body text. This is not good. There doesn't appear to be an easy way to get the body text back or rename the macro. Is going to storage format view and cut and paste the only alternative?

3 answers

1 accepted

This widget could not be displayed.

Hi Bob,

You could create a dummy user macro of the same name. It needn't take any parameters, but this should allow you to see the body that was previously entered. I think I've done this in the past, mainly to degrade gracefully to avoid those nasty "unknown macro" messages appearing in the page.



Yes, that is a workaround for download Confluence, but not OnDemand.

This widget could not be displayed.

Even though there are workarounds listed below, the Confluence editor should implement something much easier to cover this.

This widget could not be displayed.

Here is a way that covers OnDemand as well as download. Example 2: Renaming a macro

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 30, 2018 in Confluence

How Manon Soubies-Camy uses Confluence + Trello to organize webinar notes and her knitting stash

@Manon Soubies-Camy is an engineer who has been an avid Atlassian user since 2014. She helps companies of all sizes transform the way they work with the Atlassian stack, including Jira and Confl...

847 views 8 13
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you