Book a Demo

Author Topic: Obtain MDG from stereotype  (Read 5590 times)

rmartinezb

  • EA User
  • **
  • Posts: 44
  • Karma: +1/-0
    • View Profile
Obtain MDG from stereotype
« on: June 28, 2017, 01:05:48 am »
Hi!

There is a way of reading the stereotype of an element, get its MDG.
For example, I want to know if a collection of elements are Archimate, BPMN or other type elements.

Greetings!
« Last Edit: June 28, 2017, 01:18:54 am by rmartinezb »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Obtain MDG from stereotype
« Reply #1 on: June 28, 2017, 01:48:52 am »
Use the FQStereotype property.

q.

rmartinezb

  • EA User
  • **
  • Posts: 44
  • Karma: +1/-0
    • View Profile
Re: Obtain MDG from stereotype
« Reply #2 on: June 28, 2017, 02:06:38 am »
I just see that FQStereotype contains what i want, but its only available from version 12.1 onwards and my in my work we are using v.12.0.1207.

There is any other way to obtain that?
« Last Edit: June 28, 2017, 02:12:41 am by rmartinezb »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Obtain MDG from stereotype
« Reply #3 on: June 28, 2017, 04:37:07 am »
Code: [Select]
SELECT Description FROM t_xref WHERE Name = "Stereotypes" AND Type = "element property" AND Client = "<guid of the element>"
q.

rmartinezb

  • EA User
  • **
  • Posts: 44
  • Karma: +1/-0
    • View Profile
Re: Obtain MDG from stereotype
« Reply #4 on: June 28, 2017, 07:19:28 pm »
Thanks qwerty :D