Create an import definition that merges external data with existing records

Outside of FH, you can create a file containing the data you wish to import into FH, and then import the file and merge the data with your existing FH records.

While FH can import several different file types, a comma-separated value (.CSV) file is the recommended file type for data being imported. You can use Microsoft Excel to create a spreadsheet of data, and save it to a .CSV file (also known as a comma-delimited file).

Warning: The data items being imported from the external data file must have unique identifiers, to prevent data conflicts with records already in FH.

Example: If you are importing a data file containing fire hydrant flow and maintenance information, each hydrant should have a unique ID number. If you are importing a file of staff member information, each staff member should have a unique ID number.

Note: The structure of the data file makes exporting data to a specific FH field easier. A best practice for the data file is to name columns of data.

Warning: Back up your FH database before importing and merging external data with your existing FH records.

  1. Log into FH as an administrator.
  2. Choose Administration →Database Administration → Import from External Data Source.

    The External Data Imports dialog box appears.

  3. Click New.

    The Select Import Type dialog box appears.

  4. Verify that Standard Database Import is selected, and then click OK.

    The External Data Import Properties dialog box appears.

  5. For Import Name, type a name for the import you are creating.

    Example: Hydrant Data Import

  6. In Source Type, select the type of data file you want to import.

    Note: The Comma-Delimited option corresponds to a .CSV file.

  7. For Source File Name, type the path and file name of the external data file you created, or click the lookup button and use the file browser that appears, to navigate to and select the file.
  8. Click Save.

    Regardless of the data file source type you select, an information dialog box appears.

  9. Click No.
  10. In the External Data Import Properties dialog box, click Add.

    The External Data Import Field Properties dialog box appears.

  11. From Target Table, select the table in the FH database that you want to import the data file contents into.

    Example: For a data file containing hydrant information, you would select HYD_MAIN (hydrant master records).

  12. From Target Field, select the field in FH you want to import data to.
  13. On the Source Field tab, select the field in the data file you want to export to the FH field.
  14. Click Save, and then click Close.
  15. Repeat steps 10–14 for each field of data in the data file.
  16. In the External Data Import Rules dialog box, click the Rules tab.

  17. Clear Don't overwrite existing records in target tables.
  18. Select Don't overwrite existing records in target tables again.

    The Don’t overwrite existing records in target tables dialog box appears.

  19. Select Don’t overwrite, but merge source data into existing records, and then click OK.

    Warning: If you do not select this option, duplicate records may be created.

  20. Click Save, and then click Close.