Sparx Systems Forum
Enterprise Architect => Uml Process => Topic started by: chesterw on June 13, 2024, 10:40:01 pm
-
Hello EA Sparx Community,
I am currently working on a project in Enterprise Architect and utilizing MDG Technologies. I need to ensure that some of the property fields for specific diagram elements are mandatory or required.
Could anyone guide me on how to configure these settings within MDGs? Specifically, I am looking for a way to enforce that certain properties must be filled out by users when they are creating or modifying elements.
For example, if I am creating a activity, the name of the activity must be filled out or you cannot create the activity.
Thank you in advance for your assistance!
Best regards,
Chester
-
You would probably need in an add-in to check and eventually croak when a new element is created.
(there is no need to post the same question in two forums)
q.
-
You would probably need in an add-in to check and eventually croak when a new element is created.
(there is no need to post the same question in two forums)
q.
Hi q, thank you for the reply! Could you elaborate a bit on how the add in could work?
-
Sort of ... You subscribe to the new-element-creation event and when your routine is called you simply check the contents and eventually croak. Geert has a nice description on "how to create an add-in in 10 minutes". (It takes a bit more than 10 minutes but within a day even I was able - with no Cxx and Windoze background.)
q.