I have written a Confluence Macro that needs the admin to setup a default value that will be system wide. My macro will then need to pull this default value and use it. At the moment I have simply hard coded it in my Macro. Obviously this is not desirable as I would have to modify the Macro for every system that uses it.
I believe that this should be done using the 'configure' button from the Add-Ons page for my Macro.
I have been looking for some sample code of a Macro that has this in it but can't find any and am at a loss as to how to find out how to do this.
Can anyone give me some tips/hints/ideas where I might find out how to do this?