Skip to content

Commit 362a881

Browse files
committed
reomove readbehavior
1 parent f599b89 commit 362a881

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

articles/data-factory/connector-salesforce.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ To copy data from Salesforce, set the source type in the copy activity to **Sale
247247
|:--- |:--- |:--- |
248248
| type | The type property of the copy activity source must be set to **SalesforceV2Source**. | Yes |
249249
| 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 |
251250

252251
> [!IMPORTANT]
253252
> 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
276275
"typeProperties": {
277276
"source": {
278277
"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"
281279
},
282280
"sink": {
283281
"type": "<sink type>"
@@ -337,10 +335,6 @@ To copy data to Salesforce, set the sink type in the copy activity to **Salesfor
337335

338336
## Query tips
339337

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-
344338
## Data type mapping for Salesforce
345339

346340
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

Comments
 (0)