+ Start a Discussion
dnash Bdnash B 

package.xml through SFDX CLI

Hi team, 
we are following org base development model and our production org contain one option which is highlighted below in red. We call that option as package.xml generator, and typically, this option helps us to send package.xml file through email based on the installation date and status as “in progress” in SF change tracking. Now, here I like to know how I can get same package.xml using SFDX CLI instead of generating it manually from salesforce UI (attached image). Any leads here is highly appreciable.


package.xml generator in Production environment
VinayVinay (Salesforce Developers) 
Hi Dnash,

You can generate package.xml generator extension for VS Code.

Below are references that can help you.

https://marketplace.visualstudio.com/items?itemName=VignaeshRamA.sfdx-package-xml-generator
https://medium.com/@mohitkumarsrivastav/auto-generate-package-xml-for-salesforce-application-development-deployment-e73eb53edf40
https://www.codescience.com/blog/2018/auto-generate-package-xml

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar
GulshanRajGulshanRaj
Hi Dnash,

There is one handy application on heroku which you can use to build your package.xml easily. 
Here is the application: https://packagebuilder.herokuapp.com/

If you are using vs code then you can use by installing the package in your vs code. The application is simple and straight forward.
User-added image


Thanks 
Gulshan Raj 
https://www.linkedin.com/in/gulshan-raj