Compare orgs shows the differences between two orgs, side by side. Use it to check a sandbox against production, or to see what is missing before a release. It compares objects and fields only. No record data is read.
Before you start
Log in to both orgs in Chrome, each in its own tab. Fieldgraph uses the Salesforce logins that are already open in your browser.
Run a comparison
- Click Compare orgs in the left rail.
- Under Base org, choose the first org. Under Compare with, choose the second one. The button between them swaps the two orgs.
- Under Objects to compare, choose what to look at:
| Choice | What is compared |
|---|---|
| On this canvas | The objects on your canvas. This is the quickest. |
| Pick objects | Objects you choose by name. |
| All custom | Every custom object. This can take a minute. |
| All objects | Every object in both orgs. This can take a few minutes. |
- Click Compare.
If an org is missing from the list, log in to it in another tab and click Refresh.
Tip
Start with On this canvas or Pick objects. You get an answer in seconds, and the result is easier to read.
Read the results
On the left is the list of compared objects. Objects with differences come first. Each one shows how many fields are only in one org and how many differ. Use Find an object to search the list.
Click an object to see its fields in a table: the field, its type in each org, and the Result.
| Result | Meaning |
|---|---|
| Only in the base org | The field exists in the base org, not in the other. |
| Only in the second org | The field exists in the second org, not in the base org. |
| … differ | The field is in both orgs, but something is different. |
| Same | No difference. Shown only when you tick Show matching fields too. |
For fields that differ, Fieldgraph tells you what is different:
- Type
- Length (for text fields)
- Points to (the object a lookup points to)
- Required
- Label
Whole objects can also be missing from one org. Then you see that the object does not exist in the other org.
Filter the results
Use the buttons above the table:
- All differences
- Only in the base org
- Only in the second org
- Different
Tick Show matching fields too to also list the fields that are the same.
After you change your choices
If you choose other orgs or objects after a run, the results on screen are from the previous run. Click Compare again to update them.
Add a missing field to your canvas
When a field exists only in the second org, you can sketch it on your canvas:
- Make sure the object is on your canvas.
- In the results table, click Add to canvas on the field’s row.
The field is added to the object as a proposed field. You can then review it with your team and create it in Salesforce.
Download the results
Click Download and choose a format:
| Format | What you get |
|---|---|
| Excel (.xlsx) | Summary and Fields sheets, with filters. |
| Spreadsheet (.csv) | One row per field. Opens in Excel or Google Sheets. |
| Markdown (.md) | A readable report. |
| JSON (.json) | Everything, for scripts and tools. |
| Copy differences as Markdown | Copies the differences, ready to paste into a message or a ticket. |
Excel, CSV and JSON include every compared field, also the matching ones. Filter on the Result column to see only the differences.
Note
The Markdown report is not a Fieldgraph diagram file. It cannot be imported.
If something goes wrong
- No Salesforce sessions found in this browser or Only one org is logged in: log in to both orgs in other tabs, then click Refresh.
- Pick two different orgs: the same org is chosen on both sides.
- Could not read an object: your user may not be allowed to see it in one of the orgs. The other objects are still compared.
- Not in either org, so not compared: the object is only a proposal on your canvas, so there is nothing to compare yet.
Each org shows only what your user in that org is allowed to see. See What Fieldgraph can see.