[SalesForce] Can We Create a Change Set via a Package.xml

Is it possible in Workbench to create a changeset in the target sandbox using a package.xml?

See, we are going to deploy 300 components from a UAT sandbox to a PRE-PROD sandbox without recreating the changeset we deployed from a Dev sandbox.

I extracted the changeset that contained 300 components from our Dev sandbox and found out it has a package.xml that has the list of all the components we previously deployed.

I'm thinking of just using the package.xml to recreate the changeset in the UAT sandbox via Workbench. Is this possible?

If not, is there any other way we can recreate a changeset using the package.xml?

Thanks.

Best Answer

I don't believe you can actually recreate the Change Set, as such... but I'm not sure you need to. Workbench can do both the retrieve and deploy using the package you're speaking about.

You can retrieve the entire package using Workbench by going to Migration | Retrieve, and entering the change set name as the package name. You can retrieve the package, download it, and then redeploy it anywhere you wish with Workbench (Migrate | Deploy).

If you need to "reretrieve" the package from a different sandbox, simply use the package.xml file to retrieve the updated metadata from whatever sandbox you wish to retrieve it from (by uploading the package.xml as an unpackaged manifest on the retrieve screen). (You can edit the package.xml file to add/remove items as needed).

Related Topic