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 Trigger: Prevent Account from Deleting if it has Opportunities associated to it. January 5, 2025 Lightning layout with scrollable fields November 27, 2022 Trigger: Prevent Contact being Created/Updated with duplicate Email January 7, 2025 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.