4 - Salesforce Tooling



1) Salesforce CLI from here https://developer.salesforce.com/tools/salesforcecli

2) Visual code Studio

https://www.youtube.com/watch?v=B-s71n0dHUk

3) Install Salesforce Extension Pack

Connecting the Org to Local VS Code

View--> Command Pallet (Shift + Command + P in mac)

SFDX : Salesforce Development Experience

SFDX: Create a Project

SFDX: Authorize an Org

Check if connected : .sfdx --> sfdx-config.json (should show you the project "defaultusername": "ApexDevOrg")


Bring code from Org to Local

Check : force-app --> classes (Initially blank)

Bring : Cloud symbol --> Apex classes --> click on the class (cloud symbol

To Push code from Local to SF Org : Right click on the code --> SFDX:deploy this source to Org

To Retrieve code from SF Org to local : Right click on the code --> SFDX: Retrieve this source from Org

Autosave from local to Org :  

Comments

Popular posts from this blog

API Names in Salesforce

18 - LWC - BEST PRACTICES - For accessing HTML elements and their values in JavaScript

6 - Object Relationships (Lookup and Master-Detail and Junction Objects)