I'm deploying custom objects data from OrgA o OrgB using ANT tool which left me in never ending scenario on what to deploy 1st. Here is my scenario:
I got OrgA which contains custom fields in Managed package and some custom objects.In OrgB i have only Managed Package objects and fields.I need to deploy these custom fields of Managed Package object & some custom Objects.
1) I got the custom Object data of Managed Package from OrgA which contains few fields having relation with custom object fields. 2) Custom object fields also have an relationship with Managed Package objects.
If i try to deploy Managed Package objects first, it is giving me errors of the fields which is having relationship with custom objects.
If i do the custom Object first, it is also throwing the error of the fields having an relationship with custom objects.
Is there any better approach available? I'm looking for a sample.xml which gives me all objects(including custom fields) of a managed package and all custom objects of an org?
Note: Above custom or Managed objects includes custom fields, buttons(reference to apex pages)