Confluence macro migrated to 4.2 showing unknown.?

Hi All,

I have already migrated confleunce data. now i am changing plugin making it compatible to 4.2.2.

prior it was not available with macro browser.now its available with macro browser for existing pages all macros are showing unknown.

do i need to do the data migration one more time?

atlassian-plugin.xml entry for xhtml. 4.2.2

<xhtml-macro key="test"
name="test"
class="com.test.confluence.plugin.macros.test">
<category name="development"/>
<parameters/>

atlassian-plugin.xml 3.1.2

<macro name='test' class='com.test.confluence.plugin.macros.test' key='test'>
<!-- TODO: Add macro description -->
<!-- <description></description> -->
</macro>

all macros are showing as unknown is there any way how to update content compatible with xhtml-macro.

also for 4.2.2 can i write macro inside macro?

thanks.

1 answer

1 accepted

I can aswer the last question: yes, you can use a macro inside a macro:

http://www.confluenza.com/2012/06/11/use-a-macro-within-a-macro/

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

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 ...

435 views 18 9
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