23 questions
0
votes
0
answers
33
views
GitLab CI/CD pipeline Salesforce code coverage test
I'm currently building a CI/CD pipeline in GitLab, and I'm running into trouble with integrating a code coverage check.
What I’ve Got So Far:
A working GitLab Runner (on Windows).
An Apex class and a ...
7
votes
1
answer
1k
views
sfdx command not working after installing salesforce CLI
I installed salesforce cli and when I run the sfdx command on the command window, I am getting this error:
PS C:\\Users\\as67934\> sfdx
node:internal/modules/cjs/loader:1247
throw err;
^\
...
1
vote
0
answers
269
views
Unable to load schema from '/Users/myname/.vscode/extensions/salesforce.salesforcedx-vscode-core-61.12.0/node_modules/@salesforce/schemas/[see post]
I'm trying to create a Scratch Org from a modified project-scratch-def.json file in VSCode.
I can't save the changes to the json file because I'm getting the error:
Unable to load schema from '/Users/...
-1
votes
1
answer
177
views
Salesforce CLI support CSV data import on Big Objects?
Does Salesforce CLI (SFDX CLI) support big objects.
How can we perform data import on big object from CSV file using SFDX CLI ...
I am trying to run "sf data upsert bulk" command to import ...
-1
votes
1
answer
920
views
Error in deploying class using vs code "Error deploying or retrieving source"
"Error deploying or retrieving source: The file or directory that you tried to deploy or retrieve isn't in a package directory that's specified in your sfdx-project.json file. Add this location ...
1
vote
0
answers
526
views
Jenkins - "Custom Tool" plugin URL
I am using Custom Tool plugin in Jenkins to run Salesforce CLI to execute my JenkinsFile.
https://developer.salesforce.com/tools/salesforcecli
https://developer.salesforce.com/docs/atlas.en-us....
3
votes
4
answers
7k
views
VSCode / Salesforce - Deploy Source to Org very slow to complete, although actual deployment is fast?
I don't know when this started working, but my deployments are horifically slow now and I'm not sure why...
I change a single apex class, right-click the file and pick SFDX:Deploy Source to Org, and ...
0
votes
1
answer
622
views
How to setup remote site origin programatically in salesforce during the app installation
I'm developing the salesforce app using salesforce LWC components, I have requirement where I should process the salesforce data from an external system, for this I'm sending the data to the external ...
-1
votes
1
answer
227
views
Jenkins pipeline creation through Salesforce CLI
I am new to Salesforce.
Can anyone help is it possible to create Jenkins pipeline through Salesforce CLI.
Thank you.
0
votes
0
answers
43
views
Custom Lookup iteration in Multiple rows
I have created a custom lookup for Name and Related fields for Task and Event objects. And added Multiple rows to enter the records to save but the custom Lookup component is not Iterating while ...
0
votes
2
answers
3k
views
"SFDX: Deploy Source to Org" function missing
Hello I have created a LWC project in VS Code but the "SFDX: Deploy Source to Org" option is missing when I Right-click the default folder under force-app/main.
I have authorized the org and ...
0
votes
0
answers
597
views
Assign role to user in Scratch Org through sfdx command and send email notification to reset the password
I have to create users in scratch org through sfdx cli command and assign profile, role to the user.
The command used is
sfdx force:user:create -u <targetusername> -v <targetdevhubusername>...
1
vote
1
answer
981
views
Determine Minimum Tests To Be Run For Salesforce Deploy
I have set up a GitHub action that validates code changes upon a pull request. I am using the Salesforce CLI to validate (on PR) or deploy (on main merge).
The documentation gives me several options ...
2
votes
1
answer
889
views
Local Development Server for Lightning Web Components
I'm trying to set a Local Development Server for Lightning Web Components according to this link but when I try to install the plugin @salesforce/lwc-dev-server I get this error message :
Code: ...
1
vote
1
answer
2k
views
Salesforce CLI destructive changes (sfdx sgd:source:delta) not showing difference in branches using GItHub Actions
I am using the Salesforce destructive changes mentioned here. However, sfdx sgd:source:delta --to "HEAD" --from "HEAD^" --output . --generate-delta command is not showing any ...
7
votes
2
answers
5k
views
Salesforce CLI not working with Visual Studio Code on MAC
I am not sure where the issue is. I am trying to get the Salesforce CLI and VS Code development flow set up so I can start working, but I am running into basic issues that don't seem to be experienced ...
1
vote
2
answers
3k
views
Can't Authorize Dev Hub or Org in SF/VS Code Env. Setup for SF
I'm trying to Authorize Dev Hub in SF, It opens up a browser window to login and once I put my Credentials and click login, The Page Simply Keeps Loading, Never Finishes loading.
I have everything in ...
2
votes
2
answers
1k
views
SFDX & Github Action - Warning: force:auth:sfdxurl:store is not a sfdx command
I have the following yaml file. It were working just fine until yesterday. Unfortunately starting from today received the below warning and followed by the following error.
Hope someone will be able ...
0
votes
2
answers
1k
views
Cannot read property 'getInstance' of undefined in Salesforce CLI while deploy and retrieve command
VSCode is using for Salesforce development and couple of days back this issue is started whenever I am try to Deploy and retrieve changes from Org to my VScode Connected org. It is throwing Error
...
0
votes
1
answer
1k
views
Visual Studio Code(vsc) sfdx Command keeps on running
Summary
From past few days the SFDX commands are taking way to long to execute, infact I had to cancel them because they are just shown as running for infinite
For Ex: 1.SFDX: Create Project will run ...
1
vote
3
answers
4k
views
It is possible to install Salesforce cli through command line?
I am in the process of build automation for Salesforce, as a requirement I need to install "Salesforce CLI" and execute few commands.
I went through the chocolaty commands, but it doesn't seems to be ...
0
votes
1
answer
2k
views
MdapiDeployCommand No org configuration found for name
I am getting below error message when I try to validate salesforce deployment against target salesforce org.
{
"status": 1,
"name": "NoOrgFound",
"message": "No org configuration found ...
1
vote
3
answers
2k
views
SHA mismatch error when sfdx update command is executed
Salesforce CLI is recently installed in my system and it is showing the following information on every command.
! sfdx-cli: update available from 6.55.1-be0b3dc4c4 to 7.22.0-de5c6ecff8
I am not able ...