The Apricot Import tool allows information pertaining to multiple records to be entered and saved at one data entry point, eliminating the need to manually create or update individual records. It can be used to transfer data from Excel files or from a historic database into Apricot.
The Import tool can be used to create new records or to update records that already exist in your Apricot database. This article explains how to update Tier 1 records. For instructions on how to create new Tier 1 records via import, click here: Import: Create Tier 1 Records. For instructions on how to create new Tier 2 records via import, click here: Import: Create Tier 2 Records.
The Import tool will guide you through a preparation page where you will decide which form to import data into. Then you will download a pre-configured template in .csv format where you will paste or enter the information to be imported. Once this has been uploaded to the Import tool, you will be guided through the process of validating and verifying the data and finally adding it to your Apricot.
Before Updating Records
Before records can be updated with the Import tool, make sure all the records you want to update have been created and saved in Apricot.
Prepare Your Data for Import
Before working with the Import tool, prepare the data you plan to import into Apricot. Your data should be in a format - like an excel spreadsheet - that will allow you to select columns or rows of data to paste into the Import tool template.
You will have to do a separate import for each form in Apricot that will be accepting imported information. If you are importing data from an old system or from a third party database that collects information on two forms, you will need to do two imports - one import into each of the Apricot forms. It can save time to separate the information beforehand into two documents.
In the example above, we created an Apricot report to find Record IDs for each of the records we want to update. Then we exported the report, leaving us with an Excel spreadsheet showing information the Import tool can use to find each record to be updated.
For more information on creating a Record ID report to use with the Import tool, please click here: Building a Record ID Based Report for Importing Data.
Access the Import Tool
To access the Import tool, click the Administrator tab at the top of the page.
In the left hand menu, select Imports.
Under "Form List," all previous files that have been imported will be listed by the form. This list will only contain information about imports that have been completed with the new Import tool.
To start an import of new information into the system, select Prepare for Import from the right hand palette.
1. Expand the black arrow under Form.
2. Select the form you would like to import information into.
Choose Import Type
1. Select import type.
- Data: A data import will add information to the fields on the selected form. The instructions that follow on this page will describe how to import data.
- Linking: A linking import will add connections between the selected form and a second form. For instructions on how to complete a linking import, please click here: Import Links.
2. Select options.
- Enforce All Required Fields will allow you to update records only if you provide information for each required field in the imported .csv file.
3. Select record action.
- "Create New" will use the information in your import file to create new unique records in your Apricot database. For instructions on how to create new records with an import, please click here: Create Tier 1 Records.
- "Update Existing" import will use the information in your import file to update or write over the information that already exists in your database. The instructions that follow on this page will describe how to update existing records with an import.
- "Both" will first apply the information in your import file to existing records to see if they need to be updated; then it will use the remaining information to create new records.
4. Reconcile: The Import tool will need to match the information you enter with information that already exists in the database to correctly identify which records should be updated. You can choose to reconcile this information using:
- Record IDs: Each record is assigned a unique record ID at the time it is created. Record IDs for the records you would like to connect can be found using a report. More information on how to build a Record ID report can be found here: Building a Record ID Based Report for Importing Data .
- Duplicate Check Fields. Each record has a unique combination of information on its Duplicate Check fields. You may already know the information contained in Duplicate Check fields for the records you would like to connect; this information can also be found in a report.
1. Under the Column Selection header, you can select which of the fields on your form you would like to update. Each item on this list is a field on the form you selected at the top of the page.
2. In the example above, we selected to reconcile using Record IDs, so we can deselect any other fields on the form. Fields that have been grayed out will be required for the import to be completed successfully.
- Make sure you select the fields you want to update.
3. Other fields can be deselected, either by selecting the "Unselect All" button or by unchecking individual boxes.
In the CSV Preview header, the Import tool will display preview of the column headers in the .csv import template. The Import tool will prepare a spreadsheet in .csv format to hold the data you will be importing. The first two rows will be dedicated to "Column ID" and "Column Name" as shown in the example above. These two rows contain information that will ensure the Import tool places your data in the right place in your Apricot.
This is what the column headers will look like in the .csv template. These should match up with the fields you have selected above.
Import Instructions will display details for the kinds of data that will be accepted for import into each individual field on the form.
1. Some fields - like name and text fields - will accept a variety of kinds of data, like numeric values or special characters, etc.
2. Some fields - like option fields - have a set list of options that can be entered into the field.
3. Note: it can be helpful to print these instructions or to export them as a .pdf document for reference.
4. When you are ready, select Download .CSV File.
5. This is the template where you will enter information to be imported into the Apricot database. It will be downloaded according to your Internet browser protocols.
Open CSV and Paste In Data
Begin by opening both the .csv template as downloaded from the Import tool as well as your spreadsheet containing the information you would like update in the database.
1. This is the .csv template as downloaded from the Import tool.
2. It has been configured with two header rows describing where the data will be added it has been imported into Apricot.
* Do not change anything in these top two rows or the first column.
3. Each column in this .csv template represents a field on a form. Each row (after the two header rows) represents one record.
4. Open the file that contains the data you would like to import. Select information from the old file and paste it into the appropriate spot in the new .csv template.
Save the .CSV Template
Once the data has been added to the .csv template, save it to your desktop or to another location on your computer where you will be able to find it later.
Return to Apricot
1. Once you have finished adding data to the .csv template and have saved that template to your computer, return to Apricot and select the Administrator tab at the top of the page.
2. Select Imports from the left hand menu.
3. Select Upload file from the right hand palette.
1. Click the "Choose File" button.
2. Find the .csv template that contains the information you want to import.
Import Overview and Progress
Once you have uploaded your .csv file, the Import Overview page will open.
1. Under Name, you can adjust the name of your import if necessary,
2. And see details about the file that has been uploaded into the system.
3. Before the information can be added to the Apricot database, it will need to go through each of the steps in the Import Progress palette.
4. You will guide the process by selecting options under the Import Actions palette. You can choose to "Run All"
5. Or select each step one at a time.
6. Your progress will be recorded by green check marks next to each step in the import process.
1. If you select "Run All," the Import tool will automatically run each of the steps in the Import Progress palette (with the exception of the "Revert" which should only be used if you want to undo the changes an import has made in your Apricot).
2. Section headers will show details for each step in the Import Progress palette.
3. A message will appear telling you how many records were imported.
4. Post-processing refers to any system action that is automatically performed on a record at the time it is filled out and saved. For example, setting a default value where appropriate or performing a calculation in a calculation field. More details are under the heading "Post Processing" below.
5. Revert will "undo" an import that *has been fully imported*. If you have completed an Import in error and need to either remove it completely or re-do it, click the Revert button.
Instead of choosing "Run All," you may also choose to manually select each Import Progress step.
1. Your progress will appear under the Import Progress palette. The first step, "Uploaded," will already be completed when this page opens.
2. The next step will appear as a button under the Import Actions palette. To move to the next step, click the "Assign Access" button.
If you utilize User Record Level Access it is important to assign the imported records to a specific owner. If not, you can ignore this field. If you are unsure whether you use User Record Level Access, please read our knowledge article User Record Level Access (User RLA)
Select the program or programs that the records should be assigned to, you can also establish program assignments at the row level, see our article Row Level Program Assignment for more information. If you do not include the Assigned Programs column in your import, all records will be assigned to the program that you choose here. It will also serve as the default when a particular row might not include a program or set of programs in the Assigned Programs column.
During the verify step, the Import tool checks the structure of the .csv file you uploaded to make sure it is suitable for importing.
1. When a file passes the verify step, you will see a green check box here.
2. Details about the columns will be listed here.
3. To continue to the next step, click Prepare.
1. If your file is found to contain errors during the verify step, you will see a red x in the Import Progress palette.
2. Details about the error will be found under the "Verified" section of the Imports page. In the example above, there was a problem with the column related to "field_2_last."
1. At the bottom of the page, an error message will give you instructions for fixing the error or will tell you "This file cannot be used for import." To move beyond this step with a successful import, a new .csv file with the appropriate columns and headers will have to be uploaded and pass the verify step.
2. If you attempt to continue the import by selecting the next step, Prepare,
3. You will get another error message: "This import has failed and cannot continue."
During the prepare step, the Import tool loads your data and tells you how many rows are going to be imported. Because two of the rows on the spreadsheet are devoted to the header columns, this number should be two less than the total number of rows on your spreadsheet.
1. If your file passes the Prepare step, it will be shown with a green check mark.
2. Details about your rows can be found here.
3. You may also download a new .csv file by selecting "Get CSV" or you may view the rows by selecting view.
1. If your file is found to contain errors during the prepare step, you will see a red x in the Import Progress palette.
2. Details about the error will be found under the "Prepared" section of the Imports page. In the example above, the .csv file contained the proper header rows but no rows of data.
1. At the bottom of the page, an error message will give you instructions for fixing the error; in this case: "Please verify that your file contains data." To move beyond this step with a successful import, a new .csv file with at least one row of data will have to be uploaded and pass the prepare step.
2. If you attempt to continue the import by selecting the next step, Validate,
3. You will get another error message: "This import has failed and cannot continue."
During the validate step, the Import tool checks the quality of each of your rows of data to ensure they can be imported.
1. If your file passes the validate step, it will be shown with a green check mark.
2. Details about your rows can be found here.
Unlike other Import progress steps, if errors are found during the validate step, you do not have to stop your import and re-start after the files have been corrected. Instead, you can import only the records that can be validated with good data and download a .csv file of the rows containing errors. These error rows can be fixed and uploaded as a second import.
1. If your file contains errors, you will see a yellow alert icon in the Import Progress palette.
2. Details about the errors will be found under the "Validated" section of the Imports page. In the example above, the .csv file contains 1 row of invalid data.
3. If you would like to download a .csv file containing only the error rows, click the "Get CSV For All Errors" button. This would be useful if you have a large file to import and would like to be able to fix the errors and upload a separate file for a separate import.
4. The View button will display the error rows so you can see which pieces of data did not pass validation.
5. If you would like to move forward with your import and fix the errors later, you may continue with the import process by clicking Reconcile.
During the reconcile step, the Import tool checks the other records in your database to ensure that the records you are updating exist in the database.
1. When a file passes the reconcile step, you will see a green check box here.
2. Details about the rows will be listed here.
1. If your file is found to contain errors during the reconcile step, you will see a yellow alert icon in the Import Progress palette.
2. Details about the error will be found under the "Reconciled" section of the Imports page. In the example above, one row does not match an existing record.
1. You may choose to go ahead with your import even if you have reconcile errors. The error rows will be skipped if you select to continue.
2. Before you can import, you will get the warning message "Some rows contain errors." These rows will not be imported. As with validate errors, you should download the .csv for all errors, located under the "Validated" section of the Import page, fix the error rows, and upload them as a separate import.
Import and Post Processing
You made it! You have imported rows!
1. A message will tell you how many rows you imported.
2. Under the "Imported" section, you can see details.
3. And download a .csv file of the rows that were imported. This can be useful if, in the future, you need to check what was imported.
4. The next step in the Import Actions palette is "Post Processing."
- Post-processing refers to any system action that is automatically performed on a record at the time it is filled out and saved. For example, setting a default value where appropriate or performing a calculation in a calculation field. Please bear in mind that Date/Time Calculations will not run in Post Processing.
5. More details about available post-processing actions will be displayed under the "Post Processing" section. In the example above, a numeric value used in a date calculation needs to be set. This is considered "pending" until you click the Post Processing button under Import Actions.
- If there are post-processing actions listed that need to show up in reports or in record search, you must proceed with post-processing. If you skip post-processing, any of the actions listed will remain blank in the database until each imported record is opened and re-saved.
1. Once post-processing is complete, the "pending" status will be changed to a green check mark.
2. The other post-import action available is Revert. This will "undo" an import that *has been fully imported*. If you have completed an Import in error and need to either remove it completely or re-do it, click the Revert button.
Note: Clicking Cancel Import after clicking Run All will not cancel the import. The only way to cancel an import after clicking Run All is to revert the import after it has run.