[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-673474-105":59,"doc-detail-673474-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","metadata-api-developer-guide-version-68-last-updated-october-30-2026","Metadata API Developer Guide - Version 68 - Last updated October 30, 2026","","Metadata API Developer Guide (Version 68.0, Winter ’27) provides comprehensive guidance for using Salesforce Metadata API to move and deploy metadata across environments. It covers common workflows such as transferring metadata from production to local files, using scratch orgs and sandboxes, and deploying to production-level targets. The guide explains quick starts, package.xml manifests, retrieval and deployment options, declarative and CRUD-based call styles, REST resources, error handling, and a beta MCP tool for metadata API context.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/metadata-api-developer-guide-version-68-last-updated-october-30-2026/673474/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/metadata-api-developer-guide-version-68-last-updated-october-30-2026/673474.png","ImageObject",300,407,{"name":92,"@type":93},"naya.afterrain","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-04","2026-11-02",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What environments does the guide cover for moving and deploying metadata?","Question",{"text":112,"@type":113},"It explains workflows for moving metadata from production to local files, moving metadata changes using a scratch org, deploying to sandboxes at integration points, and deploying metadata to production for production-level changes.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How do declarative file-based calls differ from CRUD-based calls?",{"text":117,"@type":113},"Declarative file-based calls focus on deploying and retrieving metadata using zip files and package.xml manifests, while CRUD-based calls organize interactions around create/read/update/delete style metadata operations.",{"name":119,"@type":110,"acceptedAnswer":120},"Which REST resources are included for deployment management?",{"text":121,"@type":113},"The guide covers deploying with REST using Apex testing, checking deployment status via REST resources, deploying a recently validated component set without tests, canceling an in-progress deployment, and deploying using the Salesforce CLI with REST API.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},673474,1793644471,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144},962094248482,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Metadata API Developer Guide  \nVersion 68.0, Winter ’27  \nLast updated: October 30, 2026  \n© Copyright 2000–2026 Salesforce, Inc. All rights reserved. Salesforce is a registered trademark of Salesforce, Inc., as are other names and marks. Other marks appearing herein may be trademarks oftheir respective owners.  \nCONTENTS  \nINTRODUCTION TO METADATA API ................................. 1  \nChapter 1: Understanding Metadata API ................................... 1  \nUse Cases for Metadata API .............................................. 2  \nMove Metadata from Production to Your Local File System ....................... 3  \nMove Metadata Changes to and from a Scratch Org .......................... 3  \nMove Metadata to a Sandbox at Integration Points ........................... 4  \nDeploy Metadata to Production ......................................... 4  \nMove Metadata for Production-Level Changes .............................. 5  \nMake Large Metadata Configuration Changes .............................. 5  \nRelease Notes ........................................................ 5  \nMetadata API Developer Tools ............................................. 5  \nSupported Salesforce Editions ............................................. 6  \nMetadata API Edit Access ................................................ 7  \nDevelopment Platforms .................................................. 7  \nStandards Compliance .................................................. 7  \nMetadata API Support Policy .............................................. 8  \nAPI End-of-Life Policy ................................................... 8  \nRelated Resources ..................................................... 9  \nChapter 2: Quick Start: Metadata API ..................................... 10  \nMetadata Development Prerequisites ........................................ 11  \nStep 1: (Optional) Add Metadata Components to an Org Using the UI ................... 11  \nStep 2: Build a Package.xml Manifest ........................................ 11  \nStep 3: Retrieve Components with Metadata API ................................ 12  \nChapter 3: Build Client Applications ...................................... 14  \nPrerequisites to Build Client Applications ..................................... 14  \nStep 1: Generate or Obtain the Web Service WSDLs for Your Organization ................ 15  \nStep 2: Import the WSDL Files Into Your Development Platform ....................... 15  \nStep 3: Walk Through the Java Sample Code ................................... 16  \nUSING METADATA API ............................................ 25  \nChapter 4: Declarative (File-Based) Metadata API Calls ....................... 25  \nDeploying and Retrieving Metadata with the Zip File ............................. 26  \nSlow Deployments .................................................... 27  \nDoes a Retrieve Job Have a Status of Pending? ................................. 27  \nSample package.xml Manifest Files ........................................ 28  \nRunning Tests in a Deployment ........................................... 34  \nContents  \nRunning a Subset of Tests in a Deployment ................................... 35  \nRun Relevant Apex Tests in a Deployment (Beta) ................................ 36  \nRun the Same Tests in Sandbox and Production Deployments ....................... 37  \nLimit on Enqueued Deployments from Apex ................................... 38  \nMaintaining User References ............................................. 38  \nChapter 5: CRUD-Based Metadata API Calls ............................... 39  \nChapter 6: REST Resources for Metadata ................................. 44  \nDeploy Metadata with Apex Testing Using REST ................................ 46  \nCheck the Status of Your Deployment Using REST Resources ..................... 51  \nDeploy a Recently Validated Component Set Without Tests ..................... 52  \nCancel a Deployment in Progress Usi","cbCaihq8RdLYg4dg","https://ap.wps.com/l/cbCaihq8RdLYg4dg","pdf",12026277,2686,"English","# Introduction to Metadata API\n## Chapter 1: Understanding Metadata API\n## Chapter 2: Quick Start: Metadata API\n# Using Metadata API\n## Chapter 3: Build Client Applications\n## Chapter 4: Declarative (File-Based) Metadata API Calls\n## Chapter 5: CRUD-Based Metadata API Calls\n## Chapter 6: REST Resources for Metadata\n## Chapter 7: Error Handling\n## Chapter 8: Quick Start: Metadata API Context MCP Tools\n# Reference\n## Chapter 9: File-Based Calls","[{\"question\":\"What environments does the guide cover for moving and deploying metadata?\",\"answer\":\"It explains workflows for moving metadata from production to local files, moving metadata changes using a scratch org, deploying to sandboxes at integration points, and deploying metadata to production for production-level changes.\"},{\"question\":\"How do declarative file-based calls differ from CRUD-based calls?\",\"answer\":\"Declarative file-based calls focus on deploying and retrieving metadata using zip files and package.xml manifests, while CRUD-based calls organize interactions around create/read/update/delete style metadata operations.\"},{\"question\":\"Which REST resources are included for deployment management?\",\"answer\":\"The guide covers deploying with REST using Apex testing, checking deployment status via REST resources, deploying a recently validated component set without tests, canceling an in-progress deployment, and deploying using the Salesforce CLI with REST API.\"}]","Metadata API Developer Guide - Version 68 - Last updated October 30, 2026 | PDF",6769]