Author Topic: Add-In for MDG Activation  (Read 1430 times)

Greg_PL

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Add-In for MDG Activation
« on: March 24, 2025, 05:12:01 am »
Hi,

I need to automate MDG activation (on model/repo load -> EA_FileOpen). However I'm not able to achieve it with EA namespace... Can anyone help me?

BR,
Greg

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8083
  • Karma: +118/-20
    • View Profile
Re: Add-In for MDG Activation
« Reply #1 on: March 24, 2025, 11:45:16 am »
That's explicitly something that we won't add to the API because the end user needs to make that decision, not some random add-in author.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Add-In for MDG Activation
« Reply #2 on: March 24, 2025, 05:35:26 pm »
That's explicitly something that we won't add to the API because the end user needs to make that decision, not some random add-in author.
It's already in there: Repository.ActivateTechnology (string TechnologyID)

Not all add-ins are "public" addins that are downloaded and installed by random users.
Some of them are company specific add-ins that are only used at a specific company.
In that case it makes perfect sense to set the company MDG as the active one.

Geert

Greg_PL

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Add-In for MDG Activation
« Reply #3 on: March 24, 2025, 06:21:53 pm »
Thank you so much Geert! That is exactly the case - I'm about to prepare org-specific add-in. I'll give it a try.

Have a great day!