Newer Version Available
Migrate Deprecated Metadata from Unlocked Packages
You can deprecate metadata in an unlocked package, move that metadata to a new package,
and then install the new package in your production org.
As you create more unlocked packages, you can refactor your package and move metadata from one unlocked package to another unlocked package if necessary.
To move production metadata from package A to package B, follow these steps.
- Identify the metadata to be moved from package A to package B.
- Remove the metadata from package A, create a version, and release the package.
- Add the metadata to package B, create a version, and release the package.
- In your production org, upgrade package A.
- In your production org, install package B.
Your metadata is now a part of package B in your production org.