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

What is the purpose of ac:macro-id? where can i locate it

3rdjkadjk
Contributor
June 14, 2023

I have been struggling to find a way of how to make a certain macro work because when i click a link it displays configuration not found though the macro is okay .is there a way i can solve this ?

 

the macro is :

<ac:structured-macro ac:macro-id="70c38d3a-041e-59bc-9897-0ca18a9a1ab9" ac:name="expand" ac:schema-version="1">
<ac:parameter ac:name="title">see all reports</ac:parameter>
<ac:rich-text-body>
#end

2 answers

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 15, 2023

Macro parameters are accessible by viewing the Storage Format of a page: 

  1. Click on the ellipsis "..." on the top right of a page
  2. Then click on 'Advanced details'
  3. Then on 'View Storage Format'.

This will allow you to Ctrl+F and find any instance of a macro by name or content within it. You can then inspect the macro's parameters, including it's ID. 

However, I don't think that will be extremely useful when trying to resolve your issue. Do you have any additional details or screenshots related to the issue you are seeing?

One thing I'd recommend is to use the storage format to copy the content within the macro and then insert a new Expand macro and paste the old content into it. Basically, replacing the faulty macro with a fresh one.

Good luck!

1 vote
Frederik Vantroys
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 14, 2023

Hi @3rdjkadjk ,

I found this that might be helpfull :

 

If you need to locate the ac:macro-id attribute for a specific macro in Confluence, you can follow these steps:

Edit the Confluence page containing the macro.
Place your cursor within the macro or near it.
Click on the macro to select it.
Look for a small toolbar or menu that appears near the macro. It might have options such as "Edit," "Delete," "Properties," etc.
Locate an option that provides additional information about the macro, such as "Macro Properties" or "Macro Browser."
Click on that option to access the macro's properties or details.
In the macro properties or details, you may find the ac:macro-id attribute, along with other macro-specific information.

3rdjkadjk
Contributor
June 14, 2023

This was helpful but ddn't worked .

Nic Brough -Adaptavist-
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 15, 2023

It was an AI post, which are usually wrong.

TAGS
AUG Leaders

Atlassian Community Events