The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Macro ID

3rdjkadjk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 29, 2023

How can one create a macro id ,or where should i locate it to input it on a user macro ? kindly anyone assist ...  Capture.PNG

1 comment

Comments for this post are closed

Community moderators have prevented the ability to post new comments.

Matt
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 29, 2023

The macro-id attribute is used to identify macros within a page. If one is not provided, or if two macros have the same id, Confluence will create one on its own.

The macro-id attribute was introduced in Confluence 5.8: https://developer.atlassian.com/server/confluence/preparing-for-confluence-5-8/#storage-format-changes-for-macros

So, if you're creating a custom user macro, it may be safe to omit this attribute. Let Confluence do its thing and provide one once the macro is added to a page.

TAGS
AUG Leaders

Atlassian Community Events