New answers tagged

1 vote
Accepted

Flow deployment error in Copado "you must specify a record filter or a formula"

@SumitKumar I deleted the flow and rebuilt a new flow without formula and deployed. Fortunately for me I could use basic criteria instead of formula. However at least 4 other folks working on other ...
user avatar
3 votes

How to know if a sfdx package is a second generation package (2GP)

First generation managed packages are not listed when using sfdx package commands since they are not associated with a dev hub. To see what 2GP packages you have, use: sfdx force:package:list To ...
user avatar
  • 27.3k
1 vote

How to retrieve the one particular lwc component (only one) from org to vs code?

You can use the following command from terminal to get a single LWC component. In the below command, helloWorld is the LWC component name. sfdx force:source:retrieve -m LightningComponentBundle:...
user avatar
  • 12.8k
1 vote

How to retrieve the one particular lwc component (only one) from org to vs code?

The cloud icon is called org browser which displays the available metadata types and their corresponding components in your default org. You can use this to retrieve particular components which you ...
user avatar
  • 53
1 vote

How to retrieve the one particular lwc component (only one) from org to vs code?

Click on the org browser which is of cloud logo in VS code, there you can select the LWC component and select the corresponding LWC component the one you want to download
user avatar
0 votes

Salesforce deployment using SFDX CLI, Jenkins and GitHub

My recommendation is that you don't use developer orgs, but scratch orgs. They are ephemeral and more suitable for CI. Also, GitHub actions are a great option, instead of using Jenkins. All ...
user avatar
  • 2,178
0 votes

Why is the "SFDX: Deploy Source to Org" function missing?

First run the command, SFDX: Authorize an org and connect to an org and then try the same. You will find the options you are looking for.
user avatar
5 votes

Summer 22 v55.0 Flow Deployment Error

The regionContainerType field of the FlowScreenField metadata component was introduced in API version 55.0. Although it is not documented, when the component type is a Section this field is required. ...
user avatar
1 vote

How can I deploy a permission set with connected apps?

You'll need to also deploy your ConnectedApps to the target org. If, given you are using Changesets (I'm assuming you are not using sfdx) and that metadata type is not available, you have two options:...
user avatar
  • 62.3k
4 votes
Accepted

When running tests during deployment, are tests ran in parallel?

No, tests run during a deployment are always run serially, never in parallel. There is no option to change that.
user avatar
  • 48.1k
1 vote

Unable to delete LWC and Apex Classes from Production Org: Entity is Deleted

May be you can achieve your goal with destructiveChanges.xml and Workbanch Here is an example for apex class, but it should work for lwc components as well. https://developer.salesforce.com/forums/?id=...
user avatar
1 vote
Accepted

How to get deployment's error messages using SOAP

The error message should be in: System.debug(deployResult.details.componentFailures[0].problem); The topLevel errorMessage and errorStatusCode are for payload problems (e.g. invalid XML or a missing ...
user avatar
  • 433k
0 votes

Implement and run post-install script for unlocked sfdx package

If we're talking about a full like-for-like functionality, I believe it's not really possible to mimic, see these docs: The post install script is invoked after tests have been run, and is subject to ...
user avatar
  • 141
0 votes
Accepted

Heroku ECONNREFUSED with most console commands

This problem was related to my ISP blocking connections using port 5000, and it was evident when running a telnet I could not connect directly to the server either. A workaround that works if you can'...
user avatar
0 votes

Wondering how to properly organize git repo for salesforce org (branching strategy)

When you initially create a git repo for your org, what do you put on it? I create a project with manifest and authorize my org, but what data should I pull from my org and update to my master branch ...
user avatar
  • 433k
1 vote
Accepted

Is it possible to retrieve Job ID generated by sfdx:force:mdapi:deploy -c flag so as to use that Job ID in next step using -q flag to actual deploy

Specify the --json so that you can obtain the deployment Id as needed by the other command. Something like below rc = command "${toolbelt}/sfdx force:mdapi:deploy -f unpackaged.zip -u ${USERNAME} ...
user avatar
1 vote
Accepted

Deployment of custom app using package.xml

Many of the listed objects have Profile Permissions. As such, you should include the Admin profile to the package. This will make sure that the appropriate permissions are also retrieved for ...
user avatar
  • 433k

Top 50 recent answers are included