Export and Import in the Operation Mode

In order to perform export or import from the user interface an operation of the “Export” or “Import” type has to be configured (see Setting Menu Item Properties).

If you want import or export to use one of the templates that you have defined select the template from the list. Attribute mapping will be defined by this template. If you choose not to use a template, AwareIM will create a special header row describing attributes of the object contained in each column during export and it will expect the file to contain such a row during import.

When exporting the data the user has to indicate which instances of which business object should be exported (unless a template is used). This is specified by either selecting a business object (if all instances are to be exported) or by selecting a query (the instances found by the query will be exported). Then the user can specify export options as described in the Export and Import section. When specifying export options it is possible not only to indicate which attributes should be exported but also specify the export format of each attribute. By default the format in which the value of the attribute is exported is the format defined in the attribute (see Adding/Editing Attributes). The user can override the default format and provide custom format. For example, if the Account.OpeningDate attribute is defined to have “dd/MM/yy” format, the user can override this format and define the export format to be “dd/MM/yyyy”. This option can be useful if data is to be transferred to another system as described in scenario 4 of the Export and Import section.

After the selected instances have been exported the resulting export file in CSV format can be downloaded to the user’s computer.

When importing data the user has to indicate instances of which business object are to be imported (unless a template is used) and specify import options as described in the Export and Import section. The user also has to provide the name of the file to import from and indicate whether this file is relationships file. After the instances have been imported AwareIM displays the export or import log. If there were any records in the import file that could not be imported for whatever reason, the log shows the records that have not been imported. The user can modify the import file by excluding all records that have been successfully imported; fixing the records that had errors and re-importing the file.

The format of the CSV and XML file is described in the file ExportImport.txt located in the DOC directory of your AwareIM installation.