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
1
vote
1answer
16 views

sfdx package versioning error for BillingCountryCode and MailingCountryCode field

I have one class where contact MailingCountryCode and account BillingCountryCode is used. I have added both objects in project but still I am getting error while versioning the package. Error message>>...
0
votes
1answer
29 views

Unable to create scratch org successfully in Visual Studio Code

I have authorized dev hub org successfully and now trying to create default scratch org using visual studio code but getting following error: sfdx force:org:create -f config\project-scratch-def.json -...
0
votes
3answers
64 views

sfdx' is not recognized as an internal or external command, operable program or batch file

Unable to get past this error when Creating the Hello World Lightning Web Component I checked the path variable as described here
2
votes
2answers
32 views

Error parsing file: LWC Metadata Xml Parser: Unexpected element: runtimeNamespace

I am trying to deploy an LWC and get this error : "Error parsing file: LWC Metadata Xml Parser: Unexpected element: runtimeNamespace". Here is the code of my js-meta.xml <?xml version="1.0" ...
0
votes
0answers
10 views

java set up for Lighting web component

i download and install jdk-11.0.5+10.I also set variable path and saleforce vscode-apex-apex > java:home.but its still give me error.
0
votes
1answer
37 views

Automating scratch org with sfdx plugins

I have been looking to automate the process of creating a scratch org, pushing source (metadata), assigning the permission sets, resetting the password, open the org and much more. After doing some R&...
1
vote
1answer
26 views

Sfdx:create project… project is not creating

I have issue while creating project using command Sfdx:create project or with manifest in Command palette everything are fine but the problem is Nothing happen. its not creating project. I also set ...
1
vote
1answer
51 views

Automating setup of scratch orgs

I want to write a script preferably in Node.js to automate sfdx force:org:create, sfdx force:user:password:generate, sfdx:org:push and, sfdx force:user:permset:assign. The script should take ...
1
vote
1answer
45 views

Unable To Install SFDX Plugin

I installed an SFDX plugin to help with data loading, but the version installed with sfdx plugins:install etcopydata installs an older version with some missing functionality. Running sfdx plugins:...
0
votes
1answer
30 views

deployment error for Entilement object

I'm trying to deploy entitlement object meta data, layouts, and fields through ant tool. However, I keep getting an error: Invalid fullName, must end in a custom suffix ( for ex. __c ) Anybody ...
0
votes
0answers
20 views

SFDX error for case recordtype

Facing two issues during DX package versioning: 1.I am facing error in case object while versioning the package. Error : "Case.Recordtypename: duplicate value found: is a duplicate of the value in ...
1
vote
1answer
29 views

SFDX plugin to generate Apex classes from Swagger file is failing to install

I'm trying to install this plugin https://github.com/muenzpraeger/sfdx-plugin , due to some reason it is failing. Please let me know if there is any other way that i can generate classes using swagger ...
0
votes
0answers
30 views

Case popup on inbound calls using open CTI

I am trying to integrate Purecloud with Salesforce, Its has two option 1. Standard CTI Soft phone 2. Embedded framework In Standard we can leverage the standard phone functionality, we can't ...
2
votes
2answers
137 views

Warning: force:lightning:lwc:start is not a sfdx command

I am trying to use the new LWC Local Development Server. I've run command: sfdx update So I know I am using the latest version of the CLI. And I've installed the plugin: sfdx plugins:install @...
7
votes
2answers
569 views

ERROR running force:source:pull: Entity of type 'Workflow' named 'Workflow' cannot be found

I am having issues when pulling Workflows using SFDX with VS Code. The error that I get when pulling in the Workflow (sfdx force:source:pull) is: ERROR running force:source:pull: Entity of type '...
4
votes
1answer
257 views

Downgrading sfdx-cli

I'm wondering whether it's possible to downgrade sfdx-cli to use an earlier version? I'm trying to debug an issue with using it in pipeline scripts. When I run sfdx version --core I get sfdx-cli 7....
1
vote
1answer
88 views

SFDX CLI - Unknown error when pushing code to Scratch

I created a new scratch and trying to push the code I received an uknow error: { "status": 1, "result": [ { "error": "Unknown" } ], "name": "DeployFailed", ...
2
votes
1answer
35 views

How to launch node debugging session when developing custom sfdx plugin

Working with a friend on some pretty cool sfdx plugins. Challenge seems to be if something goes wrong I get a pretty generic error, no stack trace, and it's a real challenging tracing things back to ...
2
votes
0answers
18 views

SFDX occasionally fails decryption on all my authorized orgs, causing me to re-auth them all

I have been using SFDX for the last couple years as a way to log into seperate orgs easier. Every once and a while, I will load up terminal and try to log into an org, only to get this error: ERROR ...
1
vote
0answers
25 views

Testing custom salesforce plugin

I am currently trying to test a custom salesforce plugin which deploys a payload to a specific org. The plugin itself is coded in typescript and the unit tests are using mocha/chai. I am running ...
1
vote
1answer
172 views

Unable to install sfdx plugins:install @salesforce/lwc-dev-server

I am using 1.38.1 version of VSCode and i have done "http.proxyStrictSSL": false I am still getting error Error: unable to get local issuer certificate i tried in my personal laptop. Now ...
0
votes
0answers
51 views

Sfdx pre-release issue

C:\Users\barath.EAD>sfdx plugins:install salesforcedx@pre-release Successfully validated digital signature for salesforcedx. Finished digital signature check. Error: EISDIR: illegal operation on a ...
1
vote
1answer
28 views

DX Custom Plugin Help

Trying to understand the right way to have my sfdx plugin command just return a string as the default output, but so far every example shows the returning of an object. Structure under the src folder ...
1
vote
1answer
101 views

DX - Custom Plugin Install

Usually DX CLI plugins are installed via sfdx plugins:install <plugin-name> The examples provided from sfdx plugins:install --help list these: $ sfdx plugins:install myplugin $ sfdx plugins:...
0
votes
1answer
94 views

VS Code retrieve Profile data

I retrieved with VS code all my profile, with * Profile in package.xml. But in definition of a profile "profileName-meta.xml", i can't find userPermission with false value. ...
0
votes
0answers
17 views

DX - Getting Metadata Without Eclipse Package.xml

Is there no built-in way within the DX CLI to retrieve all available metadata components from a target org (in my case sandbox), without generating a package.xml via Eclipse w/Force IDE? I'm well ...
1
vote
0answers
18 views

Salesforce DX vs. Einstein Discovery Stories and Models

I am currently developing an app containing Einstein Discovery elements in a scratch org. When pulling the source code using sfdx, the story and models built are not included, as well as the Write ...
1
vote
1answer
182 views

What is “Sfdx Auth Url” attribute used for?

Till now, I have been working with SFDX orgs using JWT cert based auth auth:jwt:grantor authenticating using browser using auth:web:login I recently came across the --verbose attribute which gives ...
2
votes
1answer
22 views

How do I display more characters when debugging SFDX code?

I have variable in my code defined as follows: String myString = myConfig.my_field_name__c; When debugging in the SFDX console (in VS Code), the variable's value is only displayed as: myString: '...
0
votes
1answer
71 views

How to set maxRequest in sfdx plugin? Error: exceeded max limit of concurrent call

We're developing an SFDX plugin aiming to help us with data migration between orgs. SFDX plugins are using jsforce, as far as I've seen it's wrapped into @salesforce/core package. When writing using ...
1
vote
0answers
101 views

SFDX and Puppeteer

I am trying to use puppeteer in conjunction with the DX CLI. While I can easily created a puppteer object with something like: const puppeteer = require('puppeteer'); void (async () => { try ...
1
vote
1answer
65 views

cannot run sfdx on my machine

I am having a problem with my machine when installing Salesforce CLI, I have included the App Path (C:\Program Files\Salesforce CLI\bin), but still, it is not recognized, when I tried doing echo %PATH%...
0
votes
1answer
313 views

How to retrieve lightning page?

I'm a Salesforce newbie and trying to develop lightning app page. I understand it is very simple to create a lightning app page easily in Salesforce UI. But I want to retrieve all the metadata about ...
0
votes
0answers
22 views

Jenkins Pipeline Branch - Name showing as %00

I have a job created in Jenkins (Multibranch Pipeline). However, I am getting the Branch name as "%00" in the Jenkins UI. Can anyone suggest if there as a way to show anything meaningful instead of "%...
2
votes
2answers
226 views

FlowDefinition isn’t supported

I have an up to date SFDX and plugins. I continue to get the flow definition error when pushing with Illuminated Cloud to my scratch org. I am not sure what the next steps should be as I have followed ...
1
vote
1answer
337 views

Can Not Update SFDX

I am running into an error when I am trying to update my SFDX version in my cli and I am unsure what it means. Olivias-MacBook-Pro:test op$ sfdx update › Warning: Use "npm update --global sfdx-...
0
votes
0answers
67 views

sfdx Invalid Cross Reference id pushing app to scratch org

When I attempt to push my sfdx project to the source, I've been having issues with the app metadata files. Download content assets via XML source pull. Add MasterLabel to the app metadata brand in ...
0
votes
0answers
21 views

Can SFDX report files that were specified in the package.xml that do not exist in the org similar to ANT

I'm working on switching my development toolkit from ANT and MavensMate to SFDX's VSCode plugins. I attempted to do a retrieve and deploy using force:mdapi and everything returned successfully ...
3
votes
1answer
470 views

VS Code + sfdx: debug logs [duplicate]

Until a few weeks ago, vs code use to have a reasonable error message if there was an error when deploying. But I notice the last few weeks this is change and it is not very descriptive the problem, ...
1
vote
1answer
372 views

Why ContentAssets Deployment creating “No Network Named” issue?

I am trying to migrate community configurations from one scratch orgs to another. Everything works fine except ContentAsset. I am getting the following error:- PS E:\Projects\xxxxx-build test> ...
0
votes
1answer
68 views

Is this possible to map results from one SFDX command to another SFDX command?

What I am trying to do is to automatize a process of passing results from one SFDX command to another SFDX command and I struggle to implement that. My source command is sfdx force:package:...
0
votes
0answers
51 views

sfdx force source convert not allowing spaces in names

I'm using SFDX on a Windows machine. The following command is giving me errors when running from a bash terminal: sfdx force:source:convert -d mdapi -n 'My Alias' It keeps returning this error: 'D:...
1
vote
1answer
2k views

ERROR running force:source:retrieve: This command is required to run from within an SFDX project

I was able to create a project in VS code. Also able to authenticate the org. In the package.xml when i right click & click on "SFDX : Retrieve source in Manifest from Org" - i'm getting the ...
1
vote
1answer
151 views

SFDX hello:org plugin not available when installed from npmjs

I've create a SFDX Plugin with sfdx plugins:generate. When the plugin is linked using sfdx plugins:link . the command hello:org is available and work properly. When this same plugin is deployed to ...
0
votes
1answer
190 views

Error on secret-tool for sfdx force:auth:jwt:grant

We are trying to Setup CI-CD for our Org. However, while sfdx force:auth:jwt:grant on Jenkins, we are gettig the below error. Same command is working fine from local of 2 - 3 people. Jenkins is ...
0
votes
1answer
75 views

Salesforce DX Usage with Classic and team work using scratch org

We are currently using Salesforce Classic and we have developers outside of United states using the remote desktops to login to the client machine and then using SF. I have seen the seminars for SFDX,...
1
vote
0answers
83 views

SFDX ORG shape with PROD metadata

Our company PROD ORG is a big monolithic application with heavy tangled apex code and metadata. We are about to introduce some more apps in the near future and I personally wanted to follow the ...
2
votes
1answer
1k views

Scratch org: how to retrieve metadata

Scratch org: how to retrieve metadata I am probably missing some concepts, but this are the steps that I have follow to create a new scratch org from a developer edition org. Created a new dev org ...
2
votes
2answers
84 views

Creating a project from sandbox using vscode

We donot have sfdx enabled in our instances. Can I use vscode IDE and create a proejct from sandbox with any of the salesforce extensions. I see the documentation around creating a scratch org, then ...
4
votes
4answers
5k views

SFDX - No org configuration found for name

Suddenly vscode stopped working with deploying the class to the sandbox I'm using and throws this message "No org configuration found for name INSTANCE NAME" I tried to create a new project for the ...