Salesforce | Guida di Qlik Cloud
Vai al contenuto principale Passa a contenuto complementare

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:

Consultare la sezione Schema per un elenco di oggetti disponibili per la replica.

Preparing for authentication

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

Nota informaticaAssicurarsi che l'account utilizzata disponga di accesso di lettura per le tabelle che si desidera recuperare.

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

Per ulteriori informazioni, vedere Connessione alle applicazioni SaaS.

  1. Inserire le proprietà di connessione richieste.
  2. Fornire un nome per la connessione in Nome connessione.

  3. Selezionare Apri metadati di connessione per definire i metadati della connessione al momento della creazione.

  4. Fare clic su Crea.

Connection settings
SettingDescription
Data gateway

Selezionare un Gateway Data Movement se richiesto dal proprio caso di utilizzo.

Nota informatica

Questo campo non è disponibile con la sottoscrizione a Avvio Qlik Talend Cloud, poiché non supporta il Gateway Data Movement. Se si dispone di un altro livello di sottoscrizione e non si desidera utilizzare il Gateway Data Movement, selezionare Nessuno.

Per informazioni sui vantaggi del Gateway Data Movement e quando è richiesto, vedere Qlik Data Gateway - Movimento dati.

Start Date

Inserire la data, nel formato MM/DD/YYYY, a partire dalla quale i dati devono essere replicati dalla sorgente alla destinazione.

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

Nota informatica

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

Hai trovato utile questa pagina?

Se riscontri problemi con questa pagina o con il suo contenuto – un errore di battitura, un passaggio mancante o un errore tecnico – ti pregiamo di farcelo sapere!