Macro ID

3rdjkadjk
Contributor
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 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
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 Leaders.
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