Author Topic: Cannot enable a Model Addin on a Cloud shared EA project  (Read 10629 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1370
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Cannot enable a Model Addin on a Cloud shared EA project
« on: January 12, 2024, 03:04:43 am »
Hi,

I created a Model Addin which works well when I test it on a local EAPx file or a DB EA Project with a direct access.
However if I connect to the EA project via the Pro Cloud Server, the Model Addin is stuck with a Disabled status. I've got no way to enabling it. Note it should be displayed as Optional (Specialize > Manage Addin).
Note that it works ok if the EA Security is disabled. I checked that my user account has all permissions and also tried with the admin account.

I ran a test with the latest PCS 5.1.128 and EA 15.2 as well as EA 16.1.

I didn't find any errors in the PCS Logs.

(bug submitted to Sparx)
« Last Edit: January 12, 2024, 07:19:01 pm by Guillaume »
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


DeBAAT

  • EA User
  • **
  • Posts: 63
  • Karma: +2/-0
    • View Profile
Re: Cannot enable a Model Addin on a Cloud shared EA project
« Reply #1 on: January 12, 2024, 08:50:13 pm »
Might your add-in be relying on other components like Excel?
When I tried to use the Office integration MDG to import a Visio diagram, it says it needs Visio installed.
We are using EA SaaS where the EA client is running on a cloud server connecting to a repository also in the cloud.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8083
  • Karma: +118/-20
    • View Profile
Re: Cannot enable a Model Addin on a Cloud shared EA project
« Reply #2 on: January 15, 2024, 08:53:13 am »
I've just opened it up on a security enabled model. The process is a little different but, I hate to say it, it's working for me.

First, make sure that you have 'Configure Model Add-Ins' permission. Due to how the permissions work, if an admin account was created before we added the permission it won't automatically get the new permission. Same for any other account except that the option to give that user a permission wouldn't have been available.

Once you have that permission, open the Manage Add-ins window. For each model add-in defined in your model you can now assign one ore more groups that can use it, and change the status to either Enabled or Optional for those groups.

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1370
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Cannot enable a Model Addin on a Cloud shared EA project
« Reply #3 on: January 15, 2024, 07:46:12 pm »
Hi Eve,

Thank you for the information. I confirm that assigning groups with the Manage Addins window and selecting Optional fixed the issue. It overlooked the Groups column and I now understand its purpose.
Users can choose to enable the model addin.

It works with EA 16.1 as well as 15.1 (1529). Can you advise the minimum EA build required to run Model Addins ?

Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8083
  • Karma: +118/-20
    • View Profile
Re: Cannot enable a Model Addin on a Cloud shared EA project
« Reply #4 on: January 16, 2024, 08:10:29 am »
Glad to hear it's working.

Can you advise the minimum EA build required to run Model Addins ?

Sorry, not off the top of my head. I'd just be looking in the release notes for the first build they appeared in.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Cannot enable a Model Addin on a Cloud shared EA project
« Reply #5 on: January 16, 2024, 08:14:57 am »
Glad to hear it's working.

Can you advise the minimum EA build required to run Model Addins ?

Sorry, not off the top of my head. I'd just be looking in the release notes for the first build they appeared in.


EA 15.0.1507
The Sparx Team
[email protected]