Retrieve LWC using package.xml Post author:Swapnil Jaiswal Post published:November 11, 2024 Post category:Blog / Salesforce Post comments:0 Comments How to retrieve LWC with package.xml / manifest file Summery: Retrieve Single LWCRetrieve Multiple Lightning Web ComponentsRetrieve All LWCFetch LWC with SFDX Retrieve Single LWC <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <name>LightningComponentBundle</name> <members>lookupComponent</members> </types> <version>62.0</version> </Package> Fetch multiple LWC <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <name>LightningComponentBundle</name> <members>lookupComponent</members> <members>dynamicProgressIndicator</members> </types> <version>62.0</version> </Package> Retrieve All * LWC <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <name>LightningComponentBundle</name> <members>*</members> </types> <version>62.0</version> </Package> Retrieve LWC with SFDX sfdx force:source:retrieve -m LightningComponentBundle:lookupComponent Looking for Job Change? Find company wise Salesforce 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 How to delete all records from any Standard /Custom object using SOQL. January 1, 2022 Create specific folder programmatically in android using Java September 27, 2022 How to fetch all record types of any object in lwc salesforce. January 21, 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.