Activity Forums Salesforce® Discussions What is Meta Data ApI in Salesforce?

  • MOHIT

    Member
    April 13, 2020 at 3:42 pm

    definitions and page layouts, for your organization. This API is intended for managing customizations and for building tools that can manage the metadata model, not the data itself. To create, retrieve, update or delete records, such as accounts or leads, use data SOAP API or REST API.
    The easiest way to access the functionality in Metadata API is to use the Salesforce Extensions for Visual Studio Code or the Ant Migration Tool. Both tools are built on top of Metadata API and use the standard tools to simplify working with Metadata API.
    The Salesforce Extensions for Visual Studio Code includes tools for developing on the Salesforce platform in the lightweight, extensible VS Code editor. These tools provide features for working with development orgs (scratch orgs, sandboxes, and DE orgs), Apex, Aura components, and Visualforce.
    The Ant Migration Tool is ideal if you use a script or the command line for moving metadata between a local directory and a Salesforce org.
    For more information about the Salesforce Extensions for Visual Studio Code or the Ant Migration Tool, see Salesforce Tools and Toolkits.
    The underlying calls of Metadata API have been exposed for you to use directly, if you prefer to build your own client applications. This guide gives you more information about working directly with Metadata API.
    You can use the Metadata API to manage setup and customization information (metadata) for your organizations. For example:
    Export the customizations in your organization as XML metadata files. See Working with the Zip File and retrieve().
    Migrate configuration changes between organizations. See deploy() and retrieve().
    Modify existing customizations in your organization using XML metadata files. See deploy() and retrieve().
    Manage customizations in your organization programmatically. See CRUD-Based Metadata Development.
    You can modify metadata in test organizations on Developer Edition or sandbox, and then deploy tested changes to production organizations on Enterprise, Unlimited, or Performance Editions. You can also create scripts to populate a new organization with your custom objects, custom fields, and other components.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos