Newer Version Available
Create a Snapshot for Use with Namespaced Scratch Orgs
You can use a namespace when creating a scratch org from a snapshot. That way, you can
deploy namespaced metadata to the scratch org. However, you can���t use a namespaced scratch org to
create a snapshot. Snapshots are intended to include only dependent packages, metadata, and test
data.
- Create and register the namespace in the Dev Hub org and add it to the sfdx-project.json file.
- When you create the scratch org that you plan to use as the source of the snapshot, be sure to indicate the --no-namespace flag.
- Create the scratch org snapshot.
- Create a scratch org based on the snapshot.