Retrieve FieldSet Using Package.xml Post author:Swapnil Jaiswal Post published:November 7, 2024 Post category:Blog / Salesforce Post comments:0 Comments How to retrieve FieldSet Using package.xml Package.xml config to retrieve FieldSets <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>Contact.cbugs__Top_10_Fields</members> <name>FieldSet</name> </types> <version>62.0</version> </Package> Explanation: On Contact Object we have created FieldSet Named: Top 10 Fields.Note: cbugs is a Namacpace. Retrieve field set in salesforce using package xml Here is the Syntax to retrieve FieldSet using package.xml <types> <members>Contact.cbugs__Top_10_Field</members> <name>FieldSet</name> </types> Note: To retrieve multiple field set once you can add more members. Interview Question on this Topic:Is wildcard characters supported to retrieve FieldSets?What is the use of FieldSets?How to use FieldSet in Lighting Component? Preparing for Salesforce Interview? 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 Get all objects available on polymorphic field December 13, 2022 Accenture L1 2026 Salesforce Developer March 6, 2026 Cognizant Salesforce Interview questions feb 2026 March 6, 2026 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.