Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: martin1 on July 10, 2014, 09:32:08 pm
-
What's the best place to store add-in (c# automation interface) configuration parameters? Does EA provide a convenient place where specific settings can be stored (somewhere in the project/repository, etc.) or do I need to take care of that myself?
-
Hi
In my experience it all depends on the nature of the parameters.
If they are AddIn (user) parameters Then I usually store within the users application settings as with any other application.
For those few case where I want to have project specific parameters I have created a unique view with a package that has tagged values. The issue / potential problem is that if these are parameters the users doesn't need they may just decide to delete your package, unless you have security enabled and lock the stuff!
I must say that keeping stuff in the models has never proved great but I have had to it when needing to share settings.
So it all comes down to whether it's project or user specific data.
Hope that helps.
-
I simply use the registry key for my add-in. There you can place new strings as you wish.
q.