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

1 vote
Accepted answer

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.

Regards,

Charles

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
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

458 views 3 18
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