How do I make my macro come up with a template creation page just like macro

I have a macro that currently renders an image placeholder on the confluence editor. Now the change I need to make is that when the user selects the macro from the editor while typing {macro … , and if my macro is selected, it should NOT render the image placeholder that it was doing before but bring up a template selection screen just like macro does.

Please provide any pointers to start with here. I am trying to look up in the macro documentation but unable to find something useful yet.

May I please have any suggestions on this. This seems to be some setting in the atlassian-plugin.xml but I am having a hard time figuring this out. It will really help if I get some pointers to start with here.

Here are some resources that may help you get started. Sorry for just dumping a bunch of links on you.

1 Like