Retrieve FieldSet Using Package.xml Post author:Swapnil 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 Explore All You Might Also Like Error in Salesforce Flow December 29, 2022 Fetch all Custom Objects in APEX August 15, 2022 LWC: Upload File In Specific Folder November 3, 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.