Easysoft Data Access

How do I connect Logi INFO to an ODBC Database?

Article:
01087
Last Reviewed:
9th January 2015
Revision:
1

Use an Easysoft ODBC Driver to connect Logi INFO to an ODBC Database, enabling you to analyse data stored in data stores such as MongoDB and Salesforce.com from Logi INFO.

Logi INFO, which is produced by Logi ANALYTICS, allows you to develop a .NET application that uses an ODBC driver to interact with an external data source. ODBC is a data access technology, the Microsoft implementation of which is included with Windows.

Example: How to connect Logi INFO to Salesforce.com

The components necessary to connect Logi INFO to Salesforce.com are:

Logi INFO <-> Salesforce.com ODBC Driver <-> Salesforce.com

Example: How to connect Logi INFO to MongoDB

The components necessary to connect Logi INFO to MongoDB are:

Logi INFO <-> MongoDB ODBC Driver <-> MongoDB

The Salesforce.com ODBC Driver and MongoDB ODBC driver are available to download from the Easysoft web site.

Installing, Licensing and Testing the Easysoft ODBC Driver

  1. Download the Windows Salesforce.com ODBC Driver or Windows MongoDB ODBC Driver as required. (Registration required.)
  2. Install and license the Easysoft ODBC Driver on a Windows machine.

    For installation instructions, see the Salesforce.com ODBC Driver documentation or MongoDB ODBC Driver documentation.

Connecting Logi INFO to your ODBC Database

You can now connect Logi INFO to Salesforce.com or MongoDB:

  1. In Logi INFO Studio, choose New Application.
  2. Choose Microsoft.NET when prompted to choose your application type.
  3. Type "Salesforce" or "MongoDB" when prompted to name your application.
  4. Choose Next in the first three screens of the Wizard.
  5. Choose a Theme when prompted and then choose Next.
  6. Type "Easysoft Data" when prompted for an Application Caption, and then choose Next.
  7. Leave the Data Visualization set to Analysis Grid, and then choose Next.
  8. Leave the Data Layer set to SQL, and then choose Next.
  9. Choose Create New from the Connection ID list, and then choose Next.
  10. Type "EasysoftConnection" when prompted to name the connection, and then choose Next.
  11. Choose ODBC in the Connection Type list, and then choose Next.
  12. Type an Salesforce or MongoDB connection string when prompted, and then choose Next:

    Salesforce connection string:

    Driver=Easysoft SalesForce ODBC Driver;Uri=https://login.salesforce.com/services/Soap/u/27;Uid=myuser@mydomain;
    Pwd=mypassword;Token=abcdef1234
    Connection String SettingValue
    UidThe name of your Salesforce.com user.
    PasswordThe password for your Salesforce.com user.
    TokenThe security token for your Salesforce.com user, if required.

    If the connection attempt fails with an error which contains LOGIN_MUST_USE_SECURITY_TOKEN, you need to supply a security token.

    Salesforce.com emails the security token to the email address associated with your Salesforce.com user account. If you have not received a security token, you can regenerate it. Salesforce.com will then email the new security token to you. To regenerate your security token, log in to Salesforce.com and then choose Setup from the user menu. Search for "security token" in the Quick Find box. Click Reset Security Token in the Reset Security Token page. When you receive the token in your email client, copy it and then paste it into the Token field.

    MongoDB connection string:

    Driver=Easysoft MongoDB ODBC Driver;Server=mymachine;Database=mydatabase;Uid=myuser;Pwd=mypassword
    Connection String SettingValue
    ServerThe name or IP address of the host where your MongoDB instance is running.
    DatabaseThe MongoDB database that you contains the data that you want to access.
    UidIf you need to supply a user name to access your MongoDB database, include this connection string attribute. Otherwise, omit it
    PasswordThe password for your MongoDB user, if required, otherwise omit this attribute.
  13. Use the SQL Query Builder to choose the data that you want to retrieve in Logi INFO, and then choose Finish.
  14. Choose Preview to display the data in Logi INFO.
Applies To

Knowledge Base Feedback

* Did this content help you?
* Please select one option based on your first choice:

(* Required Fields)