Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 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 ...
dev4life's user avatar
  • 510
2 votes
1 answer
40 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-...
Aditya M's user avatar
  • 420
3 votes
1 answer
80 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.
Andy Hitchings's user avatar
0 votes
1 answer
124 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 ...
Francisco Becerra's user avatar
1 vote
1 answer
66 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 ...
Rose 's user avatar
  • 123
0 votes
0 answers
24 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 ...
vio's user avatar
  • 61
0 votes
1 answer
82 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 ...
Velu's user avatar
  • 1
0 votes
0 answers
292 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/...
number41's user avatar
  • 960
1 vote
0 answers
384 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/...
Kishan Vadaliya's user avatar
0 votes
1 answer
606 views

Issue while Authorizing Org to VS Code though two of my org are already connected to VS Code

Can anyone please help?! I am unable to do Authorize org with VS Code. I have two orgs that are already authorized with VS Code, but I am not able to authorize a new org. It's throwing an error though ...
Puja's user avatar
  • 13
6 votes
2 answers
879 views

sfdx push Error - Custom Index - property 'booleanIndexedValue' not valid in version 56.0

When we try to push our existing code into the scratch org we are getting below error, =============================================================================== ──────────────────────────────────...
Sagar Thoriya's user avatar
0 votes
0 answers
297 views

Unable to Deploy or Retrieve source from any ORG

I'm facing an issue while trying to retrieve source code from a package.xml file within our organization. This problem has persisted since last year, despite my attempts to resolve it by both ...
GraNeMM's user avatar
  • 11
1 vote
0 answers
891 views

VS Code - Authorize An Org - Failing on SFDX command

I recently started getting an error when trying to authorize an org using the Salesforce extension in VS Code. This is the error I am getting: sfdx org:login:web --alias PackagingOrg --instance-url ...
James's user avatar
  • 337
0 votes
0 answers
217 views

VS Code sfdx-scanner installation error related to SSL

I am trying to install Salesforce sfdx-scanner for VS code on my office laptop as per the below guideline Install and Update Salesforce Code Analyzer. I checked some of the issues related to sfdx-...
Rachit's user avatar
  • 177
0 votes
0 answers
1k views

I encountered an error with Apex PMD while using VS Code

Static Analysis Failed. Error Details: PMD Command Failed! Enable "Show StdErr" setting for more info. I already enable this setting inside vs code but still getting same error
Rohit Kumar's user avatar
0 votes
2 answers
587 views

sfdx scanner - Install problem

I have installed:- Visual Studio Code Version 1.80.1 on Windows 11 "C:\Program Files\Java" with directories: jdk-17.0.5 jdk-20 and jre-1.8 VS Terminal Command: sfdx update completed ...
Stoicorum's user avatar
0 votes
0 answers
92 views

Jenkins sfdx jwt login issue

So we're using Jenkins to integrate between our Salesforce environments and having an issue with one job in particular. The job copies the code base from our production environment and sends the ...
Finnster's user avatar
0 votes
1 answer
521 views

How to retrieve Enhanced list metadata using sfdx?

We can handle the default related list to the enhanced list using the Lightning app builder page but I want to make it dynamically using metadata so no need to change manually every time in each ...
Rohit Kumar's user avatar
0 votes
0 answers
69 views

unpackagedMetadata setting in sfdx-project.json not being respected

I am using : My sfdx-project.json: "packageDirectories": [ { "path": "source", "default": true, "package": "complaints&...
Strong Like Bull's user avatar
0 votes
2 answers
379 views

Add specified tests in sfdx deploy command

I want to use specified test classes available in my repository with sfdx force deploy command. I can include it using -l RunSpecifiedTests -r TestClass1,TestClass2. However, I had to manually write ...
Kushagra Srivastava's user avatar
0 votes
1 answer
864 views

sfdx force:source:push -u globalschema --ignore warnings --forceoverwrite

I am used to using this command: sfdx force:source:push -u globalschema --ignore warnings --forceoverwrite Now I am getting this error Warning: We plan to deprecate this command in the future. Try ...
sdfxconfuseduser's user avatar
0 votes
0 answers
37 views

Obtaining Flow ID from a Bash script

I need assistance with my Bash script for creating a link to a flow in Flow Builder that I want to open. I am encountering an issue where I am getting a null value from the $response variable. I would ...
elvi's user avatar
  • 1
4 votes
3 answers
4k views

VS Code SFDX Unit Tests: Cannot see "Run Test" or "Run All Tests"

At some point in the last week I found that I can no longer see the following prompts at the top of already working unit tests in VS Code Run All Tests Run Test | Debug Test While this is absolutely ...
VaroutSP's user avatar
  • 351
1 vote
1 answer
145 views

Why would SFDX interpret Customfields as EmailServicesFunctions (project deploy preview on a scratch org)?

I created a scratch org, and I plan to deploy a basic schema to it. Being rather new to sfdx, I first run a sfdx project deploy preview, and the cli outputs me the weirdest thing: it seems to ...
Werlin's user avatar
  • 13
3 votes
1 answer
89 views

I'm only allowed to use certain fields in SOQL run through sfdx

I'm working on a MacBook Pro, so I log into production via a browser, then I open a Terminal window and I authenticate: sfdx auth:device:login -r https://blue.my.salesforce.com I type in the code and ...
charlottesville's user avatar
0 votes
1 answer
431 views

Salesforce CLI - How to disable warnings?

Since the last Salesforce CLI Update 7.193.2 I've been seeing this warnings in the "Problems" tab in Visual Studio Code. Does anyone know how to disable them? It makes my code unreadable, ...
Jovan's user avatar
  • 1
-1 votes
1 answer
299 views

How can I store SGD delta package with bitbucket pipeline

I'm using SGD for my salesforce deployment using Bitbucket pipeline. sfdx sgd:source:delta --to HEAD --from HEAD^ It is working however I want to store/see content(package) of metadata to be deployed. ...
Akshay's user avatar
  • 1
2 votes
1 answer
301 views

Assert not available in VSCODE

The Assert class does not appear to be available in VSCODE with extensions installed. While I can still use the class and its methods with no errors on Push , the editor complains about it and there ...
Ricardo da Silva's user avatar
0 votes
0 answers
341 views

Every SOQL query I run through sfdx is getting an error, including 'field doesn't exist' on fields that clearly exist

I'm just getting setup on my Mac, to work with my organization. I wanted to be able to open the Terminal and use sfdx to run SOQL queries but I think perhaps I missed some crucial step? I was ...
charlottesville's user avatar
5 votes
1 answer
4k views

SFDX create package version throws plugin packaging error

I am trying to create a package version using sfdx command - sfdx package create -n secondPackageRety -d "Second package retry" -r secondPackage -t Unlocked Now, it throws an error ...
SEuser's user avatar
  • 1,855
3 votes
1 answer
3k views

package is not a sf command?

Salesforce has recently deprecated the sfdx force:package:version:create command. sfdx asks us to use the package version create command instead. Running sf package version create, however, also ...
dev4life's user avatar
  • 510
0 votes
1 answer
839 views

Get the URL of an organization from its Org ID with sfdx?

I've seen similar questions asked but none of the answers provide an SFDX solution and I'm really hoping there is one. I have an organization ID, but I work with several orgs. I cannot for my life ...
ewhiting's user avatar
  • 101
0 votes
4 answers
2k views

SFDX plugin to retrieve metadata from org

I am looking for a SFDX plugin which can retrieve all the metadata available in an org. In most of the approaches, I see that you need to create package.xml first, and then issue a retrieve call. Is ...
nica's user avatar
  • 1,400
0 votes
0 answers
149 views

Running sfdx force:apex:execute result in error

I am trying to run the below script on my sandbox- sfdx force:apex:execute -u SandboxName -f fileName.apex.cls and I get this error - Error: Line: 1, Column: 5 Error: Unexpected token '<'. File ...
sumchans's user avatar
  • 777
0 votes
1 answer
619 views

How to retrieve active flow via sfdx without creating new flow file

I am trying to retrieve the active version (version 18) of a flow using the following sfdx command : sfdx force:source:retrieve -m Flow:CreateProPM-18 According to the documentation : For Metadata ...
vanessen's user avatar
  • 2,685
0 votes
1 answer
152 views

Is there a way to generate sfdx auth url for scratch org if devhub is authorized using the jwt bearer flow?

In our CICD pipelines, we used to authorize devhub first using sfdx auth url and then create scratch orgs using same devhub. We use the command "sfdx force:org:display --verbose" to get the ...
Sarang123's user avatar
1 vote
1 answer
475 views

Avoid duplicates in SFDMU Insert

I'm currently using SFDMU to deploy data in an automated way in a pipeline. Until now, the pipeline always used the Upsert operation in our export.json file. I.e { "objects": [ { ...
Manuel Moya's user avatar
0 votes
0 answers
1k views

Error when validating the deployment 'We couldn't retrieve the design time component information for component'

I am trying to validate Salesforce metadata deployment and getting the following error. Github actions trigger the deployment validation when a PR is raised. We couldn't retrieve the design time ...
SanJay's user avatar
  • 11
1 vote
1 answer
79 views

Salesforce Org Shape Error authentication

I'm passsing for this error, when i run the command sfdx force:org:shape:list ERROR running force:org:shape:list: Error authenticating with the refresh token due to: expired access/refresh token I ...
Matheus Coelho Campos's user avatar
1 vote
1 answer
669 views

Authentication using sfdxAuthUrl

Trying to authenticate via file, I was running into this error: { "status": 1, "name": "Syntax", "message": "./authFile.json: Unexpected token � in ...
SkyAnthrax94's user avatar
0 votes
1 answer
219 views

Is field in Salesforce considered as metadata ? Can I deploy via Sfdx

Want to create a mass field on custom object. Is field in Salesforce considered metadata.xml Can I deploy them via sfdc
Dharti's user avatar
  • 1
3 votes
3 answers
5k views

Error while Authorizing an ORG using VS Code Cannot read properties of undefined (reading 'setContentsFromObject')

Created a New Project in vs code SFDX- Create Project SFDX-Authorize Org when i try to i get error Cannot read properties of undefined (reading 'setContentsFromObject') This is most likely not an ...
Naveen's user avatar
  • 65
0 votes
1 answer
158 views

Error retrieve from manifest in Visual Studio

I am trying to Retrieve Source from Org and I get this error: UNSUPPORTED_API_VERSION: Invalid Api version specified on URL In package.xml, it shows me: <version>54.0</version> With this ...
Willy Kelly's user avatar
1 vote
3 answers
953 views

sfdx auth:jwt:grant: Unexpected arguments: -f

I am trying to connect Jenkins to the SF sandbox. I am stuck on the auth step, where I receive this kind of error: ERROR running auth:jwt:grant: Unexpected argument: Pipeline@tmp/secretFiles/e56a52e6-...
Oleksandr Honcharuk's user avatar
0 votes
1 answer
591 views

One of my scratch org environments suddenly expired. Is there a way to renew expired scratch org or at least renew the expired data?

Just already passed 30 days from the creation my scratch org Is there a way to rescue that scratch org or at least (in the future) to extend the time for above 30 days or to create a copy of that ...
Fgh999's user avatar
  • 35
0 votes
1 answer
580 views

Retrieving all groups using SFDX

I'm just wondering if there are any considerations when retrieving groups / queues using SFDX. The problem which I'm currently facing is that I'm unable to retrieve all queues using SFDX. There are ...
Rechu's user avatar
  • 452
0 votes
1 answer
663 views

Not able to find .sfdx path to delete the user name in MAC

From my visual studio code I authorized my org some three months before. So the user name and token will be stored in alias.json file in the .sfdx folder. Not my org password got changed. So when I ...
SFDC buddy's user avatar
3 votes
2 answers
2k views

ERROR running auth:sfdxurl:store: Cannot read properties of undefined (reading 'id')

How to Replicate: Running this command sfdx auth:sfdxurl:store -f ./SFDX_TMP_URL.txt -s -a integration to authenticate via sfdxAuthUrl. SFDX_TMP_URL.txt contains the sfdxAuthUrl value. Error: After ...
chanpelayo's user avatar
1 vote
1 answer
921 views

sfdx sgd-git-delta plugin not recognized in Jenkins pipeline [closed]

I have installed sfdx git delta plugin on my system. It works perfectly well when I execute locally on Git Bash / CMD / Visual Studio Code. But when I trigger the Jenkins pipeline, I see that sfdx ...
Swapnil Shrishrimal's user avatar
2 votes
1 answer
581 views

sfdx plugins are not getting installed via docker

We are using below script to install sfdx plugins on top of Jenkins via below docker file. FROM jenkins/jenkins:2.263.3 USER root RUN mkdir /.cache /.sf RUN chown jenkins.jenkins /.cache -R RUN ...
Rajendra Singh Nagar's user avatar

1
2 3 4 5