Questions tagged [deployment]

Deployments in Salesforce incorporate any action that needs to be taken to get a system from one organization to another, be it a sandbox to production, sandbox to sandbox, or even developer org to developer org.

Filter by
Sorted by
Tagged with
1 vote
1 answer
64 views

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

I have gone trough the documentation about first and second generation packages to figure If our current package is a second generation package. I read the comparisons: https://developer.salesforce....
user avatar
  • 2,090
-1 votes
3 answers
29 views

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

We all know that it is possible to retrieve all the lwc components from org to vs code using the manifest file but I need to just get only one lwc component from org. Is there any way to do so please ...
user avatar
0 votes
1 answer
29 views

Salesforce deployment using SFDX CLI, Jenkins and GitHub

I am new to Salesforce and SFDX CLI. I need to implement CI / CD for one of my client. To start with basic I created Dev Org using Visual Studio Code and committed same to GitHub. Integrated SFDX CLI ...
user avatar
-1 votes
0 answers
15 views

Delete deployed files [closed]

Some time ago I deploed project to UAT org and now I want to delete them all (Custom objects, classes, layouts and etc). I did it with ANT and have the package.xml file that I used during deployment. ...
user avatar
  • 15
-1 votes
0 answers
24 views

How to deploy translated tabs and quickactions in salesforce from one sandbox to another

I have translated some of the tabs and quickactions in my salesforce org but not sure how to deploy by adding this in translation file. Can someone please help me out in ways of deploying these ...
user avatar
  • 1
4 votes
1 answer
104 views

Summer 22 v55.0 Flow Deployment Error

A Flow metadata deployment to a Summer 22 (v55.0) org causes an error: {!FlowScreenFieldName} (Screen Component) - Because the "{!FlowScreenFieldName}" screen field on the "{!...
user avatar
0 votes
1 answer
29 views

How can I deploy a permission set with connected apps?

I am trying to deploy a permission set that has some connected apps assigned. However, after deploying to upper environment the connected apps are missing from Assigned Connected Apps. Any suggestions ...
user avatar
  • 1
0 votes
1 answer
76 views

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

I have a very simple Record Triggered flow. When deploying a flow using Copado I am getting an error Because All Conditions are Met or Any Conditions are Met is specified, you must specify a record ...
user avatar
2 votes
1 answer
55 views

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

Specifically, I deploy to my org using a command like this: sfdx force:source:deploy -u=<accessToken> --sourcepath ./src/main --testlevel RunLocalTests --json --wait 120 When doing this, do the ...
user avatar
  • 125
1 vote
1 answer
46 views

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

We created a Lightning Web Component, which has an Apex Controller and Test class. The component is no longer needed and we now want to try and delete it. Using my IDE (IntelliJ and Illuminated Cloud) ...
user avatar
  • 113
0 votes
1 answer
24 views

How to get deployment's error messages using SOAP

I'm developing an app that uses APEX + SOAP API to retrieve and deploy metadata (specifically - objects). I'm using apex-mdapi to get it done with SOAP. I want to retrieve deployment's details when it ...
user avatar
1 vote
0 answers
26 views

What configuration setting(s) fixes the "enableCaseSwarming" deployment error?

I'm getting the following error from the metadata API when trying to do a deployment: Type Name Problem Error Case enableCaseSwarming Curiously, enableCaseSwarming does not return a great answer ...
user avatar
  • 3,614
-1 votes
1 answer
29 views

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

We have a little CRM project and I'm wondering how I could organize the whole git-sandboxes-deployment thing in a nice and smooth way. At the moment, I don't think there's actually a big need to do ...
user avatar
  • 305
1 vote
1 answer
32 views

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

I have jenkins pipeline with SFDX CLI integration. I have few stages in pipeline like login, validate. In validate I have SFDX command rc = command "${toolbelt}/sfdx force:mdapi:deploy -f ...
user avatar
-1 votes
0 answers
25 views

In production there is no "Change Sets" section under "Environments"

I've uploaded a changeset to production but on production there is no "Change Sets" section in setup. What might be the problem?
user avatar
  • 25
1 vote
1 answer
43 views

Heroku ECONNREFUSED with most console commands

I'm on Ubuntu 20, working on a Rails 6.05 project with a Postgres DB. I've succesfully created a Heroku app using heroku create appname and then deployed the Rails app using git push heroku master. ...
user avatar
0 votes
0 answers
37 views

retrieve a package using the deployment Id

I want to know how to retrieve a deployed package given the id in a zip format with all the deployed components and its package.xml : I can access the list of components that have been deployed using ...
user avatar
  • 2,393
1 vote
1 answer
37 views

Deployment of custom app using package.xml

I work at project that consists of Lightning App including two Lightning Component Tab. I needed to deploy it to another org and continue working. I retrieved all necessary components using package....
user avatar
1 vote
0 answers
18 views

Deploy to Heroku button doesnt work properly? (since the hack?)

I get an error when i try to setup a server via one click: https://www.heroku.com/deploy/?template=https://github.com/worldpeaceenginelabs/gun But if I do it manually on the Heroku website, logged-in, ...
user avatar
0 votes
0 answers
18 views

FlexipageRegion deployment issue

We have made updates to an existing Lightning Page. When moving the page from one sandbox to another the following error is occurring. duplicate value found: FlexiPageId duplicates value on record ...
user avatar
0 votes
0 answers
17 views

Use SwitchServer for dynamic url changes for Chat rest API call

I am using SwitchServer to get the newURL for Chat API endpoint. But the response newUrl is returned for requests to Visitor resources if the Live Agent instance URL is not correct for the ...
user avatar
1 vote
1 answer
25 views

Uncovered lines not shown in sfdx deploy (check only) command anymore

Our CI/CD pipeline has not been changed in past 4 months, But i clearly remember in case of code coverage issue. Uncovered lines used to popup. Was there any change in sfdx command where we need to ...
user avatar
1 vote
3 answers
97 views

Mdapi deployment stucks in queue, even when there is no other deployments in progress

Mdapi deployment stucks in the queue, even when there are no other deployment in progress Steps To Reproduce: Prepare package for deployment run force:legacy:mdapi:deploy Expected result Deploymnt in ...
user avatar
  • 604
0 votes
1 answer
20 views

Error "Picklist value is not supported" when deploying Path

When deploying a Path based on the Stage picklist for the Opportunity object I got this error: Picklist value is not supported
user avatar
1 vote
0 answers
47 views

Custom SObject is locked with "Admin operation is in progress" after deployment of first portion of metadata and when trying to deploy next one

Our project contains about 30,000 of SF artifacts. Due to the limitation in 10,000 artifacts per deployment bundle, we've split our deployment into chunks to fit into mentioned restrictions, i.e. ...
user avatar
  • 2,734
2 votes
1 answer
100 views

I can't see deployed field after deployment via change sets (but I can see that field in setup)

I deployed my code through change sets from full copy sandbox to production: I included my new custom field and I can see that field on Contact from Setup on Production: But despite adding them at ...
user avatar
1 vote
0 answers
40 views

How to safely store the Auth. Provider metadata in the git repository without revealing its secret?

I have an authprovider metadata stored in Git repo with the following body: <?xml version="1.0" encoding="UTF-8"?> <AuthProvider xmlns="http://soap.sforce.com/2006/04/...
user avatar
1 vote
0 answers
21 views

Managed Package : Deploy Modified Picklist from one sandbox to another

I have modified a picklist (added new values) that is part of a managed package (Financial services cloud). Now I want to deploy this modified picklist to another sandbox which also has the managed ...
user avatar
0 votes
0 answers
45 views

"Dependant class invalid needs recompilation" error after upgrading to API version 53

I have upgrade some classes in my org to version 53, while deployment i get the error " Dependant class is invalid needs recompilation". As per the Salesforce article I have tried compiling ...
user avatar
0 votes
1 answer
48 views

If I delete a Test Class out of Production, will there be any negative repercussions?

I was in the process of migrating some new Apex into our Production Org and this old completed unrelated Test Class kept on throwing an error. So after several hours, I was able to delete this ...
user avatar
0 votes
0 answers
14 views

Error: Flexipage component instance doesn't have an identifier specified [duplicate]

I am trying to deploy flexipage to scratch org but it gives me the following error: Error corePackage\main\default\flexipages\Account_Record_Page.flexipage-meta.xml The 'force:...
user avatar
0 votes
1 answer
43 views

KnowledgeValidationStatus unable to retrieve metadata

I am unable to pull the new picklist values from Knowledge Validation Status field encounter this error unpackaged/package.xml Unable to retrieve file for id 60 (KnowledgeValidationStatus). This ...
user avatar
0 votes
1 answer
52 views

Multiple sibling folders for apex classes when deploying with ant?

How would I set up my build file so I can split up apex classes into sibling folders inside src? Currently, I got deployRoot = "src" set up in the build file, and I assumed that ANT can ...
user avatar
  • 649
0 votes
1 answer
56 views

Metadata cannot be deployed from within a test [duplicate]

When trying to insert a custom metadata record within the test it gives me the following error @IsTest public class Object_1TriggerTest { @IsTest public static void Load_field_1_from_metadata()...
user avatar
0 votes
1 answer
51 views

Is anybody using Metarocket.io as a SFDC GUI?

Was trying to find a way to Find & Replace Visualforce page names in an org and this community answer lead me to MavensMate which is not supported anymore. Then this question looking for an ...
user avatar
0 votes
0 answers
38 views

Deploying Experience site fails due to 'The value for urlPathPrefix in ExperienceBundle isn't valid. Check the value and try again.' with VS Code

when trying to deploy experience site with vs code via azure DevOps I'm receiving the following error message: The value for urlPathPrefix in ExperienceBundle isn't valid. Check the value and try ...
user avatar
  • 1
2 votes
1 answer
32 views

Validation of two packages at the same time, but only quick deploying one. Possible?

Pretty simple question here. Can I validate 2 packages at the same time, and only choose 1 to quick deploy? background here is we have a release tomorrow and the package is already validated (takes ~5 ...
user avatar
0 votes
0 answers
84 views

Unable to deploy OWD change on Streaming Channel object

I'm trying to make the OWD on the StreamingChannel object as private. However, when trying to deploy the StreamingChannel object, I get the following error message: "Custom Object Definition ID: ...
user avatar
  • 13
0 votes
0 answers
65 views

Problem with migration of Community

I try to migrate Community between 2 dev org. I got error Your site needs a route with route type top-articles. Update your file and try again. I prepared everything according to this manual : https:...
user avatar
  • 1
0 votes
1 answer
133 views

Picklist value in picklist not found

I am trying to deploy picklist value Pupils and Students from Development to Integration environment but end up getting below error: [RecordType Account.GL_Indirect_Account] Picklist value: Pupils ...
user avatar
0 votes
0 answers
25 views

Deployment of wave analytics Dashboard failing

I am getting an Error while deploying Wave Dashboard below is the error Unrecognized field "textWrap" (Class sfdc.insights.connect.api.input.dashboard.widgets.parameters....
user avatar
0 votes
2 answers
104 views

Do all unit tests have to pass in order to deploy a class to production?

I am the only developer in the new project and there are many classes that are not passing unit tests. I want to deploy only one class (which have only 10% of test coverage) How could I deploy this? ...
user avatar
0 votes
0 answers
44 views

Salesforce Profile deployment

I have some issue with one profile deployment. For deployment we are using Ant Migration Tool. In Pull Request we have some properties set up as false, in package for deployment also, but after ...
user avatar
0 votes
1 answer
68 views

How to deploy a batch class through change sets without a test coverage for that class?

I want to deploy only one class (batch) from sandbox to production and that class have only 10% test coverage but overall code has 80% test coverage. Would it be possible to deploy that class by ...
user avatar
0 votes
0 answers
52 views

Permission set not availble in Change set!

While deploying a community, got the below error In field: permissionSet - no PermissionSet named <permission_Set_name> found I created an outbound change set, after "ADD" under ...
user avatar
0 votes
1 answer
33 views

Change profile name via XML

Profile pushed out to production with incorrect standards naming convention. Need to push this change via package / merge into branch. Really don't want to manually change the name. Using the ...
user avatar
  • 703
1 vote
1 answer
93 views

Salesforce DX nested LWC folder structure and different deployment methods result in different behaviour in sandbox [duplicate]

I have this nested lwc folder structure --force-app -- main -- default -- lwc -- parent -- lwc -- child When trying to deploy into my sandbox: in vscode if I ...
user avatar
0 votes
2 answers
64 views

Full List of Metadata Types Can I deploy without Test Coverage?

I am looking for a full list of metadata types that I can deploy to Production without test classes. Flows (Not Sure) Apex Classes (Required) Custom Fields (Not required) Etc. I have searched the ...
user avatar
0 votes
1 answer
143 views

our site needs a route with route type detail-0pr. Update your file and try again

We are getting error "Your site needs a route with route type detail-0pr. Update your file and try again." While we are deploying a community using change Set. Please if any one can help on ...
user avatar
1 vote
2 answers
45 views

Create Unmanaged package with dependencies

I have a commonly used object let's say object A it is being referenced in lookup's and formula fields. I have to create an unmanaged package without including "object A" how should I go ...
user avatar
  • 507

1
2 3 4 5
31