Source object configuration
Salesforce CLI workflows and verified operation limits for Source object configuration: DataSourceObject.
Last updated: October 28, 2026, 17:17 (UTC+1).
Verification scope: Live-org reads and the explicitly described bounded operations were tested. The operation-specific limitations still apply; this badge does not verify untested writes or general CRUD support.
Back to Data Cloud with Salesforce CLI. Start with its setup, placeholders and safety guidance before running these examples.
Source object configuration — DataSourceObject.
| Retrieve | Create | Update | Delete |
|---|---|---|---|
Yes
|
? | ? | ? |
Yes: a usable scoped workflow is supplied. Partial: a usable bounded, combined or incomplete asynchronous workflow is supplied. Neither means universal capability. No: proven unavailable in an explicit scope. ?: unknown, untested or no usable workflow supplied. Neither No nor ? displays method icons. means dedicated CLI commands;
means API-led requests or facades, even when invoked through the CLI. Two icons identify alternatives, not equivalent coverage. Read each operation's prerequisites and limits. An available operation tab may explain an illustrative mechanism without supplying a usable summary workflow.
Retrieve
- CLI — Available: Retrieve source-object XML, not field definitions or a complete connector export.
- API — Unknown: No API source-object retrieval workflow is supplied.
- sf-plugin-data — Unknown: Not implemented in this guide; no workflow is supplied.
CLI
sf project retrieve start --metadata DataSourceObject:CustomerSource --target-org SOURCE_ALIAS --api-version 65.0 --wait 5 --json
The response points to force-app/main/default/dataSourceObjects/CustomerSource.dataSourceObject-meta.xml:
<DataSourceObject xmlns="http://soap.sforce.com/2006/04/metadata">
<dataSource>SalesforceSource</dataSource>
<externalRecordIdentifier>Contact</externalRecordIdentifier>
<masterLabel>Customer Source</masterLabel>
<storageType>LOCAL</storageType>
<templateVersion>1</templateVersion>
</DataSourceObject>
This tells you which source record the configuration refers to. It does not include field definitions or a complete connector/credential export.
Create
Creation has not been verified.
- CLI — Unknown: Source-object creation has not been verified; no workflow is supplied.
- API — Unknown: No API source-object creation workflow is supplied.
- sf-plugin-data — Unknown: Not implemented in this guide; no workflow is supplied.
Update
Updates have not been verified.
- CLI — Unknown: Source-object updates have not been verified; no workflow is supplied.
- API — Unknown: No API source-object update workflow is supplied.
- sf-plugin-data — Unknown: Not implemented in this guide; no workflow is supplied.
Delete
Deletion has not been verified.
- CLI — Unknown: Source-object deletion has not been verified; no workflow is supplied.
- API — Unknown: No API source-object deletion workflow is supplied.
- sf-plugin-data — Unknown: Not implemented in this guide; no workflow is supplied.