Get BoatDataService class ready for action LWC challenge 3 - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Sujay NadkarniSujay Nadkarni 

Get BoatDataService class ready for action LWC challenge 3

Hello -

I am working towards completing LWC superbadge and need some help.  I have completed first two challenges/steps.  On the third step, I right click on force-app and click "retrieve source from org" but the class is not pulled in.  I can see the class in developer org.  What am I doing wrong?
Best Answer chosen by Sujay Nadkarni
Todd HalfpennyTodd Halfpenny
To use that approach you will need to specifically supply entries in the package.xml file.

You can also use the sfdx "force:source:retrieve" command, supllying the correct arguments to pull the specific source in.

Seeing as this is related to a cert I'm going to just point you to the docs (https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_source.htm#!) that should be able to help you. For info, I used the SFDX commands when I completed the badge.