Questions tagged [sfdx-plugin]
A plug-in adds functionality to the Salesforce CLI. Some plug-ins are provided by Salesforce and are installed by default when you install the CLI. Some plug-ins are provided by third parties and can be installed locally. When you have a requirement that an existing plug-in doesn’t meet, you can build your own.
227
questions
0
votes
0
answers
30
views
Cloning profile using custom plugin
I'm creating a custom sf plugin and using that to clone a custom admin profile and copy over ALL its contents(mainly FLS, Object permissions, apex class access etc) to another target profile.
The idea ...
0
votes
0
answers
19
views
Variable does'nt exist error while pushing the source code to the scratch org
I have tried to push the source code to my scratch org using this command sfdx force:source:push
I'm getting component failures and deployment is getting failed below are the errors
Variable doesn't ...
0
votes
1
answer
21
views
Error when installing salesforce code scanner
I am trying to install salesforce code scanner with
sf plugins install @salesforce/sfdx-scanner but I am getting an error:
NpmError: Failed to find @salesforce/sfdx-scanner@latest in the registry
sf ...
2
votes
1
answer
32
views
Getting Error: spawn git ENOENT on build via sfp
I am trying to setup sfp by following the instructions: flxbl Docs
I am trying to run below command as mentioned here:
sfp build -v MySandboxOrg
Getting below error output:
---------------------------...
0
votes
1
answer
17
views
Getting error sfdx-project.json doesn't exist or not readable at sfdx-project.json
I am trying to setup sfp by following the instructions: flxbl Docs
I have set up the sfdx-project.json as mentioned in step C here.
My sfdx-project.json looks like below:
{
"packageDirectories&...
3
votes
1
answer
130
views
UNSUPPORTED_API_VERSION: Invalid Api version specified on URL on Manifest Retrieval
After refreshing a sandbox last night, I was unable to retrieve metadata from the org using SFDX in VSCode due to a mismatch in API Versions. The error received was:
15:51:26.514 Starting SFDX: ...
0
votes
0
answers
24
views
The scratch org is not ready yet (Status = New)
After running the command: sfdx org create scratch -duration-days 30 --wait 30 --username [email protected] the connection times out after a while and the following error is printed:
The scratch ...
2
votes
1
answer
45
views
Import Sandbox with Test Data for non developers
The use case here is that we want to import sandbox with test data having parent child relationship in a single go. One way to do it would be to use sf commands -
sf data import tree --plan Account-...
3
votes
1
answer
98
views
How to retrieve the Network Access IP ranges via SFDX?
I would like to retrieve IP ranges from Network Access via SFDX but I don't how I can retrieve this? I don't see this as an option anywhere from the Salesforce Object Reference doc.
0
votes
1
answer
171
views
Install Modeler Salesforce CLI Plugin (Vs Code)
we are working on Visual Studio Code Based Modeler for Consumer Goods
Cloud and an update was made in the plugins for salesforce modeler, and it did not work correctly.
I reinstalled the plugin as ...
1
vote
1
answer
92
views
Rollback(Back Promote)Changes through SFDX-Git-Delta deploy
Branching Strategy: In our project we have 3 main branches: Main, UAT & QA & we are using SFDX-Git-Delta plugin (SGD) deploy to promote incremental changes.
Developers promote changes to ...
0
votes
0
answers
31
views
Retrieve enhanced List views for Flows via metadata API?
Currently, whenever we retrieve an object via sfdx, whether custom, standard or cmtd, it will retrieve the list views too.
However, I cannot seem to find the correct metadata folder or xml which ...
0
votes
1
answer
112
views
Getting error while installing sfdx scanner plugin
Getting below error while installing sfdx scanner plugin:
Installing plugin @salesforce/sfdx-scanner... / info There appears to be trouble with your network connection. Retrying...
error An unexpected ...
0
votes
0
answers
325
views
Cannot install @salesforce/lwc-dev-server
When running sfdx plugins:install @salesforce/lwc-dev-server on Sonoma 14 OSX, it returns either:
Warning: @salesforce/lwc-dev-server > @lwc/[email protected]: Use
@lwc/engine-dom instead Error:
/usr/...
1
vote
0
answers
447
views
TypeError: this.config.plugins.filter is not a function - sfdx package install command not working
I have updated the salesforce CLi with latest version 2.21.8.
After that, i am installing the packing using sfdx package install commpand but i am getting below error.
Warning: Plugin @salesforce/...