I am currently working on a Connect add-on and would like to configure a Dynamic Content Macro via User Input. I.e.:
User opens macro → Dialog is shown → user provides a value for configuring the macro → dialog closes and macro is executed with the value provided as a parameter
So far I have implemented that. Now I wonder what is best practice in order to save the configuration of the macro so that the user does not have to configure the macro every time.
Is there a way to add this to the macro directly on the client (bind it to the item on the confluence page), or should it rather be saved on the server?
Is there a sample code for this that you can look at?