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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.