Przeskocz do zawartości głównej Przejdź do treści uzupełniającej

Salesforce

Salesforce is a cloud-based CRM platform. You can land Salesforce data as a data source when landing or replicating data.

InformacjaWhen you are creating a new connection, use the new version.

Supported versions and objects

The following Salesforce versions are supported:

  • Salesforce Sales Cloud

  • Salesforce Service Cloud

  • Salesforce Marketing Cloud

    This requires using Salesforce Marketing Cloud Connect. For more information, see Marketing Cloud Connect.

  • Salesforce Commerce Cloud

InformacjaThe Vote object is not supported.

For more information about the results returned from Salesforce, see Salesforce REST API Developer Guide.

If the data contains custom objects using the extension of __c in the name, they will be created in the target with _c instead, using one _ and not two.

Preparing for authentication

To access your Salesforce data, you need to authenticate the connection with your account credentials. You must create a private app in Salesforce and retrieve a client ID and a client secret:

  1. Log into Salesforce and create a new Connected app. Name this app and API and provide your email address.

  2. Enable OAuth Settings and set Callback URL to https://connector.qlik.com/auth/oauth/v3.htm.

  3. Add the following OAuth Scopes:

    • Manage user data via APIs (api)

    • Access unique user identifiers (openid)

    • Perform requests at any time (refresh_token, offline_access)

  4. Select Configure ID Token and set Token valid for to 720.

  5. Deselect Require Proof Key for Code Exchange (PKCE) Extension for Supported Authentication Flows.

  6. Scroll down and click Save.

    At this point Salesforce advises to allow from 2-10 minutes for your changes to take effect on the server before using the connected app.

  7. Copy Consumer key to the Client ID connection setting.

  8. Copy Consumer secret to the Client Secret connection setting.

  9. Provide your Salesforce Host. You can copy this from the location bar in your browser when accessing your Salesforce instance.

  10. Scroll down and click Add.

InformacjaUpewnij się, że używane konto ma uprawnienia do odczytu interesujących Cię tabel.

Creating the connection

Więcej informacji zawiera temat Łączenie się z aplikacjami SaaS.

  1. Po wprowadzaniu wymaganych ustawień połączenia kliknij przycisk Uwierzytelnij.

    Możesz zostać poproszony o zalogowanie się w aplikacji źródłowej.

    Zostanie wyświetlone okno z kodem uwierzytelniającym.

  2. Skopiuj ten kod do schowka i wróć do okna dialogowego połączeń.

  3. Wklej kod w polu Ukończ uwierzytelnianie przy użyciu kodu podanego przez źródło i kliknij przycisk Weryfikuj.

    WskazówkaByć może trzeba będzie przewinąć w dół, aby zobaczyć to pole.

    Status Zweryfikowano oznacza, że uwierzytelnianie zostało zweryfikowane.

  4. Podaj nazwę połączenia w polu Nazwa połączenia.

  5. Wybierz opcję Otwórz metadane połączenia, aby zdefiniować metadane połączenia po jegu utworzeniu.

Connection settings
Setting Description
Data gateway

Wybierz bramę Brama danych ruchu danych, jeżeli jest wymagana do danego zastosowania.

Informacja

To pole jest niedostępne w subskrypcji Qlik Talend Cloud Starter, ponieważ brama Brama danych ruchu danych jest w niej nieobsługiwana. Jeśli masz inny poziom subskrypcji i nie chcesz korzystać z bramy Brama danych ruchu danych, wybierz opcję Brak.

Informacje o zaletach bramy Brama danych ruchu danych i o okolicznościach, w których jest wymagana, zawiera temat Brama danych Qlik — ruch danych.

Salesforce Instance

Salesforce instance. To find your Salesforce instance:

  1. Log in to Salesforce, and click Setup.

  2. Click Company Information.

  3. Copy your Salesforce instance, for example UM1 or AP8, in the right column below Organization Edition.

If you are using a sandbox or a custom domain, use your domain with .salesforce.com excluded. Example: <domain>.sandbox.my if the sandbox domain is <domain>.sandbox.my.salesforce.com.

Client ID Client ID.
Client Secret Client secret.
Login Domain

Login domain.

For the default production domain use login.salesforce.com.

If you are using a sandbox or a custom domain, use your domain. Example: <domain>.sandbox.my.salesforce.com for a sandbox domain.

Czy ta strona była pomocna?

Jeżeli natkniesz się na problemy z tą stroną lub jej zawartością — literówkę, brakujący krok lub błąd techniczny — daj nam znać!