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?

 

Thanks

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!

Regards,

Shannon

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

Suggest an answer

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

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

227 views 3 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