Macro Id in Confluence

B_ Normann P_ Nielsen
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.
October 6, 2015

Whats the purpose/logic of the Macro Id in Confleunce, as in:

<ac:structured-macro ac:macro-id="21b4c3ff-28a9-415f-99a7-5c0659ef719b" ac:name="serverdoc-include-children" ac:schema-version="1"/>

I suppose its unique for the page/macro... but it does create som challenges using the Conflunce CLI... If we extract via "getPageSource" is harder to compare with the souce we want to enter (CLI 3.9.0)

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Lukas Knoch -Rumpelcoders-
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.
October 6, 2015

Macro id was introduced in confluence 5.8 to identify macros within a page. See https://developer.atlassian.com/confdev/development-resources/preparing-for-confluence-5-8

 

B_ Normann P_ Nielsen
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.
October 6, 2015

Thanks... good info, as I see it, I can reuse ID's (on different pages)

TAGS
AUG Leaders

Atlassian Community Events