Configuration as code (export/import)
Move your custom objects and fields from one environment to another with a JSON file.
Under Settings → Configuration as code (DevOps) you export your organization's configuration (custom objects and fields) as a JSON file and import it into another environment (for example, from a test environment to production).
Export
Click "Export JSON". The downloaded file contains your custom objects and all custom fields (including those you added to standard objects such as Contact or Company). System fields are not exported.
Review the diff and promote (test → prod)
Select the file (or paste the JSON) and click "Review plan". The system shows the DIFF before applying: what will be CREATED (objects/fields missing in the destination) and what will CHANGE (objects/fields that already exist but whose attributes differ from the file, for example label, help text, required, list visibility, or a select field's options). Nothing is deleted. Re-importing with no differences produces no change (idempotent).
This is how you PROMOTE configuration from a test environment to production: adjust and validate in the test environment, export, and in the destination review the diff before applying, with no retyping and no surprises.
- Export the configuration in the source environment (test).
- In the destination environment (production), open Configuration as code and select the file.
- Click "Review plan" and check what will be created and what will change (the diff).
- Click "Apply import".