Hey,
I just started developing confluence plugins. One thing I am trying for practice purposes, is displaying all labels of the page the macro is running on in a table. In order to get the labels of a page I need the page object of the page. This is where I am stuck at the moment.
I figured out how to display content on a page with a macro, however I am not able to retrieve any information about the page, the macro is running on.
Hi Björn,
the page is part of the ConversionContext:
public String execute(Map<String, String> parameters, String body, ConversionContext context) {
ContentEntityObject page = context.getEntity();
}
However, for app development related questions you should probably check out the Developer Community instead. ;)
Best regards,
Sven
Hi Sven,
thanks for the answer. I'll post my question in the Developer Community next time. I'm still new to the Atlassian world :).
Greetings, Björn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.