Google adds

VS Code With Salesforce DX

VS Code for Salesforce with SalesforceDX.

1.     Install  VS Code-

2.     Install Salesforce Extension-
1.     Salesforce Extension Pack.
2.     Reload the VS Code.

3.     Open command palette (Ctrl +Shift +P).
1.     Create Project with Manifest. With sfdx non scratch org.(Sandbox or Production).
2.     Enter Your Project Name …………………….
3.     Create a Folder and create a project.
4.     Open SFDX Authentication an Org
1.     Alisa Name of Org.
2.     Redirect with Salesforce login Page.
3.     Check in Output- Is Success.
4.      To retrieve Your Code- SFDX Retrieve Source in manifest from org.
5.     All component downloaded you can see in output.
5.     Create Apex Class-
1.     Open SFDX Create Apex Class.
2.     Enter the Name……….
3.     Select Folder Where You wants to save.
4.     After Save Right Click to Deploy to Org (if you want).
6.     How to Execute Text Class.
1.     Open any test Class.
2.     Click On Run All Tests.
3.     To retrieve code coverage results when you run Apex tests, edit your workspace settings and set salesforcedx-vscode-core.retrieve-test-code-coverage to true.  Open Settings.json  and put “salesforcedx-vscode-core.retrieve-test-code-coverage”:  true.
7.     Execute a SOQL Query.
1.     Open SFDX Execute Soql Query…
2.     Type Soql Query.. Using Rest Api Call.
8.     Run Code on anonymous window.
1.     Open SFDX Execute Anonymous Apex with Editor Contents.
2.     Click on .SFDX----Tools--- templateApex.input—Remove Code and type
9.     Debug Logs..


VS Code – VS Code is Source Code Editor.
Git- Git is a Version Control system.(It is Tool)
Git Hub – It is web Hosting service for version control for Git.
Email Id:  Required Email ID

Git – Git Download and install- Git SCM
Change Editor Notepad++

Git Hub Account--- Free Plan.
1.     Initialize Repository.
2.      Commit.
3.     Config Git (If Ask)
4.     Add Remote
5.     Push.
6.     Fill GitHub Account Credential.
7.     Push again (If Required)
Initialize Repository----
Message (First Commit)---
Git Execute Error: Configure Git from Git CMD.
All are Local Repository.

Global Repository—
Open GitHub---Your Repository—New—Name Repository—Create Repository.

Copy: git remote add origin https://github.com/sajay1991/sanjayNAfME.git
Paste in:  Terminal—in View Also

Push using command: git push -u origin master (If Want).
 

Click on Push: Login with GitHub.



No comments:

Post a Comment

All Governor Limit

Number of SOQL queries: 100 Number of query rows: 50,000 Number of SOSL queries: 20 Number of DML statements: 150 Number of DML rows: 10,...