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
1answer
20 views

Unable to navigate code path for a specific project in VS Code

I am having trouble with navigate the code path by using "Go to definition" / "Peek Preview" for one project. I also don't see any SFDX commands on Command palette. The project has below structure. (I ...
0
votes
1answer
26 views

Cannot find “Custom Settings” in Org Browser (Visual Studio Code, SFDX) [duplicate]

I creating a Custom Setting in a sandbox, called Global Settings (Global_Settings__c). I am trying to pull the Custom Setting into my SFDX project via Visual Studio Code, but "Custom Settings" does ...
1
vote
1answer
32 views

Unlocked package name changed or package delete option

I have below questions: Can we change the name of a created unlocked package? Also can we delete any unlock package which is already created? Please provide solution if available.
1
vote
1answer
22 views

Cannot retrieve WorkflowAlert, WorkflowFieldUpdate, WorkflowRule from package.xml through sfdx cmd

I want to retrieve all my WorkflowAlert, WorkflowFieldUpdate, WorkflowRule from my sandbox and deploy them to another one. Here is my package.xml file : <?xml version="1.0" encoding="UTF-8" ...
0
votes
1answer
18 views

ERROR force:data:tree:import CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY entity type cannot be inserted

My issue is whenever I am trying to sfdx import user records to another org I get this error: ERROR running force:data:tree:import: {"hasErrors":true,"results":[{"referenceId":"ProfileRef1","errors":...
1
vote
3answers
124 views

Determine if authorized org with SalesforceDX is Developer or Production

I'm struggling to determine the type of environment of authorized orgs using the SalesforceDX auth commands. Once you've registered an org if you run sfdx force:org:list --json The output results ...
1
vote
1answer
38 views

invalid fullname must end in a custom suffix(for ex. _c)

Added AccountContactRelation object inside my DX unlocked package but while versioning getting error invalid fullname must end in a custom suffix(for ex. _c)” What is the issue for this?please advice....
4
votes
1answer
45 views

Parsing Jest response and fail Bitbucket Pipeline

This is an extension to Lean and reusable DX Bitbucket Pipeline for PR checks. Similar to Apex tests I also want to run all JEST tests when a scratch org is created using my shell scripts AND from ...
2
votes
0answers
24 views

SFDX versioning error for leadsource field

I have account,contact, opportunity,case and lead in my unlocked package. For case entitlements,multicurrency fields (ex. currencyisocode, slastartdate, entitlementid etc.) I have added ""features": [...
1
vote
1answer
22 views

SFDX error after adding manage package dependency

After adding manage package subscriber id in the sfdx-project.json file I am getting below error ERROR at Row:1:Column:125 sObject type 'Package2VersionCreateRequest' is not supported. If you are ...
0
votes
1answer
31 views

SFDX auth commands getting frozen

When I try to execute sfdx force:auth:web:login -r https://test.salesforce.com command it starts to run endlessly without any output. Happens both in cmd and VS Code. I've already tried updating the ...
0
votes
1answer
29 views

Ternary operator in class property throws error

I'm going insane here with the non-specific error messages of sfdx. <div class="item slds-col slds-size_{! v.itemsPerRow == 1 ? '12' : '4' }-of-12"> produces the error Cannot mix expression ...
0
votes
1answer
29 views

Possible to code a component (Aura or LWC) and see it in local?

So far, while coding a component (Aura, or LWC), we need everytime to deploy to the org to see modifications, is there a way to code in my local machine ? (localhost like) ? In Angular for example ...
1
vote
1answer
44 views

SFDX unlocked package version component list

I have created one unlocked package for deployment purpose.Now I am adding new components to the package and doing versioning. How can I check the which version contains what metadata. EX. suppose my ...
0
votes
0answers
82 views

ERROR_HTTP_414 - <h1>Bad Message 414</h1><pre>reason: URI Too Long</pre> on VS Code

I am trying to push the code to my scratch org through VS Code using following command - sfdx force:source:push --json --loglevel fatal But getting following error on VS Code. ERROR_HTTP_414" - "...
0
votes
0answers
175 views

SFDX: Create Project failed to run

Facing problem to complete this trailhead trail ( https://trailhead.salesforce.com/content/learn/projects/quick-start-lightning-web-components/set-up-visual-studio-code) I have installed Salesforce ...
3
votes
1answer
48 views

Difference between create-lwc-app and SFDX cli

Hello Salesforce community, I'm not sure where to ask the question so I'll ask it here. I'm beginner with LWC and Salesforce (but senior as frontend developer). Can you explain me the difference ...
0
votes
0answers
54 views

sfdx force:auth:web:login freezes

When I try to authenticate to the org by going to "VSCode" and clicking on "No Default Org Set" then Select the environment and then I type alias name. The spinner comes at the bottom right of the "...
1
vote
1answer
24 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
120 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
113 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
145 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
78 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
35 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
132 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
101 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
39 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
30 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
44 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
58 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
237 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
645 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 '...
5
votes
1answer
456 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
125 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
40 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
21 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
29 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
277 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
54 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
31 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
2answers
234 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
304 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
18 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
22 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 ...
2
votes
1answer
356 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
23 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
97 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
154 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
74 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%...