/
connectToSalesforce

connectToSalesforce

Syntax

connectToSalesforce(connectionName)

Description

Establishes a connection to Salesforce.

This is done using a connection that was previously defined and configured on the SFDC Configuration page.

All fields that describe a SFDC connection configuration are required.


 



Parameters

Parameter

Type

Required

Description

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

SFDCConnection conn = connectToSalesforce("SFDC_test"); logPrint("WARN", "Connected to SF: " + conn.instance_url + " - " + conn.access_token);

See also



Related content

Getting started with Power Salesforce Connector
Getting started with Power Salesforce Connector
Read with this
connectToSalesforce
connectToSalesforce
More like this
Establishing Jira-Salesforce connection
Establishing Jira-Salesforce connection
Read with this
Predefined Structure Types for PSFC
Predefined Structure Types for PSFC
Read with this
sfdcGetAccount
More like this