Here we can get the knowledge on how to Create the XML package in Developer org and deploy it into another Developer org using Workbench.
First of all, we need to know What is XML?
Understanding of XML structure:
XML: "Extensible Markup Language"
XML is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.
*Create a Package from an Org for a list of selected elements using the workbench:
Step 1: Log in to Developer org
Step 2: Open Workbench and log in to the same dev org.
Step 3: Click on Info Tab > Metadata types & Components.
Step4: Search for Custom Objects
Step 5: Select ESSAR Custom Object
Step 6: In Search Metadata Type > Custom Fields> Select Custom Object All Fields
Step 7: Click on Download XML
The file is downloaded into the Downloads folder.
Step 8: Open the Downloaded XML File
Step 9: Now Retrieve the XML File.
Click on Migration Tab > Click on Retrieve.
Step 10: Choose Downloaded XML File and Click on Next.
Step 11: Click on the Retrieve Button.
Step 12: Click on Retrieve, Status should be successful.
And Click on Download Zip File.
Step 12: Log in to another Dev Org.
And Open Workbench
Step 13: Click on Migration> Deploy, Choose Zip File and Check Only Check box to True.
Click on Next.
Step 14: Click on Deploy
Step 15: File Successfully Deployed.
Step:16 Again Click on Migration> Deploy, Choose Zip File and Rollback back on Error Checkbox to True.
Click on Next.
Step 17: Ignore warnings and Click on Deploy
XML package successfully deployed into another org.
Open deployed custom objects and Create new records.
Sample XML File with required elements.
Note:
1*.If we are deploying a single package file we need to select the Single Package checkbox to true.
If we are deploying more than one file, we don’t need to select the Single Package check box. It should be false.
2*. If we are deploying any object we need to retrieve all related elements like Custom Objects, Custom fields, Page Layouts, and Profiles. If we do not retrieve the elements, fields are not visible in the Tab.
>> Like above we can deploy Single and multi-XML packages.
Comments
Post a Comment