can you save data from html macro?

I have created a html macro. I can put html code inside a box and then I can see the result but I want to save data into variables confluence because when I click on save and create a new template and put my data into html macro then those data doesn't save.

1 answer

Hello Martin,

I believe you could try to use Active Objects to store your data into it. You could either use the Custom Macro you've created or try developing a plugin with our SDK:

Hope it helps, Cheers,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,146 views 4 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you