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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,579
Community Members
 
Community Events
185
Community Groups

How to run HTML macro script in edit mode?

So for certain Confluence pages with a template table, I want to create an HTML macro script that allows users to click a button and autopopulate cells in the template table with data retrieved from an API. The issue is that I want them to be able to do this inside the edit mode, so that they click the button and the changes are saved to the Confluence page.

The issue I'm running into is that the HTML macro doesn't seem to "run" while in edit mode, so I cannot get the script to run in edit mode and therefore I can't save any changes the script makes to the table.

Is there any way to get around this? Is it at all possible to get the macro to run in edit mode?

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 12, 2023

Hi @Miguel P ,

unfortunately, in edit mode you can't do that. All macros, including HTML, are rendered in order to edit its content.

Fabio

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events