TransWikia.com

Viewing Apex file names in VS Code before retrieving it without using ForceCode extension

Salesforce Asked by vinod on November 28, 2021

Earlier I was using ForceCode extension in VS Code. It had a nice feature to retrieve files ( Apex ) from server. You enter characters in the search box and it will show filtered list of Apex in a dropdown with check boxes. This was a nice way of quickly browsing Apex files on server without actually retrieving it. Now I have switched completely to SF Extension pack for my work. Say, I don’t know the actual file name I want to retrieve from server and I want to be able to browse just like ForceCode did and then click/select file. How is this done using SF extnsions alone? Is there a Retrieve file menu option for SFDX in VS Code?

One Answer

The Salesforce Extension Pack has that feature called "Org Browser". Once you create a project and authorize an org you will be able to see the list of all metadata components in the org browser.

In the org browser, you get two buttons, one to refresh the list of components, and the second one to retrieve those by clicking the downloading button.

If expanded, you can also retrieve individual metadata items, like apex class, lwc, etc.

enter image description here

Answered by Rahul Gawale on November 28, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP