Newer Version Available

This content describes an older version of this product. View Latest

Step Three: Create the Field Mapping File

Available in: Enterprise, Performance, Unlimited, Developer, and Database.com Editions

The field mapping file associates data sources with destinations. This is a text file, typically with an .sdl file extension.

  1. Copy the following to a text file and save it with a name of accountInsertMap.sdl. This is a data insert so the data source is on the left of the equals sign and the destination field is on the right.
    1swfobject.registerObject("clippy.codeblock-0", "9");#Mapping values
    2#Thu May 26 16:19:33 GMT 2011
    3Name=Name
    4NumberOfEmployees=NumberOfEmployees
    5Industry=Industry
    6

    For complex mappings, you can use the Data Loader user interface to map source and destination fields and then save those mappings to an .sdl file. This is done on the Mapping dialog box by clicking Save Mapping.

    Tip