Directory Wizards Inc.

Solutions For Your Directory Needs

RSS feed
Add to Google


 

Categories

Knowledgebase

Importing from a source Database via ODBC Data Source

Category:ODBC

Last Updated:2011-08-18

 

Download PDF version

 


Requirements for using a database as a UnitySync Source:


Three Step Process to set up connection using a database file Source

  1. Create an ODBC data source for this database source (one time set up, see instructions below).
  2. Using the Connection Wizard, create a UnitySync connection:
    On the connection creation menu, select a Source Engine and Map Template of ODBC. Configure the connection’s Source tab to identify the ODBC Data Source.
  3. Create a Custom Map file to define appropriate mapping from the source database attributes to the destination attributes.

The ODBC Source Tab config article, as well as the product help file (Directory Specific Configuration: ODBC) offer general information on creating a connection using an ODBC (CSV) source, configuring the ODBC tab of your new connection, and configuring a Custom Map File for use with your CSV source.

How to create an ODBC Data Source that points to your database file:

  1. Create a directory on your UnitySync server (or a mapped drive) which will contain your ODBC input file(s). Recommend c:\UnitySync\odbc.
  2. Put your database input file in the directory. (i.e. c:\UnitySync\odbc\HRUsers.db2)
  3. Open the ODBC Data Source Administrator... From Administrator Tools, select "Data Sources (ODBC)"
  4. Click the System DSN tab, then click Add.
  5. Scroll down and select Microsoft Text Driver (*.txt, *.csv) then click Finish.
  6. Enter a name for this new Data Source (i.e. UnitySyncInput, or name the data source after the input file i.e. HRUsers)
  7. Exact configuration steps after this depend on the database type. Generally you can follow the prompts that allow you to identify the source database.