We have a velocity template which we are calling on the click of a Custom banner button on confluence page.
We are able to render the velocity template with whatever UI we designed, however the JScript which we have defined in plugin.xml as a web resource, is not getting loaded and hence not getting applied to the velocity template.
Any idea here?
Welcome to the Atlassian Community!
I would explicitly require your web resource at the very top of your Velocity template, because registering it in your XML only defines its existence but does not automatically load it.
Are you able to use the more modern "$pageBuilderService.assembler().resources().requireWebResource()"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.