Skip to end of banner
Go to start of banner

connectToSalesforce

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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

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


We've encountered an issue exporting this macro. Please try exporting this page again later.
  • No labels