Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,455,327
Community Members
 
Community Events
175
Community Groups

Insert Macro into an existing Confluence Page without knowing the new macro id

Edited

Hi atlassian connect play java developers, i would to update a page body with a new macro without knowing the new macro id !! any help plz and thnx. 

2 answers

Hi,

You do not need to provide a ac:macro-id when inserting a new macro. Confluence will take care of it anyway.

If you still want to provide a macro-id you just have to make sure that it is unique for the page (not for the system). Thus you could generate whatever id using the same pattern as in your Atlassian example.

Best,
Tobias

0 votes
AnnWorley Atlassian Team Aug 14, 2018

Hi Samer,

If you can find a page where the macro is already present, you may view the macro ID via the View Storage Format menu:

Screen Shot 2018-08-14 at 12.33.36 PM.png

For more, better tips on Atlassian Connect, please try our Developer Community as well.

Thanks,

Ann

thnx Ann, i have another problem in my addon !

When i tried to create a new blueprint in my space i got an error "we can't create content with this type of page" any help plz.

AnnWorley Atlassian Team Aug 14, 2018

There are some developers on this forum but the Developer forum is a better bet.

ok thnx Ann 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events