Book a Demo

Author Topic: Assigning attributes to all Elements in Archimate  (Read 6000 times)

DavidM

  • EA User
  • **
  • Posts: 82
  • Karma: +0/-0
    • View Profile
Assigning attributes to all Elements in Archimate
« on: January 30, 2021, 02:40:23 pm »
Hello,
Can anyone tell me if it is possible to assign a predefined set of permanent attributes to Sparx, without creating an MDG?
Specifically I would like the attributes for Archimate to reflect maturity levels etc (a common EA request).

It's been a while since I used Sparx, I remember it couldn't be done.
So user story is
Create a new Archimate element, the element has the attributes already associated it with it, just waiting to be populated.
Thanks
David

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Assigning attributes to all Elements in Archimate
« Reply #1 on: January 30, 2021, 05:46:56 pm »
David,

With "attributes" do you mean tagged values?

It sounds like the exact use case of a UML profile, that you usually deploy using an MDG technology file.

Why would you want a solution without MDG? The only workaround I can think of is writing an add-in, but an MDG is a lot simpler and faster.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Assigning attributes to all Elements in Archimate
« Reply #2 on: January 30, 2021, 07:49:11 pm »
I never used those template packages, but do they look into the lokal tagged values?

Else I agree with Geert that a profile (placed in a MDG) is the right solution to create stereotype properties (aka. tagged values).

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Assigning attributes to all Elements in Archimate
« Reply #3 on: January 31, 2021, 12:43:19 am »
I never used those template packages, but do they look into the local tagged values?

Else I agree with Geert that a profile (placed in an MDG) is the right solution to create stereotype properties (aka. tagged values).

q.
Well David,

You'll be happy to know that I DID look into those template packages.  NOT ONLY can you set all the usual stuff; BUT, if you so desire, to have your item have pre-defined features - such as attributes and operations (I never was a proponent of the idea that Archimate items shouldn't have Features), EA will helpfully add them to your new item.  You may have to do something special for pre-existing items.   Just pop your item into the templates package and add the Features you want and voila!  BTW, if you add any Tags to the item in the Template Package they'll get created also!

HTH,
Paolo

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

steen.jensen

  • EA User
  • **
  • Posts: 181
  • Karma: +8/-1
    • View Profile
Re: Assigning attributes to all Elements in Archimate
« Reply #4 on: January 31, 2021, 09:39:22 am »
Yes, we also use template Element as I don´t have skills to create an MDG.
Some Requirement element with 15 different Tags and some Archimate element with tags and colors works great, exept when created elements from projekt browser, then the Template packages is not used.
Maybe not the same programmers  in Sparx  Inc using  same function/routines to create those element and check the Template packages first.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Assigning attributes to all Elements in Archimate
« Reply #5 on: January 31, 2021, 06:49:19 pm »
Yes, we also use template Element as I don´t have skills to create an MDG.
If you can create tagged values in the template package, you can create an MDG.
There are no special skills required at all. All you need is being able to read the instructions, and a lot of patience (for when it doesn't work)

Geert

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Assigning attributes to all Elements in Archimate
« Reply #6 on: February 01, 2021, 04:53:11 pm »
Yeah done exactly that by creating an MDG.
Happy to help
:)

DavidM

  • EA User
  • **
  • Posts: 82
  • Karma: +0/-0
    • View Profile
Re: Assigning attributes to all Elements in Archimate
« Reply #7 on: February 05, 2021, 03:10:11 pm »
No worries, found out the solution without the hassle of having to create a MDG, simply select many elements and do shift T