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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a to call AJS.MacroBrowser.setMacroJsOverride() outside a plugin? Edited

I am wondering if there is a way to call AJS.MacroBrowser.setMacroJsOverride() outside of a plugin?  For example, calling AJS.MacroBrowser.setMacroJsOverride("my-macro", {opener: .....}) from the customHTML page or adding it to one of the pages in the Layouts section? 

I know I can call this within a plugin but that's not what I am looking to do. When I try calling it from the customHTML section or a layout page it says: TypeError: Cannot read property 'setMacroJsOverride' of undefined. 

Is this something that is just not possible or is there another JS call that does something similar that can be used outside a plugin?



1 answer

1 accepted

0 votes
Answer accepted

Hi Alex,

Thank you for contacting us about this. It looks like you're looking for help developing something for Confluence. I recommend that you also raise a thread from our Developer Community regarding this.

The reason is that this Community is meant more for end-users, whereas the members of our Developer Community have more experience with developing for Confluence. They will likely be able to help you with your question.

Let me know if you have any trouble!



Ahh sorry about that, I will post it there. Thanks

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

408 views 23 8
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you