getSalesforceContactIfEnabledElseNative
Function
getSalesforceContactIfEnabledElseNative()
Description
If a salesforce session is active, it obtains salesforce session contacts that were selected. If a native session is enabled it obtains native session contacts that were selected.
Arguments
- None
Returns
-
success - This is a boolean that indicates whether the function was successful or not
-
error - If the function was unsuccessful, then details on the error are returned here
-
sourceType - The source. This can be either salesforce or localContacts
-
name
-
email
-
company
-
extraDataFromSource - Extra data from the source, different depending on the source. May not exist.
Minimum Version
7.4