This functionality can be used to import information from a file into fields for existing animals. For example, if you had ultrasound or carcass data that was sent to you as a file, you could import it into Fusion using this window. It can also be used to create new animals based on the information in the file. For example, you could import information from a previous system when switching to Fusion on transition day or you might want to import animals from where you purchased them from.
When you first choose this option in the Animal List window, you will be asked to choose a file. Fusion can deal with tab-delimited and CSV. It can also handle the specialized "B5" carcass data file from Cargill. Make sure you are choosing one of the supported file types.
After you have chosen a file, Fusion will read the file in and attempt to split each row into columns. It will then display these rows and columns in a grid type format. The first step is to look at the information in this grid and make sure it looks like Fusion split the rows and columns up the way you were expecting. If it did not, the structure of the file may not be supported by Fusion.
By default, animals will not be created when the import is run. If a matching animal cannot be found in Fusion, it will be considered an error. If you want to allow animals to be created, use the popup at the top of the window to choose the location newly created animals will be associated with. All animals being created must belong to the same location. (Animals just being updated can be from any location.)
When a location is selected, Fusion will still try to match an animal already in Fusion and update it. An animal will only be created if a match cannot be found. The New Animal column will indicate whether the row will create an animal or not after the file has been verified (see below on how to do that).
You cannot use the import to change the lot of existing animals, but you will be able to assign lots to newly created animals. If the import file contains the lot name of each animal being created, Fusion can use that information to set up better default values for several fields.
When creating animals, make sure you include at least one ID field, such as RFID. Also consider trying to fill fields such as the In Date, In Weight, Current Lot, Current Pen, Home Pen, and Birthdate. In many situations the Pre-Fusion Withdrawal Date and Pre-Fusion History fields are useful to fill as well. |
You can choose which columns and rows from the file you will import and what fields each column will be imported into. You also need to tell Fusion how to figure out which row should be associated with which animal so it saves the new data to the correct animal.
The left most column is labeled Import. When the import takes place, Fusion will only import rows where this column is checked. For example, some files will have header information in the first row which you would not want to import. Make sure you uncheck rows that shouldn't be imported. You can Alt-Click (Option-Click on Mac) a checkbox to change all the rows at the same time.
For the other columns, you need to Right-Click a column header and choose an option to tell Fusion how to handle this column.
When you are done, the column headers will describe which field (if any) the column will be imported into. Purple columns are "match" columns (and will be imported for new animals) and green columns are "import" columns. White columns will be ignored.
To start the import, click the Import… button. You will be given two options:
When errors are being shown, you can scroll through the list looking for each row that has an error. If you have a lot of rows and few errors, it may be hard to find each error. When errors shown, there is a Show Next Error button that can be used repeatedly to have Fusion show you the next error in the list.
If you need to import the same type of file many times, you won't want to have to set up each column association over and over. Instead, you can save the setup as a preset and apply that preset each time you pick a similar file.
Once you have associated columns and fields and are sure the import will work correctly, click the Presets… button and choose Manage Presets. You want to add the current setup as a new preset, so click the + button in the window that appear. You can then give the preset a name so you can use it in the future.
If you make more changes and want to save the changes, click the Presets… button again and choose Save Changes To Current Preset.
You can use a preset by clicking the Presets… button and choosing Manage Presets. In the window that appears, select the desired preset and click the Use Selected Preset button. While you are in this window, you can Double-Click the name of a preset to change the name. You can also select a preset and click the - button to delete it.
After you have chosen a preset, Fusion will apply it to the columns and show the name of the preset being used next to the Presets… button.
A preset saves each column/field association. It also saves whether the first row should be imported or not. It does not save whether other rows should be imported or not, so if you have a file where the first several rows should never be imported, you will need to manually uncheck the other rows each time. It also doesn't save whether a location is selected.
If you import into the Note or the Pre-Fusion History fields, Fusion will append information to the field if there is already something there, rather than replace it. This is different from the Grid Edit window. |
When the import has completed successfully, Fusion will put a special filter on the Animal List window so that only animals that were involved in the import are shown. This gives you a chance to see that things happened correctly. Click the Clear button in the Animal List window to remove this filter.
You cannot undo an import! If you are trying an import for the first time, consider trying with only one or two rows and checking that it works the way you expect first. |
Some fields will only accept certain values, so you'll need to make sure the import file is set up with the correct values.
You can open this window by choosing Modify → Import From File… from the Animal List window.