Importing Data by Using Automatic Data Mapping

As the previous exercises demonstrated, stepping through the Import Data Wizard is a straightforward process. The most time-consuming part of the process is creating a data map, which is a simple task that takes patience and an understanding of basic data concepts. To streamline the data import process, Microsoft Dynamics CRM allows you to create files that map automatically. This takes some set up using the Advanced Find tool, but you will find that it saves you valuable time in the long run.

See Also

For more information about Advanced Find, see Chapter 15.

Tip

The key to automatic mapping is the column headers in your import file. If the column headers in your import file match the field display names in Microsoft Dynamics CRM, your file will automatically map. You can create a template for your import file by using Advanced Find, so that the column headers mirror the field values in Microsoft Dynamics CRM, and then use Copy and Paste to paste the rows of data you would like to import into the template file.

In this exercise, you will create an Advanced Find query that you will export to create an import file that uses automatic mapping.

Note

Tip

USE your own Microsoft Dynamics CRM installation in place of the Adventure Works Cycle site shown in the exercise.

BE SURE TO use the Internet Explorer Web browser to navigate to your Microsoft Dynamics CRM Web site before beginning this exercise.

  1. In the application menu bar, click Advanced Find.

    The Advanced Find form opens.

  2. In the Look For field, select Accounts.

  3. In the Use Saved View field, select My Active Accounts.

    Tip

    Important

    If you cannot find the view referenced above, select one of the available views that will return at least a few accounts in the results, and continue with the steps.

  4. Click Find in the lower-right corner of the Advanced Find query page.

    The Results screen opens with the matching contact records.

  5. On the Results screen, click the Export to Excel button.

    The Export Data To Excel dialog box opens.

    Important

    Export to Excel

  6. Select Static worksheet with records from this page, and then click Export.

    The File Download screen opens.

  7. Click Save, and save the file to a familiar location on your computer as MyAccounts.xls. Then close the Advanced Find screen.

  8. Open the MyAccounts.xls file in Microsoft Office Excel, save it as a CSV file named MyAccounts.csv, and then close Excel.

    Important

    Import files must be in a comma-separated value (CSV) format. To convert an Excel file to a CSV file, open the file in Excel and use the Save As feature. In the Save As Type list, select CSV (Comma Delimited).

  9. Back in Microsoft Dynamics CRM, in the application menu bar, click Tools, and then click Import Data to launch the Import Data Wizard.

  10. Click Browse, and locate the MyAccounts.csv file.

  11. Leave the default Data delimiter and Field delimiter options, and click Next.

  12. In the Record Type list, select Account.

    The Data Map field is automatically populated with Automatic. This indicates that Microsoft Dynamics CRM has mapped your file for you.

  13. Click Next on the Select Options page.

  14. Click Import on the Confirm Import Details page.

Tip

Although it is unlikely that you will export a file from your Microsoft Dynamics CRM application and import it back into the system, you can easily use the output of the file as a template and paste import data into the file. Your file will automatically map as long as the column headings are not manipulated.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset