Skip to content

GetSelectedContactsIndependentOfSessionType

Function

GetSelectedContactsIndependentOfSessionType()

Description

If a salesforce session is active, it obtains salesforce contacts. If a native session is enabled it obtains native contacts.

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

  • typeIndependentContacts - A contact array consisting of the below items

    • sourceType - The source. This can be either salesforce or localContacts

    • firstName

    • email - Only for native in 7.4, the extraDataFromSource has it for salesforce. 7.5 is the same for both.

    • lastName

    • name

    • company

    • extraDataFromSource - Extra data from the source, different depending on the source. May not exist.

Minimum Version

7.4, 7.5 for the newest format