The Manage Datasets dialog in Metazoa Snapshot prepares, transforms, and compares Salesforce migration datasets before records are loaded into a destination org. Admins can import CSV or XML files, remap fields and values, create external IDs, divide large objects into smaller datasets, and compare saved datasets for missing or changed records.
When To Use This Dialog
- Prepare data for a sandbox refresh, org merge, or org split.
- Adapt object names, field names, or field values to a destination schema.
- Create a dataset from CSV or XML files, including files edited outside Snapshot.
- Prepare external IDs for reliable record matching.
- Split a large object into manageable ranges or prepare catch-up datasets containing source records missing from the destination.
- Compare successive backups or check migration progress with record and reference counts.
Use Manage Datasets to prepare and compare saved data; use Build Datasets to download org records and Migrate Datasets to load records into an org.
Open The Dialog
- On the Snapshot desktop, select a deployment arrow connecting the source and destination org snapshots.
- Right-click the arrow and choose Manage Datasets. Alternatively, keep the arrow selected and choose Manage Datasets from the Options Menu.
- If Snapshot reports that a metadata source or destination has not been initialized, take a snapshot for the affected org, then reopen the dialog.
Developer Projects contain metadata but no org records, so Developer Projects cannot serve as data sources or migration destinations.
Manage Datasets
Select a dataset under Available Datasets to see the included objects under Dataset Objects. Quick Find Available Datasets narrows the dataset list. The detail area identifies the dataset's source and build and migration information.
Create Dataset
Choose Create Dataset to assemble a dataset from CSV or XML files using the source org schema.
- On Select Files, use Add Folder or Add File. Select a file to inspect Available Fields and Source Records.
- Right-click the file list to change the loading order. Place parent objects before child objects when the files contain related records.
- On Create Dataset, enter a dataset name and click Create Dataset.
- Read Create Results, then return to the main dialog to inspect the resulting dataset and objects.
CSV files need the relationship information described in Reference. XML files from an existing dataset can also be used to create a dataset containing only selected objects.
Remap Fields
Select a dataset and click Remap Fields when the destination uses different field names or values. The deployment arrow determines the destination schema available for mapping.
- Field Names: Select a dataset object, a name under Source Names, and the corresponding name under Destination Names. Object-level mapping also supports differently named objects.
- Remap Dataset: Apply the configured name and value mappings using the destination org schema. Dataset Files and Remap Results show processing details.
- Field Values: Select a dataset field and a source value, then enter the replacement under Destination Values. Common uses include username changes, picklist differences, and email suffixes.
Configure both names and values before clicking Remap Dataset on the tab with the same name. Snapshot asks for confirmation before applying the mappings. A successful run ends with Finished in the results; inspect the transformed fields and values afterward, rather than relying only on completion.
Right-click mapping lists for bulk editing and import or export options. Name mappings support Copy Name Changes, Paste Name Changes, Export Name Changes, and Import Name Changes. Value mappings support Import Destination Values, Export Selected Field, and Export Multiple Fields. Clear Changes resets the mappings on the current screen.
External IDs
Click External IDs to open Create External ID Fields. On Select Fields, enter a custom field name ending in __c, select the relevant objects, and choose where Snapshot should create the field.
- Create Source Fields creates formula fields in the source org. Each field value equals the source record ID.
- Create Dataset Fields adds ID fields to the selected dataset. Each field value equals the record ID, without adding fields to the source org.
- Create Destination Fields creates external ID fields in the destination org. The new field values are not initialized.
Dataset-only fields are useful when the source org must remain unchanged. Destination fields can receive the source IDs during migration, but the admin still chooses the matching fields in Migrate Datasets. After field creation, inspect the selected objects or exported dataset fields to verify the field names and expected values.
Range Cutter
Click Range Cutter to prepare smaller datasets or source-to-destination catch-up work. The opened dialog contains these tabs in order:
- Range Cutter: Select a source object, enter the maximum records per dataset and a base SOQL filter, then click Calculate Ranges. Inspect the generated ranges and click Create Datasets.
- Delete SOQL Filter: Select a destination object and enter a SOQL filter. Delete Records deletes matching records from the destination org, not from a local dataset.
- Migrate Differences: Select an object, a field for matching source and destination records, and a base SOQL filter. Click Calculate Differences, then Create Datasets to prepare source records missing from the destination.
- Create Multiple Datasets: Import a CSV configuration, enter a base dataset name, and click Create Datasets. Import With Parent Objects First supports parent-first ordering.
Creating range or difference datasets prepares migration work; dataset creation does not load those records into the destination. The creation settings include build and migration processing modes, matching fields, error handling, truncation, and logging.
Object Overview
Click Object Overview to plan a migration or inspect progress across the connected orgs. The dialog contains these tabs:
- Destination Report: Click Run Report to calculate destination object counts and capability information.
- Overview Report: Choose Object Report to compare record and reference counts, or Reference Report to compare reference counts by field. Color Code highlights differences.
- Select Objects: Choose the objects included in the reports and optionally enter a SOQL filter. Import and Export let the admin reuse the selection.
- Source Report: Click Run Report to calculate source object counts and capability information.
Set the scope on Select Objects before running the reports. In the source and destination reports, Show Missing includes objects with zero records, Show References adds parent and child reference counts, and Show Links adds links that open the Salesforce Browser. Additional filters distinguish parent and child objects, external-ID modifiability, upsert capability, and deletion capability.
| Column | Description |
|---|---|
| Parent | Whether the object has a name and can serve as a dataset parent. |
| External | Whether the object can be modified with an external ID. |
| Create, Update, Delete | The operations available for the object, rather than a history of operations performed. |
| Referenced By | Incoming reference counts for relationships pointing to the object. |
| References To | Outgoing reference counts for relationships from the object. |
Organize And Transfer Datasets
Rename Dataset changes the selected dataset's name. Duplicate Dataset makes a separate copy. Delete Dataset removes selected datasets; Shift-click and Control-click support multiple selections.
Import Dataset opens a saved dataset from a local file or shared storage. Export Dataset saves a dataset locally or uploads the dataset to shared storage. These commands transfer a complete dataset; Create Dataset assembles a dataset from CSV or XML data files.
Compare Datasets
Choose the source and destination datasets from the two dataset menus. The comparison reads saved datasets, not live org records.
Select one object to generate an immediate preview. Check the boxes beside all objects that should appear on Display Report; selecting an object and checking an object serve different purposes. Right-click the object list to check groups such as standard, custom, managed, or unmanaged objects, or to import and export a selection.
The preview places the source and destination record names beside a comparison finding. The finding distinguishes identical records, records with differences, and records missing from either dataset.
Display Report
Use Reports for record-level tables, Dashboards for charts, or Summary for object-level totals. The charts appear after choosing Dashboards and include Objects by Differences and a record-difference breakdown for an object.
Focus the report with Hide Identical Records, Hide Missing Destination, Hide Missing Source, Hide Similar Records, and Hide Different Records. These options hide categories from view rather than resolve differences. Clean Report removes empty tables. Choose Sort By Record Name or Sort By Record Comparison to change the ordering.
The Dataset Differences Summary lists each object's analyzed records, counts for each comparison category, and category percentages. The Totals row combines the compared objects. Result categories are explained below.
Schedule Report
Use Schedule Report to run the dataset comparison report automatically on a timer and send the output to a configured destination such as Email, Slack, Content, or Chatter. Scheduling the report does not rebuild the selected datasets; refresh the datasets separately when the comparison must reflect newer org data.
The Assistant destination records the output as Org Intelligence in the selected file format, and each run replaces the previous recording.
What The Results Tell You
The comparison checks record presence and differences in the compared dataset fields. Detail tables and summary views use different labels for the same categories.
| Column | Description |
|---|---|
| Identical Records | Both records are present and the comparison returns no differences. Green rows mark Identical Records. |
| Missing Destination | The source dataset contains a record with no counterpart in the destination dataset. Detail tables label the finding Missing On Destination. |
| Missing Source | The destination dataset contains a record with no counterpart in the source dataset. Detail tables label the finding Missing On Source. |
| Similar Records | Both records are present with some differences. The detail label is Some Differences when the comparison's difference value is greater than zero and no more than 50. |
| Different Records | Both records are present with many differences. The detail label is Many Differences when the comparison's difference value exceeds 50. |
A missing record in a saved dataset does not prove that the record is missing from the live org. Identical Records establishes equality only for the data compared, not every field in Salesforce. Object Overview adds record counts, reference counts, field-level reference comparisons, and object capability information, but matching counts alone do not prove that every related record points to the intended parent.
Before remapping data, creating org fields, deleting datasets, or deleting destination records, the admin confirms the selected dataset and org, the owner and business purpose, the intended mappings or filter scope, and the recovery copy. Use Duplicate Dataset or Export Dataset to retain data before destructive preparation, and keep a data backup covering any destination records selected for deletion.
After migration, use fresh datasets for record-level comparisons and Object Overview for record and reference checks. Inspect representative parent-child relationships in Salesforce as well as report totals. For remapping, read Remap Results and inspect the resulting field names and values. For deletion, read the operation results and query or inspect the affected destination scope.
Delete operation cancelled is not evidence that no records changed. After a cancellation or error, check the remaining destination records before continuing. A remap error or a failure to write the dataset definition also requires inspection of the dataset and results before another operation.
Try The Dialog
Use a recurring sandbox backup comparison to distinguish newly captured records from changes to existing records.
- In a sandbox, create an Account named
Example_Account. Use Build Datasets to createExample_Currentwith all Account records. - Open Manage Datasets, select
Example_Current, and click Duplicate Dataset. Retain the copy asExample_Previous. - Create another sandbox Account named
Example_NewAccount. On the next backup run in Build Datasets, rebuildExample_Currentwith the same object selection. - On Compare Datasets, choose
Example_Currentas the source andExample_Previousas the destination. Select Account for the preview and check Account for the final report. - Open Display Report and choose Reports, then Summary.
Expect Missing On Destination for the newly captured Account and a corresponding Missing Destination summary finding. The destination in this comparison is the previous dataset, not the live migration destination. Use the finding to identify new records since the previous backup and decide whether catch-up migration work is needed.
Export And Share Results
- Export an individual dataset object with Save XML, Save CSV, or Save XLSX. The object list also provides export commands on the right-click menu.
- Right-click report tables to choose Export As CSV, Export As XLSX, Export As PDF, or Export As HTML.
- Use Explain Report Table from a report table's right-click menu for an AI explanation of the displayed results.
- In Export Dataset, choose Save As Local File for a backup or archive, or Upload To Shared Storage for team access. Dataset comments help teammates identify the correct download.
- In Import Dataset, choose Open A Local File or select a shared dataset and choose Download From Shared Storage.
Shared datasets are stored in the license org's metazoa_datasets Content library. Local exports are zipped dataset folders. Datasets are available across migration connections, so an admin can reuse a prepared dataset with another destination org; destination schema mappings and matching requirements still need to fit that destination.
Reference
Dataset Names And Local Storage
For Create Dataset, use 4 to 50 characters. The first character must be a letter or number; remaining characters may be letters, numbers, or underscores. Names must not conflict with an unavailable or existing dataset folder.
Dataset XML files are stored in the datasets folder beside workspaces in the Snapshot file system. Dataset rebuilds replace the named dataset rather than maintain a time series, so retain a separate copy when comparing successive backups.
CSV Data File Format
The first row contains field names, followed by one row per record. Every object needs Id, the source record ID, and objtype, the Salesforce object API name. Empty files, missing fields, and missing object types are rejected.
A basic Account file uses this header:
Id,objtype,Name
A Contact file carrying an Account relationship can use:
Id,objtype,FirstName,LastName,AccountId,AccountId.Name,AccountId.objtype
AccountId carries the related source Account ID. AccountId.Name supplies the Account name for matching, and AccountId.objtype identifies Account as the referenced object type. Relationship information must remain consistent across the files.
These SOQL queries collect the underlying Account and Contact values:
SELECT Id, Name FROM Account
SELECT Id, FirstName, LastName, AccountId, Account.Name FROM Contact
The import files still need objtype and the relationship column names expected by Snapshot. Exporting an existing dataset object as CSV provides a starting format for spreadsheet editing and reimport.
Value Mapping Imports
Imported value-mapping CSV files need a header row and three columns: the dataset field name, source value, and destination value. Field names must match entries under Dataset Fields. Export selected or multiple fields first to obtain a compatible mapping file.
External ID Field Rules
Custom field names may contain only letters, numbers, and underscores and must end in __c. Source fields are formulas equal to the record ID; dataset fields contain the record ID; destination fields are custom text external ID fields with uninitialized values.
Snapshot sets field-level security for the System Administrator profile and hides the new fields from other profiles. An external ID field alone does not establish a unique migration match; configure the corresponding matching fields in Migrate Datasets.
Create Multiple Datasets CSV
The configuration table includes Object Name, SOQL Filter, Max Records, Continue After Error, Allow Field Truncation, Log Errors And Success, Build Processing Mode, Migrate Processing Mode, and Matching Field Name. The table also displays generated record, range, and reference information.
| Column | Description |
|---|---|
| Max Records | The maximum records per generated dataset. Imported values must be at least 5. |
| Continue After Error, Allow Field Truncation, Log Errors And Success | Boolean settings. The import validator accepts lowercase true or false. |
| Build Processing Mode, Migrate Processing Mode | Must be Bulk API Serial, Bulk API Parallel, or Data API Serial. |
| Matching Field Name | A readable source field used to match records. |
| Dataset Range | The generated range information used to divide the selected records. |
The source object must be readable, and the imported configuration may contain no more than 1,000 data rows. Use Export to save a configuration for reuse, including across migration projects with compatible objects and fields.
Range Creation Processing Settings
- Stop After Error stops migration after a Bulk API error. Continue After Error continues and records error details in logs.
- Don't Truncate Fields reports overlong strings as errors. Allow Field Truncation shortens strings to fit destination fields.
- Log Migration Errors logs errors only. Log Errors And Success also logs successful operations, including object names and source and destination IDs.
- Bulk API Serial is the default and avoids parallel-processing locking issues. Bulk API Parallel may be faster but can cause locking issues. Data API Serial provides the SOAP Data API alternative when Bulk API performance causes problems.
Migration logs are stored in the dataset folder. Actual record loading, sensitive-field scrambling, and migration matching are configured in Migrate Datasets.
Import And Operation Errors
If a folder import adds no files or skips files, try Add File with one file to obtain a more specific error. Resolve missing Id or objtype columns, empty files, unreadable files, or synchronization errors before creating the dataset.
For destination deletion, Bad Filter indicates an invalid filter, while Zero records found to delete means the selected scope matched no records. Hold the Escape key to cancel deletion. Delete operation finished reports completion, but the destination data remains the verification source.
Special Salesforce Objects
Person Accounts, polymorphic lookups, pricebooks, line items, group members, custom settings, activities, email, Content, Knowledge, campaign member statuses, and Experience sites have migration-specific requirements; see Relational Data Migration in Further Reading for the detailed procedures.
Common Questions
Does Manage Datasets load records into Salesforce?
Manage Datasets prepares and compares datasets. Use Migrate Datasets for the main record-loading workflow. Two Manage Datasets utilities can change connected orgs: External IDs creates fields, and Delete SOQL Filter deletes matching destination records.
Can I create external IDs without changing the source org?
Yes. Choose Create Dataset Fields in External IDs. Snapshot adds record-ID values to the selected dataset rather than adding formula fields to the source org. Create the corresponding destination fields and configure migration matching separately.
How can I check a migration beyond matching record counts?
Compare freshly built source and destination datasets for missing and changed records. Use Object Overview's Reference Report to compare reference counts by field, then inspect representative relationships in Salesforce. Equal counts alone do not establish correct parent-child links.
Will external IDs prevent duplicates when I rerun a migration?
External IDs provide stable source identifiers, but the admin must select reliable matching fields in Migrate Datasets. Manage Datasets creates the fields and values; Manage Datasets does not configure or prove the final matching behavior.
Does a scheduled comparison automatically refresh Salesforce data?
No. Schedule Report runs the comparison against the selected saved datasets. Schedule dataset downloads separately in Build Datasets, and preserve a previous dataset when historical comparison is required.
Related Articles
- Build Datasets - Download related source records or refresh a saved dataset.
- Migrate Datasets - Load prepared records, configure matching, and scramble sensitive fields.
- Take Snapshot - Initialize or refresh the metadata snapshots used by the connection.
- Metadata Differences Report - Compare configuration rather than saved record data.
Further Reading
- Relational Data Migration - Dataset workflows, record matching, large migrations, and special Salesforce object procedures.
- Salesforce Org Merges - Destination planning, schema differences, and staged consolidation.
- Salesforce Org Splits (also covers Org Clones) - Planning subsets of users and data, migration phases, and catch-up work.