The Salesforce connector allows you to connect to Salesforce databases.


Using Salesforce

  1. Launch the Connect to Data dialog and then select Salesforce.

The Salesforce Connection dialog displays.

  1. Provide the hostname, user ID, and password required to connect to the database you wish to access.

  2. Paste your Security Token. This is e-mailed to you when you set your Salesforce password for the first time.

  1. Specify other connection options if desired, making sure to separate individual connection strings by a semi-colon.

The following table lists the connection string attributes supported by Salesforce driver.

Attribute (Short Name)


ApplicationUsingThreads (AUT)

1 (Enabled)

BulkLoadAsync (BLA)

0 (unselected)

BulkLoadBatchSize (BLBS)


BulkLoadConcurrencyMode (BLCM)

1 (Parallel)

BulkLoadFieldDelimiter (BLFD)


BulkLoadPollInterval (BLPI)


BulkLoadRecordDelimiter (BLRD)


BulkLoadThreshold (BLTH)


BulkLoadTimeout (BLTO)


ConfigOptions (CO)

Empty string

ConnectionReset (CR)

0 (Disabled)

CreateDB (CDB)

2 (NotExist)

DataSourceName (DSN)






The file name prefix the driver uses to create or locate the set of files that define the embedded database per connection.

EnableBulkLoad (EBL)

0 (Disabled)

FetchSize (FS)


HostName (HOST)


Empty string (logs into the default Salesforce instance,

InitializationString (IS)

Empty string



JVMClasspath (JVMC)


LogConfigFile (LCF)

Empty string

LoginTimeout (LT)


LogonDomain (LD)

Empty string

LogonID (UID)


MaxPoolSize (MXPS)


MinPoolSize (MNPS)


Pooling (POOL)

0 (Disabled)

ProxyHost (PXHN)

Empty string

ProxyPassword (PXPW)

Empty string

ProxyPort (PXPT)

Empty string

ProxyUser (PXUN)

Empty string

ReadOnly (RO)


RefreshDirtyCache (RDC)

1 (Enabled)

ReportCodepageConversionErrors (RCCE)

0 (Ignore Errors)

SecurityToken (STK)

Empty string

ServerPortNumber (SPN)


SQLEngineMode (SEM)

0 (Direct)

StmtCallLimit (SCL)


StmtCallLimitBehavior (SCLB)

1 (ErrorAlways)

TransactionMode (TM)

0 (No Transactions)

WSFetchSize (WSFS)


WSRetryCount (WSRC)


WSTimeout (WST)



IMPORTANT: If you encounter the 'JNI error (-4): JNI_CreateJavaVM' error (as shown below):

while connecting to the Salesforce database in the 32-bit Panopticon Designer (Desktop), enter JVMA=Xmx128m into the Other Connection Options field.

  1. The easiest way to select a table and/or view to load is by choosing from a set of predefined tables and views. To do so, ensure that the Tables & Views radio button is selected. If you wish to manually construct a SQL query to pull and load data, ensure that the Query button is selected. Once either a table or view or a query has been selected, the OK button at the bottom of the dialog is enabled.

  2. Click Load Tables to load a list of predefined tables or views. This list can be filtered by entering an appropriate string in the Search Tables search box.

You can also add a duplicate column.

  1. Select a table to display the available columns in the Search Columns list. Once a table has been selected, the Query text box is updated to reveal the results of a SELECT * FROM TABLE query. Any other selection made updates the Query text box accordingly.

  2. Select the columns to add to your data table by checking their corresponding Output Column box.

  3. If you wish to parameterize a specific column, check the Parameterize checkbox and, in the dropdowns that display, select the desired value.

  4. If the data returned is to be aggregated, check the Aggregate checkbox. The following aggregation methods are possible:

    • Text Columns: Group By

    • Date Columns: Count, Min, Max, Group By

    • Numeric Columns: Sum, Count, Min, Max, Group By

    • Numeric Columns: Sum, Count, Min, Max, Group By.

The time zone of input parameters and output data is, by default, unchanged. Changing the time zone is supported by using the Timezone list box based on the assumption that data are stored in UTC time and outputs are presented in the selected time zone.

  1. Click OK to confirm the selection and retrieve the record set into Panopticon Designer (Desktop).

The flat record set corresponding to the executed SQL is returned from the source database and displayed in Data Prep with the database name as the title and all fields listed displayed in Data Source Preview.

  1. If you wish to make changes to your fields, you may do so now and then click OK when you are finished. If you do not wish to make any changes to your data, simply select the OK button.