Starting with Strategy 9.x, Strategy ODBC Driver for Salesforce is shipped with the Strategy installation.
Follow the steps below to use Microsoft ODBC Data Source Administrator to create a DSN using the Strategy ODBC driver for Salesforce.
- On the System DSN tab, click Add. The Create New Data Source dialog box opens.
- Select Strategy ODBC driver for Salesforce, and then click OK. The ODBC Salesforce Driver Setup dialog box opens.
- Use the following tabs to define and modify the following DSN properties. While it is not required to support the connection to Salesforce.com in Strategy, user can also update DSN properties not listed below as needed to support the connection to Salesforce.com:
General tab:
- Data Source Name: Type a descriptive name that identifies the DSN in the system.
- Description: Type a statement to provide additional information about the DSN.
- JVM Classpath: Type the path where the file sforce.jar is stored. By default, this file is installed in the Strategy Common Files in the ODBC folder. A typical path to this file is C:\Program Files\Common Files\MicroStrategy\ODBC\sforce.jar.
Advanced tab:
- Transaction Mode: From the drop-down list, select 1 - Ignore.
- Fetch Size: Type a value of 160. This ensures that the driver works with Strategy standards to return data, which can in turn improve performance of the data retrieval.
- Config Options: Type the following statement: AuditColumns=AuditOnly;MapSystemColumnNames=0;CustomSuffix=Include
Web Service tab:
- Statement Call Limit: Set to 0. This allows for unlimited number of web services calls to Salesforce; it is 20 by default.
From any tab, click Test Connection to open the Test Connection dialog box:
- Host Name: Keep the default value of login.salesforce.com.
After defining the properties of the DSN, click Apply and then click OK to save the DSN.
Within Strategy on a windows machine:
- Go to the Database Instance Manager and edit the warehouse Database Instance or create a new warehouse Database Instance.
- In the Database connection type select "Salesforce", as shown below: