Hi, I am having an issue when I try to create a project with manifest. Once I pass this step, am message saying activation extensions then nothing happen. The box "enter your project name" does not appear. Could you please help?
This video is so helpful. Is there any chance you do a video showing how to display records from custom objects into lightning web components and insert from a lightning app into an object in Salesforce?
Hi. When i right click on the package.xml and choose SFDX: Retrieve Source in Manifest from Org for the pre-defined package.xml the same as shown by you in the video, the metadata is not retrieved. I am getting the below message. === Retrieved Source No result found Could you please help me out ? I am stuck over here and would appreciate any help.
Thanks Amit, I tried this but have this error message }, "salesforcedx-vscode-core.retrieve-test-code-coverage":true ***Changed file is outside of SFDX Project Root (/force-app), and was not deployed*** Any idea? it is in the {} settings.json
I am getting error during Authorize an org like error is:ERROR running force:auth:web:login: Cannot start the OAuth redirect server on port PortInUseAction. port is 1717..can you please help me
Check this developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_troubleshoot_cancel_auth.htm macOS or Linux To recover from a failed org authorization on macOS or Linux, use a terminal to kill the process running on port 1717. 1) From a terminal, run: lsof -i tcp:1717 2) In the results, find the ID for the process that’s using the port. 3) Run kill -9 Select the process that you want to end, and then click End Process. To recover from a failed org authorization on Windows, use the Task Manager to end the Node process. 1) Press Ctrl+Alt+Delete, then click Task Manager. 2) Select the Process tab. 3) Find the process named Node. 4) Select the process that you want to end, and then click End Process. Let us know if this will help you
Fixed it. Needed to download and install the JavaScript JDK (requires a free Oracle account to download), then in VS Code File--> Preference-> Settings--- > Type " Apex" you have to change your Java Home to C:\Program Files\Java\jdk1.8.0_231. Then finally restart VS Code.
Also you can just open Settings in VSCode and do a search for: salesforcedx-vscode-core.retrieve-test-code-coverage . It's a workspace setting that you just need to enable/check it and you should be good to go.
Im getting this error: 'ERROR running force:project:create: Command failed with exit code 1: npm root -g --prefix c:\Users\ADMIN\VS code\.yo-repository --loglevel error 'npm' is not recognized as an internal or external command, operable program or batch file. 23:08:59.807 sfdx force:project:create --projectname thunder --outputdir c:\Users\ADMIN\VS code --template standard --manifest ended with exit code 1' What does it mean? pls help me here
Fixed it. Needed to download and install the JavaScript JDK (requires a free Oracle account to download), then in VS Code File--> Preference-> Settings--- > Type " Apex" you have to change your Java Home to C:\Program Files\Java\jdk1.8.0_231. Then finally restart VS Code.
Also you can just open Settings in VSCode and do a search for: salesforcedx-vscode-core.retrieve-test-code-coverage . It's a workspace setting that you just need to enable/check it and you should be good to go.
How Can I solve this issue? sfdx force:auth:web:login --setalias myDev --instanceurl login.salesforce.com --setdefaultusername » Warning: force:auth:web:login is not a sfdx command. Did you mean auth:web:login? [y/n]: » Error: Run sfdx help force for a list of available commands. 13:19:37.294 sfdx force:auth:web:login --setalias myDev --instanceurl login.salesforce.com --setdefaultusername ended with exit code 127
Hey, I'm getting this error when trying to import classes- "ERROR running force:source:retrieve: Invalid or unsupported zip format. No END header found " Any idea?
Check our blog post for step by step process and link www.apexhours.com/how-to-setup-visual-studio-code-for-salesforce/
Thanks a lot! Read through tons of Salesforce docs, but got it working only after watching your video
Glad it helped you
NOTE:- Before doing VsCode setup. Please install the Salesforce CLI.
i did samething still im getting same error ,is there any way to delete connected app i thought because of connected app its getting
Well done Amit. This was the quickstart that I needed. Thanks!
we are glad you liked it. Please share with others and subscribe
Excellent!! what would normally take 15 hours to learn by oneself, you taught in 15 minutes.
Glad it was helpful!
Hi,
I am having an issue when I try to create a project with manifest. Once I pass this step, am message saying activation extensions then nothing happen. The box "enter your project name" does not appear. Could you please help?
Simply superb bro....I am expecting more posts like this...Thanks
I will try my best
This video is so helpful. Is there any chance you do a video showing how to display records from custom objects into lightning web components and insert from a lightning app into an object in Salesforce?
Glad you like it. We dnt have but we can plan
Very nicely explained step by step. Thank you.
Thanks for your feedback
Thanks a lot , it's really help us to set the VS code
Enjoy VSCode
Awesome Amit
Thanks for your feedback
Do I have to install jdk also for this?
you need JRE
Thank you for your good explanation
Thank you so much for your feedback.
I simply copied the AccountController class from the Trailhead module but I am getting the deploy source to org failed to run. Please help.
what error you are getting ?
Hi.
When i right click on the package.xml and choose SFDX: Retrieve Source in Manifest from Org for the pre-defined package.xml the same as shown by you in the video, the metadata is not retrieved. I am getting the below message.
=== Retrieved Source
No result found
Could you please help me out ? I am stuck over here and would appreciate any help.
Is there a way to retrieve all existing Apex Classes from my org? Excellent tutorial.!
Yes you can. Step included in recording
Thank you Amit these is very useful.
Thanks for your feedback
Very helpful video !!! THANKS
We are glad it helped you
Great
Thanks for your feedback
Thanks Amit, I tried this but have this error message
},
"salesforcedx-vscode-core.retrieve-test-code-coverage":true
***Changed file is outside of SFDX Project Root (/force-app), and was not deployed*** Any idea? it is in the {} settings.json
Hello I want to get an apex class called “account controller” from my org to my vs code… how to do this?
Authenticate your org and then pull it
Awesome content. Thank you for such a nice video
Thanks
I am getting error during Authorize an org like error is:ERROR running force:auth:web:login: Cannot start the OAuth redirect server on port PortInUseAction. port is 1717..can you please help me
Check this developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_troubleshoot_cancel_auth.htm
macOS or Linux
To recover from a failed org authorization on macOS or Linux, use a terminal to kill the process running on port 1717.
1) From a terminal, run:
lsof -i tcp:1717
2) In the results, find the ID for the process that’s using the port.
3) Run
kill -9
Select the process that you want to end, and then click End Process.
To recover from a failed org authorization on Windows, use the Task Manager to end the Node process.
1) Press Ctrl+Alt+Delete, then click Task Manager.
2) Select the Process tab.
3) Find the process named Node.
4) Select the process that you want to end, and then click End Process.
Let us know if this will help you
Thanks Bro, very very helpful info
We are glad it helped you
hi , my vs code is cannot link salesforce org
help please
what error you are getting
Thanks Buddy, it is very helpful!
We are glad it helped you
Nice👍
Thanks ✌
I am not getting syntax error in faulty code in VS code ,, can you help me with this.
I don't see run all tests option in my test class
I hope you followed the all step
Same issue. Did you ever figure it out?
Fixed it. Needed to download and install the JavaScript JDK (requires a free Oracle account to download), then in VS Code File--> Preference-> Settings--- > Type " Apex" you have to change your Java Home to C:\Program Files\Java\jdk1.8.0_231. Then finally restart VS Code.
Also you can just open Settings in VSCode and do a search for: salesforcedx-vscode-core.retrieve-test-code-coverage . It's a workspace setting that you just need to enable/check it and you should be good to go.
how to mass update apexclass new apiversion by using visual studio in sfdc
You need to update the meta.xml file
Im getting this error: 'ERROR running force:project:create: Command failed with exit code 1: npm root -g --prefix c:\Users\ADMIN\VS code\.yo-repository --loglevel error
'npm' is not recognized as an internal or external command,
operable program or batch file.
23:08:59.807 sfdx force:project:create --projectname thunder --outputdir c:\Users\ADMIN\VS code --template standard --manifest
ended with exit code 1'
What does it mean? pls help me here
Please install npm
I don't see "sfdx: Create Apex Class " option in my environment :(
Did you installed the Salesforce CLI ?
Thank you
We are glad it helped you
Sir I have a porblem on retrieving the classes i get no result found please help sir
I hope you updated your package.xml file ?
@@apexhours how to update sir because i am learning in Udemy so i dont know how to update
Also I don't see "run all tests" option in my test classes
Same issue. Did you ever figure it out?
Fixed it. Needed to download and install the JavaScript JDK (requires a free Oracle account to download), then in VS Code File--> Preference-> Settings--- > Type " Apex" you have to change your Java Home to C:\Program Files\Java\jdk1.8.0_231. Then finally restart VS Code.
Also you can just open Settings in VSCode and do a search for: salesforcedx-vscode-core.retrieve-test-code-coverage . It's a workspace setting that you just need to enable/check it and you should be good to go.
Tq bro
We are glad this helped you
How Can I solve this issue?
sfdx force:auth:web:login --setalias myDev --instanceurl login.salesforce.com --setdefaultusername
» Warning: force:auth:web:login is not a sfdx command.
Did you mean auth:web:login? [y/n]:
» Error: Run sfdx help force for a list of available commands.
13:19:37.294 sfdx force:auth:web:login --setalias myDev --instanceurl login.salesforce.com --setdefaultusername
ended with exit code 127
Hey, I'm getting this error when trying to import classes- "ERROR running force:source:retrieve: Invalid or unsupported zip format. No END header found
"
Any idea?
Hey, I'm getting this error when trying to authosize the org "SFDX: Authorize an Org Failed to run"
What does this mean ?
Can you please share your screen shot