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 Explore All You Might Also Like Apex method to delete record December 18, 2024 Map with one key and multiple values in Salesforce APEX August 14, 2022 LWC Card with Image November 18, 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.