function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Urvish ShahUrvish Shah 

Metadata migration

Hi,

I am doing the metadata migration from one salesforce org. to other. 
There are around 100 custom objects and its syandard+related fields.
When I try to deply these using migration tool(ANT), it gives errors for the fields,picklistvalues for that custom object that says 'Not found in package.xml'.

My question is there are no members type 'custom field' in package.xml and not even the source org.

Any solution to deploy these objects and the way to perform will be appreciated.
Thanks.
Ankit SehgalAnkit Sehgal
It appears that the deploy package to package.xml validation is case sensitive. If you get  'not in package.xml', double check the case of the object or field in your package.xml.
The tricky part about this is that ant retrieve will work just fine, the validation only occurs when doing ant deploy or ant test