0

I am having the below structure in Package.xml

<types>
       <members>*</members>
       <members>Account</members>       
      <name>CustomObject</name>
</types>   

I am using this for copying Account standard object and all all custom objects from one sandbox to other. Things are working fine, but I renamed some standard fields and also object label in "Account" object. Those are all copying properly but what ever fields names I used are not copying properly.
ie,
Account -- Provider

Can someone help with the proper Package.XML ?

2
  • The wildcard means you're pulling in all SObjects (custom and standard). SObject fields are a separate metadata type CustomField. Is there a reason why you're using package.xml instead of SFDX or changesets?
    – Derek F
    Apr 28 '20 at 15:31
  • 1
    @DerekF Incorrect. * CustomObject only pulls in custom objects, not standard objects.
    – sfdcfox
    Apr 28 '20 at 15:45
-1

I achieved this by

<types>
     <members>*</members>
     <name>CustomLabel</name>
</types>

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.