0

We are developing some functionality in our sandboxes, keeping everything in git repo and merging together from time to time. When the release time comes, we usually just need to publish some managed package based on what we've developed so far. And every time we are creating managed package by manually clicking from web UI interface on each artifact presented in our package.xml.

So here is the question: is it possible somehow to avoid doing this routine and error-prone stuff? Our package.xml contains list of artifacts which should be put into the package. Can SF somehow generate package for us based on provided package.xml? Ant? External Tools?

2

Yes. The Package object can update the contents of a package. The format is identical to the package.xml file. You can use Force.com IDE, Ant, Salesforce DX, etc.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.