Is there a simple in built way to maintain data in Confluence when writing your own macro? This data needs to be queryable across pages, i.e the user will add the macro to their wiki page. Then this data can be queried by another summary macro.
I have read something about Bandana but I am not sure how to get this to work with my plugin.
Hopefully this link can help you on the various options on how to persist data in Confluence: http://confluence.atlassian.com/display/CONFDEV/Persistence+in+Confluence Sherif
Using Bandana for persistence is no longer recommended. Since Confluence 4.3 there is a new ORM layer available for plugins data persistence - Active Objects.
This is a little dated - but my old Twikkir plugin for Confluence makes use of Bandana persistence with a plugin. Some details and a link to the source are here:
http://www.every108minutes.com/2008/06/let-your-confluence-tweet.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With