Skip to main content Skip to complementary content

ODBC example

Each data source has a different configuration and below is one example of adding an ODBC user directory connector.

Do the following:

  1. Verify that the Microsoft Access Text Driver is installed.

  2. Set up an ODBC source on the server. You need to store the data in two separate csv files, for example in this location: %ProgramData%\Qlik\Sense\temp.

    Information noteThe temp folder is not included in the default installation. You need to create the temp folder, if not already done by another QMC administrator.

    Table1.csv contains the users and Table2.csv the attributes of the users. The values in the csv files are comma separated. The tables can for example look like this:

     

    Table1

    1 userid,name
    2

    JoD,John Doe

    Table2

    1 userid,type,value
    2 JoD,email,jod@gmail.com
  3. Select User directory connectors on the QMC start page or from the StartS drop-down menu to display the overview. Add a new user directory connector, default properties (ODBC) and edit the properties:

    Example:  

    User table name: Table1.csv

    Attributes table name: Table2.csv

    Visible connections stringDriver={Microsoft Access Text Driver (*.txt, *.csv)};Extensions=asc,csv,tab,txt;Dbq=%ProgramData%\Qlik\Sense\temp

  4. Click Apply to apply your changes.

  5. Go to the User directory connectors overview and check if the user directory is displayed as Configured and Operational.

    Information noteIf the User directory name is not unique the connector will not be configured. If not operational, check the repository system log in: %ProgramData%\Qlik\Sense\Log\Repository

You have now added an ODBC data source and initial synchronization will be performed within 5 minutes (by default).

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!