Book a Demo

Author Topic: How to use CSV-Import  (Read 3592 times)

boerniii

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
How to use CSV-Import
« on: August 22, 2006, 08:41:00 am »
Hi,

I try to import a list with the names and the aliases off use cases.

I have csv-file looking like this:
0.1$Bedarfsfeststellung
0.2$Registrierung PMO-Nummer
0.3$ggf. Anforderung Grobschätzung
0.4$ggf. Erstellung Grobschätzung per E-Mail
0.5$Projektweiterführung ja/nein

I defined a file specification as follows
Specification name: Test1
Delimiter: $
Notes:
Default filename:
Default direction: import
Default types:
Select element field: Alias, Name

To perform an import, I select a package and then select CSV import/export by right mouse click. In the mask I select the specification and the file and start the import with run. Following message is displayed:

Specification requires Type or GUID field for import.

What does this mean. Where do I have to enter this field. And what do I have to enter. I changed the specification by entering "UseCase" in the field "Default types". No change. Then I entered "GUID" in the "Select elemet field". This time I got the Result message: Import complete. I checked it - there were no use cases added. Could somebody help me?

Greetings
Boerniii

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: How to use CSV-Import
« Reply #1 on: August 27, 2006, 06:17:05 pm »
In the CSV import specification you do need to specifiy the Element Type that you are going to create in EA.

So your "Select element field:"
- has to have at least : Name, Type

The Element Type can be:
Action, Activity, ActivityPartition, ActivityRegion, Actor, Artifact, Association, Boundary, Change, Class, Collaboration, Component, Constraint, Decision, DeploymentSpecification, DiagramFrame, EmbeddedElement, Entity, EntryPoint, Event, ExceptionHandler, ExitPoint, ExpansionNode, ExpansionRegion, GUIElement, InteractionFragment, InteractionOccurrence, InteractionState, Interface, InterruptibleActivityRegion, Issue, Node, Note, Object, Package, Parameter, Part, Port, ProvidedInterface, Report, RequiredInterface, Requirement, Screen, Sequence, State, StateNode, Synchronization, Text, TimeLine, UseCase

I hope this is of help.