Retrieve FieldSet Using Package.xmlBy Swapnil Jaiswal / November 7, 2024 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