Book a Demo

Author Topic: Importing stereotype extending PackagingComponent via CSV  (Read 39 times)

Mauricio Moya (Arquesoft)

  • EA User
  • **
  • Posts: 344
  • Karma: +8/-4
  • EA Consulting and development in Spanish
    • View Profile
    • Arquehub Azure Module
I am working with a custom MDG Profile that includes a stereotype extending PackagingComponent (essentially a Package that visualizes/behaves as a Component).

Creating these elements manually via the Toolbox works perfectly. Other stereotypes in the same MDG (extending Class, Component, Node, etc.) also work fine both manually and via CSV import.

However, I am facing issues specifically when trying to import the PackagingComponent elements via CSV:

Attempt 1: If I define the Type column in the CSV as PackagingComponent (and the Stereotype column as MyProfile::MyStereotype), the import fails with errors.

Attempt 2: If I define the Type column as Package, the elements are imported, but they result in standard Packages (not PackagingComponents). Consequently, the Tagged Values appear in the standard "Tags" tab rather than being mapped to the element's general properties/fields as defined by the MDG.

Has anyone successfully imported elements extending PackagingComponent via CSV? Is there a specific string I should use for the "Type" column, or is this a known limitation?