You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/data-factory/connector-salesforce.md
+1-7Lines changed: 1 addition & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -247,7 +247,6 @@ To copy data from Salesforce, set the source type in the copy activity to **Sale
247
247
|:--- |:--- |:--- |
248
248
| type | The type property of the copy activity source must be set to **SalesforceV2Source**. | Yes |
249
249
| SOQLQuery | Use the custom query to read data. You can only use [Salesforce Object Query Language (SOQL)](https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql.htm) query with [limitations](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/queries.htm#SOQL%20Considerations). If query is not specified, all the data of the Salesforce object specified in "ObjectApiName/reportId" in dataset will be retrieved. | No (if "ObjectApiName/reportId" in the dataset is specified) |
250
-
| readBehavior | Indicates whether to query the existing records, or query all records including the deleted ones. If not specified, the default behavior is the former. <br>Allowed values: **query** (default), **queryAll**. | Yes |
251
250
252
251
> [!IMPORTANT]
253
252
> The "__c" part of **API Name** is needed for any custom object.
@@ -276,8 +275,7 @@ To copy data from Salesforce, set the source type in the copy activity to **Sale
276
275
"typeProperties": {
277
276
"source": {
278
277
"type": "SalesforceV2Source",
279
-
"SOQLQuery": "SELECT Col_Currency__c, Col_Date__c, Col_Email__c FROM AllDataType__c",
280
-
"readBehavior": "query"
278
+
"SOQLQuery": "SELECT Col_Currency__c, Col_Date__c, Col_Email__c FROM AllDataType__c"
281
279
},
282
280
"sink": {
283
281
"type": "<sink type>"
@@ -337,10 +335,6 @@ To copy data to Salesforce, set the sink type in the copy activity to **Salesfor
337
335
338
336
## Query tips
339
337
340
-
### Retrieve deleted records from the Salesforce Recycle Bin
341
-
342
-
To query the soft deleted records from the Salesforce Recycle Bin, you can specify `readBehavior` as `queryAll`.
343
-
344
338
## Data type mapping for Salesforce
345
339
346
340
When you copy data from Salesforce, the following mappings are used from Salesforce data types to interim data types within the service internally. To learn about how the copy activity maps the source schema and data type to the sink, see [Schema and data type mappings](copy-activity-schema-and-type-mapping.md).
0 commit comments