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

Accepted Answer
1 vote

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.

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

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
Community showcase
Posted Oct 11, 2018 in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

369 views 2 4
Join discussion

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