Salesforce FAQ¶
Answers to common questions about the Salesforce connector. Sections are grouped by topic; pick the heading closest to what you are working on.
Connecting¶
What do I need from my Salesforce admin?¶
An External Client App or a Connected App with the Manage user data via APIs (api) scope and the Client Credentials Flow enabled, a Run As user for it with API Enabled and read access to the objects you monitor, the app's Consumer Key and Consumer Secret, and your org's My Domain URL. See Set up the app in Salesforce.
Why does login.salesforce.com not work?¶
Salesforce issues client credentials sessions only on an org's My Domain URL, such as https://acme.my.salesforce.com. Enter that address in URL. See Use the My Domain URL.
Can I connect a sandbox?¶
Yes. A sandbox has its own My Domain URL. Set up the app in the sandbox, and create a separate connection and datastore with the sandbox's URL and the app's credentials.
Whose access does Qualytics read with?¶
The Run As user's. Qualytics sees exactly the objects, fields, and records that user can read in Salesforce, so what appears in Qualytics follows that user's profile, permission sets, and sharing. See Two identities.
Why is there no database or schema to pick?¶
An org has one set of objects, so there is nothing to choose between. Each connection leads to one datastore, and you narrow what it reads with Objects instead.
Does it support Salesforce Data Cloud?¶
No. The connector reads the objects of a Salesforce org. Salesforce Data Cloud is not supported.
What it reads¶
Which objects become containers?¶
With Objects empty, the custom objects and the standard objects with page layouts that the Run As user can query, leaving out sharing, history, feed, change event, tag, custom metadata, and platform event objects, and ContentDocumentLink and ContentFolderItem, which Salesforce lets be read only by record ID. Name objects in Objects to sync exactly those. See What becomes a container.
Why is a field missing?¶
Most often because field-level security hides it from the Run As user, and Qualytics is not told it exists. File content (base64) fields are never synced, and addresses and geolocations appear as their component fields. See Which fields appear.
Are formula fields included?¶
Yes. Formula fields are read like any other field, with the type of the value they return.
Why do currency and percent fields show more decimal places than in Salesforce?¶
They are read as decimals with up to 18 digits after the decimal point, so they keep every digit Salesforce stores. Salesforce can store more decimal places than a field displays, and Qualytics shows the stored value.
Can Qualytics write to my Salesforce org?¶
No. The connector is read-only, so it cannot be used as an enrichment datastore. Link a separate enrichment datastore as its destination for the anomalies and metadata Qualytics produces.
Scans and API usage¶
How do incremental scans know what changed?¶
Each object's incremental field is set to SystemModstamp at Sync, or LastModifiedDate when an object has no SystemModstamp. An incremental scan reads only the records stamped since the previous scan. See Incremental scans.
Will Qualytics use up my org's API allowance?¶
It uses part of it, as every integration does. Narrowing Objects, preferring incremental scans, and keeping Maximum Parallel Jobs at the default keep usage low. Before a large scan or profile, click Estimate API usage on the Read Settings step of the Scan Operation or Profile Operation dialog to see what it would spend against what your org has left today. See API Usage.
Does estimating a scan cost API requests?¶
Yes, about one API request per object, which is why the estimate is made only when you click Estimate API usage.
What happens when the allowance runs out?¶
The operation fails with a message that Salesforce's limit was reached, and Qualytics does not retry, since retrying would only spend more of the allowance. Run it again once the allowance has recovered. See When the allowance runs out.
Should I raise Maximum Parallel Jobs?¶
Only when reads of large objects are slow and your org has spare Bulk API query jobs. Each extra job counts against the daily Bulk API allowance that your other integrations share. See Best Practices.
Datastores¶
What happens when I change the Client Secret?¶
Edit the connection, enter the new secret, and save. The change applies to every datastore that uses that connection. Changing the URL also takes the Client Secret again. See How the credentials are stored.