Hi,
I have created an add-on and added some per-repository level settings. I have the enable and disable toggle button on the settings page. Now, when either selection is made, how do I save that information so that I can use that while rendering some other pages accordingly.
Can I use localstorage to save the setting configuration? Would that be a problem when there are more than one user?
Edit: I have got to know about Active Objects. I believe that's the way forward. Please let me know if that's the right approach.
Thanks,
Kaushik
Community moderators have prevented the ability to post new answers.
Since the data to be stored is very small for my plugin, I have used PluginSettings java API to store my data on the server. It's pretty easy compared to Active Objects. I would recommend Plugin Settings over Active Objects if the data is very small.
Refer for further documentation here:
https://developer.atlassian.com/docs/common-coding-tasks/storing-plugin-settings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.