Experience Salesforce
Metadata API in Salesforce
What You’ll Learn
- What Is A Metadata?
- What Is Metadata APIs In Salesforce?
- How Metadata API works?
- How To Call Metadata API?
Topics
- APIs in Salesforce
- Need of API in Salesforce
- Languages Used in creating APIs
- How Communication Happens in APIs
- Types of APIs in Salesforce
- REST API Part 1
- REST API Part 2
- REST API Part 3
- REST API Part 4
- REST API Part 5
- REST API Part 6
- REST API Part 7
- REST API Part 8
- REST API Part 9
- SOAP API Part 1
- SOAP API Part 2
- SOAP API Part 3
- SOAP API Part 4
- SOAP API Part 5
- Metadata API in Salesforce
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:
- Login to https://packagebuilder.herokuapp.com/, through your sandbox or production org.
- Select the component types, you want to install.
- Copy the code and save it to the package.xml file.
- Login to the salesforce workbench: https://workbench.developerforce.com/login.php
- In Migration, Click on retrieve.
- Then upload the package.xml file.
- Click next.
You can follow similar steps to deploy metadata(which have been retrieved) to other org.
Next ChapterNeed Extra Support? Our FREE study materials have got you covered.
Our expert-prepared study materials provide the answers you need. Clear your doubts and improve your skills with detailed notes from industry professionals.