+ Start a Discussion
Rocks_SFDCRocks_SFDC 

How to deploy package.xml from one Org to another Org by using Apex code

Hi All,

We have unpackaged manifest xml file in Source Environment. Now, we wanted to deploy this to destination environment through apex code. Could anyone please provide me any workaround for this.

Thanks,
Anil
Amit Chaudhary 8Amit Chaudhary 8
You can deploye package.xml from apex code. Try to use ANT for same.
1) https://resources.docs.salesforce.com/sfdc/pdf/salesforce_migration_guide.pdf

Let us know if this will help you
Pankaj_GanwaniPankaj_Ganwani
You can also use developer workbench to deploy the components. All you have to do just compress your components in .zip format and deploy it along with your package.xml file.

User-added image