Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: SystemsTinkerer on August 19, 2022, 07:47:06 pm

Title: Package Control & making them unerasable
Post by: SystemsTinkerer on August 19, 2022, 07:47:06 pm
Hello friends,

I have a model created for reuse across various models called Elements-Library, and want this to be unerasable by all the people modelling. They should be able to import and use the elements from this library into their model packages and delete them from their whole model but never from Elements-Library,.

For example - In my EA project, I have two product models M1 & M2 (their diagrams & elements) in their respective packages P1 & P2 . I have another package just below the root node called Elements-Library, for keeping all the elements (classes) used in M1 & M2 models. How can delete elements only from model M1 without it getting deleted from model  M2 and Elements-Library packages? Is there a way to make my Elements-Library element unerasable and import its available elements into any other model?

Thank you.

Kind regards,
Oz
Title: Re: Package Control & making them unerasable
Post by: Geert Bellekens on August 19, 2022, 07:56:01 pm
You probably want to look into the locking mechanisms you get when you turn on the security feature.
An alternative might be to link that package to version control.

Geert
Title: Re: Package Control & making them unerasable
Post by: SystemsTinkerer on August 19, 2022, 08:03:25 pm
Hello Geert,

Thank you for the prompt reply!

Any references that you could provide for both the options you have suggested? I am not familiar with locking or version control to protect certain models.

Is there some other way for me to keep my elements-library completely out of the scope and import it to access its elements in any model?

Cheers
Title: Re: Package Control & making them unerasable
Post by: Geert Bellekens on August 19, 2022, 09:20:32 pm
I'ts all found in the manual: https://sparxsystems.com/enterprise_architect_user_guide/16.0/welcome/index.html (https://sparxsystems.com/enterprise_architect_user_guide/16.0/welcome/index.html)
The search option usually give pretty good results.

Another option is to use the Reusable Asset Service: https://sparxsystems.com/enterprise_architect_user_guide/16.0/modeling_fundamentals/reuseable_asset_service.html (https://sparxsystems.com/enterprise_architect_user_guide/16.0/modeling_fundamentals/reuseable_asset_service.html)

Geert
Title: Re: Package Control & making them unerasable
Post by: SystemsTinkerer on August 21, 2022, 04:00:15 am
Hi Geert,

Thanks for the further pointers. I will explore them and hopefully make some progress.

Cheers,
Oz