Retrieve Custom/Standard objects with package.xml Post author:Swapnil Jaiswal Post published:November 11, 2024 Post category:Blog / Salesforce Post comments:0 Comments How to retrieve salesforce objects with package.xml Using following syntax we retrieve any Standard or Custom Salesforce objects. Syntax to retrieve objects: <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <name>CustomObject</name> <members>Object_API_Name</members> <members>Account</members> <members>Case</members> </types> <version>62.0</version> </Package> Object metadata definition contains following items: Compact layoutsActionsButtons & ActionsFields SetsFields detailsDependent Fields/ Controlling FieldsRecord TypesValidations RulesFind how to retrieve apps metadata using package.xml.Find how to retrieve Utility Bar metadata using package.xml. Looking for Job Change? Find company wise Interview Questions Here: TCS Salesforce Deloitte KPMG L & T Infosys Lirik Capgemini TechAim Bajaj Finance EY Logixal Hexaware Tech Workday Apisero You Might Also Like Virtusa Salesforce Developer Interview Questions January 26, 2025 How to delete all records from any Standard /Custom object using SOQL. January 1, 2022 Trigger – Update All Account Related Contacts June 23, 2024 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.