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
0 votes
0 answers
21 views

Approval Process deployment failing with strange error

I am deploying a Approval Process file via Metadata API and it is erroring out stating: The approval process contains an invalid submitter value abc@validusername.com for type user. The abc@...
user avatar
0 votes
1 answer
19 views

Migrate permission set having ViewAllData from one org to another with different standard or custom objects

How to deploy permission set that has ViewAllData? There are several orgs that need to have permission set deployed but each org has slightly different list of standard objects enabled or custom ...
user avatar
  • 13.4k
-1 votes
1 answer
54 views

Is it posible to deploy complete Production org to an Sandbox?

we are planning to deploy our complete Production org to an Test Sandbox, but we can't find any guidelines how to do it. Where must we think of what are the pitfalls if we are doing this. Is there any ...
user avatar
0 votes
0 answers
31 views

sfdx force:source:deploy with RunSpecifiedTests run all apex test

Our organization uses below command for validation sfdx force:source:deploy --sourcepath {{ CI_PROJECT_DIR }}/src_delta -l RunSpecifiedTests -r "$(cat {{ TEST_CASES }})" --json -c -w 0 A ...
user avatar
0 votes
1 answer
23 views

Community-facing Lightning Web Component fails to deploy

I'm having an issue deploying a new LWC to a new page in my community. Using experience bundles, I am deploying a new view and route. The view has a new LWC on it with the following meta: <?xml ...
user avatar
0 votes
0 answers
28 views

Git error: Unable to create file in VS code [closed]

For the first time when I clone any repo and make deployment through VS code, everything works fine. But when I try to open VS code on next day, I get to see some changes on the left which someone ...
user avatar
1 vote
1 answer
42 views

Experience Site deployment result in java.util.NoSuchElementException

I am migrating experience site from dev sandbox to our uat and deployment fails with java.util.NoSuchElementException: No value present. I've managed to deploy the site without all custom sites, so ...
user avatar
  • 1,582
0 votes
1 answer
24 views

"Unable to obtain exclusive access to this record" when deploying text fields to Opportunity object

I am trying to deploy roughly 100 text fields to my production instance, specifically to my Opportunity object. When trying to deploy or even validate the change I get "unable to obtain exclusive ...
user avatar
0 votes
1 answer
32 views

Are files ".cls-meta.xml " deployed through change sets when I deploy .cls file?

I did a change in a metadata of a class (ClassName.cls-meta.xml) If I would deploy ClassName.cls apex class through change sets, then file ClassName.cls-meta.xml would be deployed also?
user avatar
  • 35
-3 votes
0 answers
24 views

How to deploy new currency codes in bit bucket?

I have added few new currency ISO codes under company information and would like to deploy this to Production by using Bit bucket. Which code component do I need to use to add these changes in code ...
user avatar
  • 1
0 votes
1 answer
53 views

SF Workbench - API Version - v55 Not Appearing

I require to use Workbench with SF API v55 (Summer '22) so that I may deploy Service Cloud Voice (SCV) Contact Center with features that are in v55 My SF Org is running Summer '22 (v55) Currently when ...
user avatar
0 votes
1 answer
27 views

how to pass multiple requestIDs to cancelDeploy() in ant migration tool

I have multiple deployments queued/stuck in one org that i want to cancel. I tried using ant migration tool's cancelDeployment method but it only allows one Id at a time, as per the document. "...
user avatar
1 vote
0 answers
28 views

Error when removing an Object from the Queue

The Following queues are in use by default owner setting, workflow rule, sharing rule, email routing address or actual record owner: Deal_Approval I found a suggestion here Based on this suggestion, ...
user avatar
0 votes
0 answers
23 views

Receiving the following error when pushing to heroku: Host Key Verification Failed. Could not read from remote repository. Full error in body

just as a brief preface, I only started programming last year and don't have much experience at all with Heroku. I've done my best to be specific and thorough when writing this question, but apologies ...
user avatar
  • 1
1 vote
1 answer
35 views

sfdx sgd-git-delta plugin not recognized in Jenkins pipeline [closed]

I have installed sfdx git delta plugin on my system. It works perfectly well when I execute locally on Git Bash / CMD / Visual Studio Code. But when I trigger the Jenkins pipeline, I see that sfdx ...
user avatar
0 votes
0 answers
22 views

ObjectTranslations deployment succeeds but field labels do not change. How to resolve?

I am trying to deploy ObjectTranslations via SFDX and the deployment seems to successfully work but no change is occurring in the target org. If I try to deploy a translation contract_end_date....
user avatar
0 votes
1 answer
24 views

If deployment via SFDX fails, then no components are deployed?

If I will do deployment to my scratch org and I have "Deployment Failed" (because of 1 failing component), then it means that no component was deployed? Is there a way to deploy all ...
user avatar
  • 35
0 votes
1 answer
44 views

Is regular date for deployment beneficial? [closed]

The company is thinking about introducing a proper version control/source control. Within this process is considered an idea to introduce a regular date for deployment to production, for example every ...
user avatar
  • 13
0 votes
1 answer
46 views

Deploying dependency picklist via Deployment does not reflect in org

As per documentation valueSettings and controllingFieldValue should be responsible for adding or removing field dependencies. But interestingly nothing works. I tried removing a node of valueSettings ...
user avatar
2 votes
2 answers
101 views

Incremental deployment using SFDX CLI, Jenkins and GitHub

I have implemented deployment pipeline in Jenkins using SFDX CLI and GitHub. I am able to deploy metadata to Salesforce Org using below commands. First, validate the deployment sfdx force:mdapi:...
user avatar
0 votes
1 answer
30 views

Deploying Salesforce Profile via Git

Has anyone successfully deployed Profiles using Git? If yes, what are the steps to do that? I tried to find documentation, but have not been able to find anything that I can use.
user avatar
  • 15
-1 votes
2 answers
34 views

Can we manually clone the process builder in production?

Can we manually clone the process builder and update it in production after testing in sandbox instead of deploying?
user avatar
  • 1
2 votes
1 answer
137 views

Platform error when deploying Experience Bundle (sites.data.store.ConcurrentEditDetectedException ORA-20612)

We were having a 7 dwarf error when trying to deploy a Experience Bundle to a Sandbox. We were using metadata api (using sfdx) to deploy an update to an existing community in a sandbox sites.data....
user avatar
  • 646
0 votes
1 answer
19 views

Error while deploying Oppty flexi page to higher orgs. ERROR: There is more than one instance identifier with the same name: 'flexipage_richText4'

I have a Opportunity Flexi page and there is no issue while saving my changes in my dev org. But there is an error while I try to deploy the changes to higher orgs. Error Details: There is more than ...
user avatar
0 votes
1 answer
50 views

How can I deploy my flexi-page via change sets?

I created a flexi page. How can I deploy this to Production via change sets? What should I add to change sets? I can't see any "Flexi page" component in "Component Type"
user avatar
  • 35
1 vote
1 answer
89 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,116
-1 votes
3 answers
74 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
74 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
5 votes
1 answer
1k 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
50 views

How can I deploy a permission set with connected apps? [closed]

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
285 views

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

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
90 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
78 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
35 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
43 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,634
-1 votes
1 answer
45 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
  • 307
1 vote
1 answer
60 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 vote
1 answer
97 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
85 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,413
1 vote
1 answer
149 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
23 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
22 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
27 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
41 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
161 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
104 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
101 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,793
2 votes
1 answer
180 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
48 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
27 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

1
2 3 4 5
31