Import Reference Data

You can import reference data into a model in Enterprise Architect from a reference data .xml file that was exported from another model or from an iteration of the current model, either:

  • Manually, as required, whenever you know there is new or changed data to apply, or
  • Automatically whenever the model is reloaded into Enterprise Architect (if the file has changed since the previous import)

When you import data into Enterprise Architect, the system merges the incoming data with the existing data. If a record already exists it is updated to the new values. If the record does not exist, Enterprise Architect adds a new record. Enterprise Architect never deletes records.

The automatic import checks if the source file has changed since the last import; if the file has not changed, the import does not proceed. If the file has changed, the changed data is imported; however, you can configure Enterprise Architect to display a prompt for you to allow or cancel the import.

Access:    Project | Model Import/Export | Import Reference Data > Import File tab
                  Project | Model Import/Export | Import Reference Data > Shared File tab

How to:

To import reference data manually, follow the steps below:

Step

Action

See also

1

Select the Import Reference Data menu option

The Import Reference Data dialog displays

 

2

Click on the Import File tab and on the Select File button, then select the filename to import data from

This must be an XML file produced by the Enterprise Architect Data Exporter

Export Reference Data

3

If you have entered the name of a valid file, a list of available tables to import displays in the Select Datasets to Import panel

Export Reference Data

4

Click on one or more of the tables to import

Press (Ctrl) or (Shift) to click on multiple tables

 

5

Click on the Import button to start the process

A message displays when the import is complete; generally the process is quite fast.

 

 

To import reference data automatically, follow the steps below:

Step

Action

See also

1

Select the Import Reference Data menu option

The Import Reference Data dialog displays

 

2

Click on the Shared File tab

 

3

If you are changing an existing configuration to import from a different XML file, click on the Clear button to clear the dialog fields

 

4

Click on the Select File button and browse for the filename to import data from

This must be an XML file produced by the Enterprise Architect Data Exporter

Export Reference Data

5

If you have entered the name of a valid file, a list of tables to import displays in the Datasets in File panel

Export Reference Data

6

If you prefer to control whether or not the automatic import takes place, select the Always prompt before import checkbox

 

7

Click on the Import button to import the reference data now, and to enable the automatic check and import for subsequent reloads