Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Greg_PL 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
-
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.
-
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
-
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!