Copy records, files, and CML models between Salesforce orgs directly from VS Code. OrgBridge handles lookup field resolution, dependency ordering, and cross-org constraint sync automatically.
Features
Copy Records
- Pick any SObject, load its schema, and choose exactly which fields to copy
- Filter records by pasting specific IDs or writing a SOQL WHERE clause
- Configure how each lookup field is resolved in the target org
Lookup Resolution Strategies
| Strategy | How it works |
|---|---|
| By External ID | Sends the parent's External ID value in the Bulk API payload — Salesforce resolves it server-side |
| By Composite Key | Matches the parent by 2+ field values combined (e.g. Name + AccountNumber) |
| By Salesforce ID | Copies the source ID as-is — safe when both orgs share the same record IDs |
| Skip / Null | Leaves the lookup field empty in the target |
Plan Builder
- Define multi-object migration plans (Account → Contact → Opportunity)
- Analyze dependencies to determine the correct insert order automatically
- Save, reload, and export plans as JSON
- Delta mode — skip records already present in the target
- Rollback support — undo a deploy by deleting inserted records
File Transfer
- Transfer Salesforce Files (ContentVersion / ContentDocument) between orgs
- Handles files over 27 MB with chunked streaming
- Progress tracking per file
From File (CSV Import)
- Drag-and-drop CSV into the panel for bulk imports
- Auto-detects SObject type from file name
- Resolves lookup fields from CSV values
CML Visual Builder
- Visual type tree for Salesforce Revenue Cloud Constraint Modeling Language (CML)
- Fetch, edit, and deploy CML models between orgs
- Side-by-side diff view — compare source vs target CML
- Find & Replace with match highlighting
- Constraint rows view — inspect and manage ExpressionSetConstraintObj records
- Bookmarks — save frequently used org + model combos
- Built-in CML Reference guide (📚 Docs)
History
- View all past migration jobs with created / updated / failed / skipped counts
- Re-run any previous job
- Persistent across VS Code sessions
Requirements
- Salesforce CLI (
sf) installed and authenticated orgs (sf org login) - VS Code 1.85+
Quick Start
- Open the OrgBridge panel from the Activity Bar (bridge icon)
- Select a Source and Target org
- Enter the SObject name (e.g.
Contact) and click Load Fields - Configure fields and lookup resolution strategies
- Paste record IDs or enter a WHERE filter
- Click Start Copy →
For multi-object migrations, use the Plan Builder tab. For CML models, open CML Visual Builder from the sidebar.
Bulk API v2
All data operations use Salesforce Bulk API v2 via the SF CLI. Jobs run asynchronously and OrgBridge polls for completion. Progress is shown in real time in the status bar and the History tab.
License
MIT