Free Salesforce Developers Tutorials >

Chapter 13 - API >

Metadata API in Salesforce

Metadata API in Salesforce

What You’ll Learn


S2 Labs

What Is A Metadata?

Data of data is termed “Metadata”. In Salesforce, all the objects, fields, tabs, apps, etc are Metadata.

What Is Metadata APIs In Salesforce?

To access the metadata in Salesforce, we need to call metadata API. It allows us to retrieve and deploy salesforce metadata from one org to another org using a configuration file.

How Metadata API works?

It works similarly to other APIs, but the only difference is that it is used to retrieve and deploy data from/to salesforce org.

How To Call Metadata API?

Here below are the example steps to call metadata API:

  1. Login to https://packagebuilder.herokuapp.com/, through your sandbox or production org.
  2. Select the component types, you want to install.
  3. Copy the code and save it to the package.xml file.
  4. Login to the salesforce workbench: https://workbench.developerforce.com/login.php
  5. In Migration, Click on retrieve.
  6. Then upload the package.xml file.
  7. Click next.

You can follow similar steps to deploy metadata(which have been retrieved) to other org.

salesforce-developer

Download Study Material

Get access to exclusive study material for Salesforce Certification and ace your exams!

Download Now

Our Salesforce Certification Courses

Hey there! Glad you made it through our Salesforce Developer Training for beginners . But wait! We've got some high-in-demand Salesforce courses for you to take your Salesforce skills to the next level, making you a desired professional in the Salesforce job market.

Post a Comment

Your email address will not be published. Required fields are marked *