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
15 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 ...
1
vote
0answers
9 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
19 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 ...
0
votes
0answers
41 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
35 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
23 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
31 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
22 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
16 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
15 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
44 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
32 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
50 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
61 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
80 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
13 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
104 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
153 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
45 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
18 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
335 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
194 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
51 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
32 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
1k 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
89 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
133 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
55 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
69 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
673 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
65 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 ...
2
votes
3answers
3k 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 ...
4
votes
1answer
340 views

Error: Cannot find module '@oclif/config'

I already sort of asked this question but there doesn't seem to be a solution for it. So I figured I would ask a new question about work arounds people have done. When running any form of sfdx ...
2
votes
2answers
919 views

ERROR running force:source:push: No org configuration found for name

Not sure why this stopped working but all of the sudden sfdx forgot my org configuration. I pulled down the latest changes from the master branch and went to push them into my checked out branch and ...
1
vote
1answer
257 views

SFDX: retrieve Source from Org failing

In order to connect my VSC to my org and pull my org's datas to VSC, I followed the steps this great video shows ; In Visual Studio Code I : - SFDX: created project with Manifest - in the manifest -> ...
3
votes
2answers
73 views

How to sign a SFDX Plugin?

I have created my plugin using sfdx plugins:generate and then I deployed it to npm. When I try to install it using sfdx plugins:install I got the message: This plugin is not digitally signed and its ...
0
votes
0answers
98 views

sfdx.force.test.view.refresh not found

Summary When trying to use the integrated test side bar, no tests are being displayed. When clicking on "refresh" an error message is displayed saying "command 'sfdx.force.test.view.refresh' not ...
0
votes
0answers
357 views

SFDX VSCode Workspace with Multiple Orgs

I'm working on combining several orgs into a single org. As part of my requirements, until the process is complete, I created some code that syncs up data from the "primary" org back into 3 "legacy" ...
1
vote
0answers
25 views

SFDX create definition from a dev org

I am wondering if there is a way to create the sfdx scratch org definition straight from a dev org. i am aware of shape and snapshot however these are in pilot and what i am hoping for is something ...
0
votes
1answer
125 views

scratch org creation gives error on proxy

sfdx force:org:create -s -f ./config/project-scratch-def.json -a AppScratch using above command for scratch org creation gives error on proxy ERROR: location is not defined. i have ...
0
votes
1answer
749 views

Installing SFDX

I am trying to install sfdx on my windows 64 to create lwc, I have VS code with salesforce extension and lwc extension. I downloaded sfdx cli from here. https://developer.salesforce.com/tools/sfdxcli ...
4
votes
1answer
837 views

SFDX: Retrieve all metadata brought wrong or metadata

I am still quite new to sfdx, so perhaps I am missing some important step but basically this are the steps I follow to create a project in VS CODE using the SFDX extension: I start by selecting the ...
0
votes
0answers
260 views

SFDX plugin is not getting Updated

I am running this command:- sfdx plugins:install salesforcedx@pre-release and getting this error message:- Installing plugin salesforcedx@pre-release... Installing plugin salesforcedx@pre-...
0
votes
0answers
267 views

Can't Create Scratch Orgs

My vscode version is 1.30.1 and my sfdx version is sfdx-cli/6.44.0-dead729fb5 (darwin-x64) node-v8.9.4. I created 3-4 dev hug orgs and tried to create a scratch org from it but it is not working. I am ...
0
votes
2answers
532 views

SFDX Install Unlocked Dependencies

I am starting to play with the @salesforce/command extensions for SFDX cli and thinking of writing a script that could handle install all unlocked dependencies recursively. As per this question it ...
0
votes
0answers
125 views

DX extensions not found in VS Code not recognised - ubuntu setup

i'm working with VS Code 1.29.1 and have installed SFDX 44.7.0. When I am trying to [CTRL]+[SHIFT]+P and use the shortcut commands, i'm getting the error command 'sfdx.force.apex.class.create' not ...
3
votes
1answer
118 views

Is there an SFDX plugin that allows an existing field to be updated available somewhere?

I'm in the middle of writing a Jenkinsfile so we can have one Jenkins job that handles multiple branches and multiple org configurations. For the multiple org configurations, I'm using the parallel ...