Book a Demo

Author Topic: Best place to store add-in configuration params?  (Read 3610 times)

martin1

  • EA User
  • **
  • Posts: 57
  • Karma: +0/-0
    • View Profile
Best place to store add-in configuration params?
« 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?

EXploringEA

  • EA User
  • **
  • Posts: 172
  • Karma: +8/-0
    • View Profile
Re: Best place to store add-in configuration param
« Reply #1 on: July 10, 2014, 11:32:18 pm »
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.
EXploringEA - information, utilities and addins

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Best place to store add-in configuration param
« Reply #2 on: July 11, 2014, 05:06:18 am »
I simply use the registry key for my add-in. There you can place new strings as you wish.

q.