Book a Demo

Author Topic: Changing an element type to InformationItem  (Read 3740 times)

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1183
  • Karma: +30/-8
    • View Profile
Changing an element type to InformationItem
« on: December 08, 2020, 01:47:54 am »
I am trying to use Element\Manage\Change Type to change some element types to InformationItem, and having no success. I am guessing that InformationItem is not a "base type" but an extension of a base type.

Is there a workaround?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Changing an element type to InformationItem
« Reply #1 on: December 08, 2020, 02:46:09 am »
InformationItem is a metatype. I guess it should be possible to change an element into that. If not, you can use scripting and change t_object.object_type to "InformationItem".

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Changing an element type to InformationItem
« Reply #2 on: December 08, 2020, 04:07:18 pm »
Yeah, they forgot the InformationItem in the Change Type dialog.

I think I reported that issue back in 2009

So if you can be bothered change it via script or database update, if not you'll have to replace the elements with new InformationItems

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Changing an element type to InformationItem
« Reply #3 on: December 08, 2020, 07:16:59 pm »
And as usual: XMI export, edit, import...

q.