Retrieve Custom/Standard objects with package.xml Post author:Swapnil 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 Retrieve Visualforce pages November 11, 2024 Star patterns set 1 October 22, 2022 Number patterns set 2 November 7, 2022 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.