Book a Demo

Author Topic: Imported requirements not recognizing MDG tags  (Read 6167 times)

SparxUser19

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Imported requirements not recognizing MDG tags
« on: March 27, 2018, 03:52:13 am »
Hello,

I have created a MDG technology to add custom tags to my requirements. MDG imports fine and works as expected.
The issue is when I import requirements using the CSV import option - the requirements import fine, but do not recognize the tags.

I tried the ‘synchronize tags’ option, but that didn’t seem to help.

Any one encountered this?

Thank you in advance!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Imported requirements not recognizing MDG tags
« Reply #1 on: March 27, 2018, 08:48:26 am »
I'd guess that the import will not create requirements with your MDG's stereotype but plain requirements. I'm not using the csv import. Maybe you could adapt the csv import script in the EAScriptLib. There you can assign the right stereotype programmatically.

q.

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Imported requirements not recognizing MDG tags
« Reply #2 on: March 27, 2018, 09:53:00 am »
Do you have the base type and your stereotype defined in the csv import/export?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Imported requirements not recognizing MDG tags
« Reply #3 on: March 27, 2018, 10:46:56 am »
Do you have the base type and your stereotype defined in the csv import/export?
+1
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Nizam

  • Prolab Moderator
  • EA User
  • *
  • Posts: 320
  • Karma: +15/-2
  • Model Sharing - Simplified
    • View Profile
    • Professional Model Collaboration
Re: Imported requirements not recognizing MDG tags
« Reply #4 on: March 27, 2018, 02:53:14 pm »
After bulk import, even if i set the stereotype and type, i have to (at times) run a script to set the FQStereo into SterotypeEx for EA to pick that up.
Especially with Connectors, even Synchronize Stereotype isn't resolving it.

PS - to double check you've done the right thing in import, just remove the stereotype (Save) and reapply the same stereotype, if the tags are picked up then its to do with StereotypeEx not set


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Imported requirements not recognizing MDG tags
« Reply #5 on: March 27, 2018, 04:19:23 pm »
I have used the CSV export in the exact same way (importing my tagged values added in an UML profile wit an MDG) and it worked fine for us.

I'm not sure what you are doing differently, but it at least you know it should be possible.

Geert

SparxUser19

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Imported requirements not recognizing MDG tags
« Reply #6 on: March 28, 2018, 04:42:19 am »
Thank you all for your responses.

My MDG technology was extending the base class of Requirement. The custom stereotypes that I created were for Requirement Types as well. So when I would import the requirements, even though I had the type and such defined, the MDG technology was not enabled because the requirements had the custome stereotypes and were no longer associated with a base ‘Requirement’ - as some of you suggested. :)

Thank you again for your prompt input.