Salesforce | Qlik Cloud Справка
Перейти к основному содержимому Перейти к дополнительному содержимому

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:

См. раздел Схема для получения списка объектов, доступных для репликации.

Preparing for authentication

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

Примечание к информацииУбедитесь, что используемая учетная запись имеет доступ для чтения к таблицам, которые требуется получить.

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

Для получения дополнительной информации см. раздел Подключение к приложениям SaaS.

  1. Заполните необходимые свойства подключения.
  2. Заполните поле Имя подключения.

  3. Установите флажок Открыть метаданные подключения, чтобы определить метаданные для подключения, когда оно будет создано.

  4. Щелкните Создать.

Connection settings
SettingDescription
Data gateway

Выберите шлюз Шлюз движения данных, если этого требует текущий сценарий использования.

Примечание к информации

Это поле недоступно при использовании подписки Qlik Talend Cloud Starter, так как она не поддерживает Шлюз движения данных. Если используется другой уровень подписки или не требуется использовать Шлюз движения данных, выберите Нет.

Для получения информации о преимуществах Шлюз движения данных и о сценариях, требующих его использования, см. раздел Шлюз данных Qlik — движение данных.

Start Date

Введите дату в формате MM/DD/YYYY, начиная с которой данные должны реплицироваться из источника в цель.

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

Примечание к информации

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

Помогла ли вам эта страница?

Если вы обнаружили какую-либо проблему на этой странице или с ее содержанием — будь то опечатка, пропущенный шаг или техническая ошибка, сообщите нам об этом!