Syntax
connectToSalesforce(connectionName)
Description
Excerpt |
---|
Establishes a connection to Salesforce. |
This is done using a connection that was previously defined and configured on the SFDC Configuration page.
Note |
---|
All fields that describe a SFDC connection configuration are required. |
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
connectionName | string | Yes | The name of the Salesforce connection as defined in the SFDC Configuration page. |
Return type
SFDCConnection - predefined structure type
Example
Code Block |
---|
SFDCConnection conn = connectToSalesforce("SFDC_test");
logPrint("WARN", "Connected to SF: " + conn.instance_url + " - " + conn.access_token); |
See also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|