Importing Data

The fastest way to get up and running is to import your existing auction data.  You can import from Turbo Lister, a flat file or directly from eBay.  You probably imported your data when you first ran the Setup Assistant.  If you did not, you can import it now from File|Import on the main menu.

 

Different programs will contain different amounts of useful data for eB.  Depending upon how you imported your data, you may need to perform some more tasks to get your database in shape.  

Importing from Turbo Lister

Turbo Lister doesn't export its entire database all at once. Instead, it exports one folder at a time.  The best way to import from Turbo Lister is to create same-named folders, one at a time, importing data into each of them separately.

 

To import from Turbo Lister, select File|Import|Import Turbo Lister CSV File.

 

Importing from eBay

In the very best-case scenario, if the listing was created using Blackthorne, just about every piece of information, including information that is completely independent of eBay (e.g.: part numbers) will be imported.  

 

To import from eBay,  choose File|Import|Import from eBay.  

 

When importing eBay listings that were created with other programs, more information will be lost:

 

Archiving While Importing

Archiving reduces clutter and speeds up operation of the program, while keeping all information still available if needed.

 

With this in mind, the import program automatically archives data, subject to the following criteria:

 

 

In addition to the six-month boundary, incomplete items (no listings ever created from them; missing user information and option settings) are also archived.

Importing from a Flat File

If your data is not in a format that is directly importable (Turbo Lister or on eBay), then you can use the flat file import to retrieve your data.  A flat file is a file that contains all of your data in a readable format.  The data for each imported item will appear on its own line in the flat file, and the fields are separated on the line by a comma or tab.  Many software packages allow you to export your data into flat files which can then be imported into Blackthorne.

 

Since different programs will export data differently, part of your job when importing from a flat file is to create a mapping between the two formats.  You will be shown your flat file and the field names in Blackthorne.  It will be up to you to match up which field from your flat file will import into a particular field in Blackthorne.  Once a mapping is created, you will be able to save it so you can import similar files easily in the future.

 

It is very likely that the data you are importing will not contain all of the fields that Blackthorne expects.  There are a few different ways you can have the import fill in this missing data.  You can specify a constant value that will be set for all records (i.e. set $9.99 as the Starting Price for everything) and/or you can specify an Item Template to use for any missing values.  By using an Item Template, you can enter all the fields that are common once in the Item Template and not have to worry about importing them.

Definition of a Flat File

Before proceeding, we should first define the requirements for a valid flat file.  To be properly imported, a flat file must:

 

 

Following is an example of a flat file:

 

TITLE,ARTIST,LABEL,COMPOSER,DATE,COPYRIGHTDATE,RUNNINGTIME,VALUE,VALUEDATE,COPIES,UPC,ISBN,LCCN,DEWEY,USERNUMBER,FORMAT,SERIES,SOUND

(Theme From) The Lord Of The Rings,Aragorn Ballroom Orcestra,Fantasy,,1978,,,19.77,2007-08-12,1,,,,,,,,Stereo

Ballad Of A Menace,C.P.O.,Capitol Records,,1990,,,13.77,2007-08-12,1,,,,,,12&doublequote;,,Stereo

I Want It Now,Cameo,Atlanta Artists,,1990,,,6,2007-08-12,1,,,,,,,,Stereo

Machismo,Cameo,Atlanta Artists,,1988,1988,44:56,7,2007-08-23,1,,,,,,LP,,Stereo

Dancing Barefoot EP,"Celibate Rifles, The",What Goes On UK,,1988,1988,,14.77,2007-08-23,1,,,,,,12&doublequote;,,Stereo

Panic / Tainted Love,Coil,"Wax Trax! ""Waxy"" Records",,1985,,,24.77,2007-08-22,1,,,,,,PS 12&doublequote;,,Stereo

 

Many common applications such as Microsoft Excel can export data in this format.

To import a flat file:

  1. Create a valid flat file as described under Definition_of_a_Flat_File.

  2. From the main menu, select File|Import|Import from Flat File.

 

 

  1. Browse to your flat file and click OK.  The Import from Flat File window will appear.  

 

 

  1. If you have previously performed a mapping for this type of file, you can select it from the "Select an existing Map file if available:" dropdown.  If not, leave it set to AutoMap.  AutoMap will automatically map any fields from the flat file that have the same name as a field in Blackthorne.  This will act as a good starting point for you to complete the mapping.

  2. For each field in your flat file that you would like to import, drag the column header from the grid at the top of the Mapping group to the corresponding Blackthorne Field in the Mapping table.  Your mapped fields will appear as [[FieldName]].  The Description and Allowed/Sample Values columns will help you understand the Blackthorne fields and the type of data they are expecting.

 

If your flat file column names are the same as the Blackthorne Field names, ignoring any blanks, then the mapping of those fields will be performed automatically when you load the flat file.  For instance, the flat file had a field called "Title" and the Blackthorne Field name is "Title", so this field was automatically mapped.  Likewise a field in your flat file called "StartingPrice" would map to the "Starting Price" field in Blackthorne.

 

  1. If there are any constant values that you would like set for every record imported, you can place the value in the mapping table.  For instance, as shown above, you can set the "Track Inventory" field to True and the "Subtitle" to "Your one stop shopping for all your music!", simply by placing those values in the mapping table.  The Description and Allowed/Sample Values columns will help you understand the Blackthorne fields and the type of data they are expecting.

  2. If desired, specify an Item Template to use as a default for any non-mapped fields.  By entering an Item Template, you can have many of your fields automatically filled into your newly imported items.

  3. If desired, click the Save button to create and name a Map file.  This Map file can then be used in the future when you are importing other files with the same format.  You can also exchange Map files with other users.  For instance, if you are converting to eB from another application and you have created a Map file to bring the data into eB, you may want to offer that Map file to other users on the Discussion Board.  Likewise, you may want to see if someone else has already created a Map file for your file format.

  4. Click the Import button to perform the import.  Depending upon the amount of data being imported, this may take a little while.  The imported records will appear in the current folder, or in All Items if there is no folder selected.

 

When importing, any fields that are not valid (i.e. importing text into a currency field) will not be imported.  Any fields that are too long will be truncated.  At the end of the import you will be notified if any data was not imported.  A complete list of the errors can be found on the Import Errors tab of the Activity Log (Tools|Activity Log).

 

When importing Field Presets, Templates or Accounts, the data can contain the full name of the preset, template or account, or it may be the internal ID number assigned by eB.

 

Steven sells DVDs.  Every month, he receives a CSV file containing the Title, Desc and Cost to him.  He wants to import these into Blackthorne and with as much information filled in as possible and set his Starting Price to $2.00 above his cost.

 

Before doing the import the first time, he creates an Item Template for DVD's.  This Item Template contains the Subtitle, Seller Account, Category, Listing Format, and many other fields already filled in for DVD's.  It even has the Field Presets for Listing Upgrades, Shipping, and Payments filled in.

 

When Importing the Flat File, he loads the Map file that he created the first time he imported a file of this type.  That Map File maps the Title field to Title, Desc to Description and Cost to Starting Price.  It also specifies his DVD Item Template as the default item template.

 

When he clicks the Import button, each record in the CSV file becomes a record in his current folder.  It has the Title, Description and Starting Price filled in from the CSV file and all the other fields filled in from the Item Template, so his item is pretty much ready to list.

 

The one last thing he needs to do is change the Starting Price to be $2.00 more than his cost, so he selects all the imported records and does a Bulk Edit to add $2.00 to the Starting Price.

 

Some Notes on Field Presets

The primary purpose of Field Presets is to "normalize" the item records.  This means that instead of every item storing all the values for Listing Upgrades or Shipping for instance, we store sets of values once and each item refers to a set of those values.  The advantages to normalization include making the database much smaller and allowing the user to make changes to many records in just one place.

 

When importing from a flat file, if we read all of the individual values from the presets into an item record, we would lose the benefits of normalization.  Therefore, on import, we require you to specify an existing Field Preset and not the individual values in a Field Preset.  By doing this, we ensure that the user can still make changes to multiple items in just a single location.

 

Field Presets can be specified in the flat file by their name, or they can simply be excluded from the flat file and specified in the associated Item Template.

 

Updating from a Flat File

In addition to creating new records from a flat file, there is also a feature to allow for updating existing Item, Listing and Sales records from a flat file.  A flat file is a file that contains all of your data in a readable format.  The data for each record will appear on its own line in the flat file, and the fields are separated on the line by a comma or tab.  Many software packages allow you to export your data into flat files which can then be used to update your data in Blackthorne.  See Definition_of_a_Flat_File for more information on what a flat file is.

 

Steven sells DVDs.  Every week, he receives a file from his supplier that contains the Part Number and Retail Price of any DVD's that have had price changes.  Steven uses the Retail Price - $2.00 as his Fixed Price on Buy It Now auctions.

 

By using the flat file update, he can update all the affected items at once by doing a simple Update from Flat File.

 

To update from a flat file:

  1. Create a valid flat file as described under Definition_of_a Flat File.

  2. From the Items Actions, Listings Actions or Sales Actions menu, select Update from Flat File.

 

 

  1. Browse to select your flat file.

  2. Select the common field (unique key) you would like to match on:.  This is the field that will have the common data in both Blackthorne and your flat file so Blackthorne knows which records to update.  Whichever value you choose, your flat file must have a field that has the exact name as the value chosen in the dropdown.  Click OK when finished.  The Update from Flat File window will appear.  

 

 

  1. If you have previously performed a mapping for this type of file, you can select it from the "Select an existing Map file if available:" dropdown.  If not, leave it set to AutoMap.  AutoMap will automatically map any fields from the flat file that have the same name as a field in Blackthorne.  This will act as a good starting point for you to complete the mapping.

  2. For each field in your flat file that you would like to update, drag the column header from the grid at the top of the Mapping group to the corresponding Blackthorne Field in the Mapping table.  Your mapped fields will appear as [[FieldName]].  The Description and Allowed/Sample Values columns will help you understand the Blackthorne fields and the type of data they are expecting.

 

If your flat file column names are the same as the Blackthorne Field names, ignoring any blanks, then the mapping of those fields will be performed automatically when you load the flat file.  For instance, if the flat file had a field called "Title" , the Blackthorne Field name is "Title", so this field would be automatically mapped.  Likewise a field in your flat file called "StartingPrice" would map to the "Starting Price" field in Blackthorne.

 

  1. If there are any constant values that you would like set for every record updated, you can place the value in the mapping table.  For instance,  you can set the "Track Inventory" field to True and the "Subtitle" to "Your one stop shopping for all your music!", simply by placing those values in the mapping table.  The Description and Allowed/Sample Values columns will help you understand the Blackthorne fields and the type of data they are expecting.

  2. If desired, click the Save button to create and name a Map file.  This Map file can then be used in the future when you are updating from other files with the same format.  You can also exchange Map files with other users.  

  3. Click the Update button to perform the update.  Depending upon the amount of data being imported, this may take a little while.

 

When updating, any fields that are not valid (i.e. updating text into a currency field) will not be imported.  Any fields that are too long will be truncated.  At the end of the update you will be notified if any data was not updated.  A complete list of the errors can be found on the Import Errors tab of the Activity Log (Tools|Activity Log).

 

When importing Field Presets, Templates or Accounts, the data can contain the full name of the preset, template or account, or it may be the internal ID number assigned by eB.