Forums

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

How can I set a macro's macro id programmatically

James August 17, 2020

I am writing an add-on that keeps state information for instances of macros on a page.

I want to retrieve the state of each instance of the  macro on a page (there may be many), by referencing its macro id, but the macro id gets changed each time the page is changed.

I can set the id manually using the macro editor dialog box, but I can't see now to set the id programmatically. I don't want to have to manually set an id for each instance of the macro.

How can I programmatically set the macro id for an instance of a macro on a page?

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, knowledge sharing, intentional knowledge sharing playbook, loom, confluence, team collaboration, knowledge management, workplace productivity, information silos, documentation best practices, internal communication, knowledge sharing strategies

Conquer collaboration chaos with Loom + Confluence

You don't need more tools. You need tools that actually work together – the way humans do. See how Loom + Confluence help teams collaborate with more context, more connection, and fewer calendar invites. 💪

See inside
AUG Leaders

Atlassian Community Events