Salesforce | Aide Qlik Cloud
Accéder au contenu principal Passer au contenu complémentaire

Salesforce

Salesforce is a cloud-based CRM platform. You can use Salesforce data as a data source for replication.

Salesforce integration replicates data from your Salesforce account. When setting up a Salesforce integration, you can select one of the following Salesforce APIs to replicate your data:

Consultez la section Schéma pour obtenir une liste des objets disponibles à des fins de réplication.

Preparing for authentication

To access your data, you need to authenticate the connection with your account credentials.

Note InformationsAssurez-vous que le compte que vous utilisez dispose d'un accès en lecture sur les tables à récupérer.

Before creating the Salesforce connection in Qlik Talend Cloud, confirm that:

  • Your Salesforce org supports API access and you have API access enabled. See REST API compatible editions. API access is enabled by default in Enterprise, Performance, Unlimited, and Developer editions.
  • If you need help confirming API access for your org, see Salesforce Help or contact your Salesforce account executive.

Note: You can’t create Connected Apps. Salesforce recommends using an External Client App instead. For more information, see Salesforce Help and External Client Apps.

To create, edit, or delete external client apps, you need admin permissions.

To create an integration user for the external client apps:

  1. Log into your Salesforce account.
  2. From Setup, search for and open Users.
  3. Click New User, then enter the integration user details.

    Use an email address that you can access.

  4. Set User License to Salesforce Integration.
  5. Set Profile to Minimum Access - API only Integrations.
  6. Click Save.

To set up an external client app:

  1. Log into your Salesforce account.
  2. From Setup, search for and open App Manager.
  3. Select New External Client App and enter a name.
  4. Set Distribution State to Local.
  5. Enable OAuth Settings, then in App Settings set the callback URL to https://connector.qlik.com/auth/oauth/v3.htm.
  6. Select these OAuth scopes:
    • Manage user data via APIs (api)
    • Perform requests at any time (refresh_token, offline_access)
    • Access unique user identifiers (openid)
    • Full access (full)
  7. Under Flow Enablement, enable Client Credentials Flow.
  8. Under Security, select Require Secret for the Web Server Flow, then click Create.

    Only select Require Secret for the Web Server Flow. If you select more options, the integration will fail.

  9. Open the Policies tab, click Edit, and set Permitted Users to All users can self-authorize.
  10. Under OAuth Flows and External Client App Enhancements, confirm Enable Client Credentials Flow is selected, then enter the integration username.
  11. Under App Authorization, select Refresh token is valid until revoked.

    This option is recommended. Otherwise, you must create a new connection for each task when the token expires.

  12. Set IP Relaxation to Relax IP restrictions, then click Save.
  13. Open Settings > Plugin Policies.
  14. Under OAuth Setting, select Consumer Key and Secret.

    A new tab opens where you can authenticate and copy your client ID and client secret.

Creating the connection

Pour plus d'informations, consultez Connexion à des applications SaaS.

  1. Complétez les propriétés de connexion requises.
  2. Fournissez un nom pour la connexion dans Nom de la connexion.

  3. Sélectionnez Ouvrir les métadonnées de connexion pour définir les métadonnées de la connexion lors de sa création.

  4. Cliquez sur Créer.

Connection settings
SettingDescription
Data gateway

Sélectionnez une Passerelle de déplacement des données si cela est nécessaire pour votre cas d'utilisation.

Note Informations

Ce champ n'est pas disponible avec l'abonnement Démarreur Qlik Talend Cloud, car il ne supporte pas Passerelle de déplacement des données. Si vous avez un autre niveau d'abonnement et si vous ne souhaitez pas utiliser Passerelle de déplacement des données, sélectionnez Aucune.

Pour des informations sur les avantages de Passerelle de déplacement des données et les cas d'utilisation qui la nécessitent, consultez Passerelle de données Qlik - Déplacement des données.

Start Date

Saisissez la date, au format MM/DD/YYYY, à partir de laquelle les données doivent être répliquées de votre source vers votre cible.

API TypeSelect the API type from the drop-down list:
  • BULK (recommended): Best for large datasets and less frequent replication. Limited to 10,000 batches per rolling 24 hours.
  • REST: Best for smaller datasets and frequent updates.
Replicate new fields automaticallyBy default, Qlik Talend Cloud does not replicate new Salesforce fields. Select this checkbox to automatically detect and add new fields.
Max percentage of API quota to usePercentage of your standard API quota Qlik Talend Cloud can use. If the limit is reached, replication pauses and resumes when quota is available.

If set to 80 and your quota is 10,000 calls/24 hours, Qlik Talend Cloud can use up to 8,000 calls across all connected apps.

Note: Enter 80, not 80%.

Max percentage allowed per runPercentage of your total API quota that Qlik Talend Cloud can use per replication job.

If set to 10 and your quota is 10,000 calls, Qlik Talend Cloud can use up to 1,000 calls per job (10,000 × 0.1).

Note: Enter 10, not 10%.

Client IDClient ID.
Client SecretClient secret.

Unsupported objects in REST API

The following objects won’t be available for replications in Qlik Talend Cloud:

  • Announcement
  • CollaborationGroupRecord
  • ContentDocumentLink
  • ContentFolderMember
  • DataStatistics
  • EntityParticle
  • FieldDefinition
  • FlexQueueItem
  • IdeaComment
  • OwnerChangeOptionInfo
  • PicklistValueInfo
  • PlatformAction
  • RelationshipDomain
  • RelationshipInfo
  • SearchLayout
  • SiteDetail
  • UserEntityAccess
  • UserFieldAccess
  • Vote
  • Any *ChangeEvent object
  • ActivityHistory
  • AggregateResult
  • AttachedContentDocument
  • CombinedAttachment
  • ContentBody
  • EmailStatus
  • FeedLike
  • FeedTrackedChange
  • FeedSignal
  • FolderedContentDocument
  • ListViewChartInstance
  • LookedUpFromActivity
  • Name
  • NoteAndAttachment
  • OpenActivity
  • OutgoingEmail
  • OutgoingEmailRelation
  • OwnedContentDocument
  • ProcessInstanceHistory
  • UserRecordAccess

The unsupported objects list is not exhaustive. Salesforce might change the unsupported objects for the API as Salesforce continues to maintain and update their APIs.

Unsupported objects in Bulk API

The following objects won’t be available for selection in Qlik Talend Cloud:

  • AcceptedEventRelation
  • AssetTokenEvent
  • AttachedContentNote
  • CaseStatus
  • ContentFolderItem
  • ContractStatus
  • DeclinedEventRelation
  • EventWhoRelation
  • PartnerRole
  • QuoteTemplateRichTextData
  • RecentlyViewed
  • SolutionStatus
  • TaskPriority
  • TaskWhoRelation
  • TaskStatus
  • UndecidedEventRelation

The unsupported objects list is not exhaustive. Salesforce might change the unsupported objects for the API as Salesforce continues to maintain and update their APIs.

Schema

Note Informations

Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.

The schema and info displayed below is for version 2.

To ensure we can provide you with up-to-date documentation, this section covers a few of the most popular tables that Salesforce integration offers.

See the Salesforce Object Reference guide for info on objects not listed here, including the fields available in each object.

Custom Salesforce object and field replication

Salesforce integration supports the replication of custom objects and fields.

Custom object and field names are appended with __c to make identification easier. For example: AE_Assignment__c or Assignment_Group_Name__c

Depending on your destination, table and column names may not appear as they are outlined below.

account

The account table contains info about the individual accounts (organizations and persons) involved with your business. This could be a customer, a competitor, a partner, and so on.

Replication Method

CDC

Primary Key

id

Replication Key

systemModStamp

Useful links

Salesforce documentation

contact

The contact table contains info about your contacts, who are individuals associated with accounts in your Salesforce instance.

Replication Method

CDC

Primary Key

id

Replication Key

systemModStamp

Useful links

Salesforce documentation

lead

The lead table contains info about your leads, who are prospects or potential Opportunities.

Replication Method

CDC

Primary Key

id

Replication Key

systemModStamp

Useful links

Salesforce documentation

opportunity

The opportunity table contains info about your opportunities, which are sales or pending deals.

Replication Method

CDC

Primary Key

id

Replication Key

systemModStamp

Useful links

Salesforce documentation

user

The user table contains info about the users in your organization.

Replication Method

CDC

Primary Key

id

Replication Key

systemModStamp

Useful links

Salesforce documentation

Cette page vous a-t-elle aidé ?

Si vous rencontrez des problèmes sur cette page ou dans son contenu – une faute de frappe, une étape manquante ou une erreur technique – faites-le-nous savoir.