Book a Demo

Author Topic: Support own Framework with Enterprise Architect  (Read 3432 times)

Ben74

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Support own Framework with Enterprise Architect
« on: March 03, 2021, 06:48:30 pm »
I was wondering. Could I create a solution in EA Sparx which supports a my own Framework like like Archimate, TOGAF? So I could bring in own elements with specific icons and relationships which support this Framework?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Support own Framework with Enterprise Architect
« Reply #1 on: March 03, 2021, 06:53:56 pm »
Yes, sure. You need to create your own MDG (profiles and some EA-specific definitions in a XML).

q.
« Last Edit: March 03, 2021, 10:06:08 pm by qwerty »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Support own Framework with Enterprise Architect
« Reply #2 on: March 03, 2021, 07:14:00 pm »
I was wondering. Could I create a solution in EA Sparx that supports my own Framework like Archimate, TOGAF? So I could bring in my own elements with specific icons and relationships which support this Framework?
Yes, it is entirely possible, that's what we've done.  We're also (to an extent) able to extend certain formal methodologies into our own framework.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Ben74

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Support own Framework with Enterprise Architect
« Reply #3 on: March 03, 2021, 07:24:59 pm »
A super I was looking for some examples and documentation. If you have any tips please share.

I am now looking at this video: https://www.youtube.com/watch?v=385d7bv7GUE

Ben74

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Support own Framework with Enterprise Architect
« Reply #4 on: March 03, 2021, 08:30:24 pm »
Question about the Framework:
In the MDG Builder or Building Process could I "precheck" duplicate Elements? In other words.... If someone is using the MDG, could I check if the Element already exists in the Repository? Say by an OID tag?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Support own Framework with Enterprise Architect
« Reply #5 on: March 03, 2021, 08:52:31 pm »
Question about the Framework:
In the MDG Builder or Building Process could I "precheck" duplicate Elements? In other words.... If someone is using the MDG, could I check if the Element already exists in the Repository? Say by an OID tag?
NO, only GUIDs make items unique.  Nothing else.  EA has no notion of any sort of Namespace.  If you want to create one, you'll need to run the checks yourself.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Support own Framework with Enterprise Architect
« Reply #6 on: March 03, 2021, 08:54:29 pm »
Question about the Framework:
In the MDG Builder or Building Process could I "precheck" duplicate Elements? In other words.... If someone is using the MDG, could I check if the Element already exists in the Repository? Say by an OID tag?
You can't do that in the MDG.

You would need to intercept the EA_OnPostNewElement event.

That can be done with
- an add-in
- a model-addin (special Javascript)
- an EA-Matic script (see this script as an example https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library/blob/master/Projects/EA-Matic%20Scripts/PreventDuplicates.vbs)

EA-Matic is one of my free add-ins: https://bellekens.com/ea-matic/

Geert