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

How can I resolve the deployment error “Error: Permission Edit Self-Service Users depends on permission(s): Edit Contact, Read Contact”

When attempting to deploy a profile with the "Edit Self-Service Users" permission enabled, I am encountering an error: Error: Permission Edit Self-Service Users depends on permission(s): Edit ...
1
vote
2answers
214 views

Code Coverage Failure trigger deploy on production

i have a code for trigger: trigger SendDisbursement on Opportunity (after update) { if (!System.isFuture()){ for (Integer i = 0; i < Trigger.new.size(); i++) { if (Trigger.old[i]....
3
votes
0answers
34 views

VS Code deploy: Maximum call stack size exceeded

I'm trying to deploy code in VS Code to an org. I'm getting the following error. The package.xml is valid, as far as I can tell. Starting SFDX: Deploy Source to Org 14:57:24.268 sfdx force:source:...
3
votes
0answers
2k views

Ant profile deployment - You cannot deploy to a required field Object_Name__c.Field_Name__c

I am getting the below error when I am trying to deploy a new profile: You cannot deploy to a required field Object_Name__c.Field_Name__c. I saw the solution posted here: Force.com IDE profile ...
1
vote
0answers
31 views

VS Code SFDX Salesforce CLI Deployment issue

From VS Code when trying to run below command sfdx force:source:deploy --manifest c:\temp_worspace\temp-folder\manifest\package.xml --json --loglevel fatal Getting below error ...
0
votes
0answers
14 views

Shield field tracking

I would like to validate if any new development will affect already existing parts of an org which are already in place. This would be for such elements as Reports, Workflows, Process Builders, Flows ...
1
vote
1answer
23 views

Salesforce In - App Guidence

Please let me know if there is any way to deploy the in-app guidance in the Salesforce by creating the package XML from the lower org to higher org. In app guidance link: https://help.salesforce.com/...
0
votes
1answer
20 views

Dashboard deployment fails with Missing required fields: [ReportColumn]

I'm having an issue when deploying a dashboard from a sandbox to a production instance using Change Sets and the Salesforce CLI. Both result in the same error message: TYPE FILE ...
29
votes
9answers
36k views

How to debug the mysterious “duplicate value found: <unknown> duplicates value on record with id: <unknown>” error

I've just spent several hours trying to fix a deployment that was failing with the following extremely helpful error message: Error: objects/Opportunity.object(2098,13):duplicate value found: <...
1
vote
3answers
527 views

Bulk data upload in salesforce with duplicate check

I want to upload 1000 Account and Contact records to salesforce. I am not sure how many of them are duplicate. I cant use data loader as it will check the duplicate records in batches, so it will not ...
0
votes
0answers
27 views

Error while deploying flexipages xml

Am facing issue while deploying lightning page related changes to other org using [flexipage]xml file. Error: All Component Failures: 1. flexipages/APTS_Quote_Record.flexipage -- Error: The ...
1
vote
2answers
728 views

Migration between unrelated orgs

Hi I will have to migrate code,reports and metadata between 2 unrelated orgs and I have concerns regarding few components. reports I remember having problems while deploying report folders. I had to ...
4
votes
1answer
552 views

Enable SharedActivities automaticaly for new scratch org

Is there any chance to set up scratch org definition file, to create new scratch orgs with SharedActivities functionality enabled? We just implemented some functionalities using TaskRelation object, ...
0
votes
1answer
422 views

Metadata API Accessing parentRole for a Role

I'm trying to add roles to Stash for my company. I created a package.xml (listed below) to get the roles. According to Metadata API Developer Guide: Role, there is a parentRole field which I'm not ...
1
vote
0answers
30 views

Unknown user permission: UseMySearch

Why am i getting this error while deploying my profiles into another sandbox. Please let me know hwo to solve this. i have tried verifying my components in the change set and everything looks fine
2
votes
1answer
1k views

Unable to find valid certificate path to requested target

I am trying yo deploy my application from developer org to newly purchased enterprise edition org. For this I am using eclipse to deploy my developer org project to sandbox. But I'm not able to ...
4
votes
1answer
2k views

Report Type – Ant Deployment Errors (Invalid Field Name & Duplicate Value Found)

I am trying to deploy Reports and Dashboards via Ant tool. I get this error for Report Type reports/JMT_Reports/Expiry_and_Renewal_Status.report -- Error: Invalid field name: Lease_Unit__c$...
6
votes
2answers
2k views

The approval process references the workflow action FieldUpdate Some_Field_Update, which doesn't exist for the Some_Custom_Object__c object

While trying to deploy an approval process with the Salesforce Migration Tool, I get the following error: The approval process references the workflow action FieldUpdate Some_Field_Update, which ...
1
vote
3answers
975 views

Getting “Failed to login” error while run Ant Migration Tool Target

I'm trying to run Ant Migration Tool Target using Jenkins CI from my server and getting next error: BUILD FAILED /var/lib/jenkins/workspace/<Jenkins Build Job Name>/build.xml:41: Failed to ...
4
votes
1answer
2k views

Deployment of SiteDotComSites: Required field is missing: label

I've pulled all the metadata from a sandbox, and now as a sanity check, I'm trying to push it all back (via Force.com IDE) to the same sandbox. It all seems to work apart from siteDotComSites ...
2
votes
2answers
200 views

Can I “Exclude Values” of a dependent picklist if I deploy via a Change set?

I am trying to deploy two picklist fields via Change Set Management, so that I can get the new changes(Include Values/Exclude Values) in the Field Dependency. After the deployment what I found was: ...
3
votes
1answer
405 views

Run All Test Classes ( My Namespace vs All Namespace)

My Namespace : Only local classes that aren't from managed packages appear in the list All Namespace: All the classes in the organization appear, whether or not they are from a managed package. I ...
0
votes
0answers
13 views

How to track why community changes have been undone

My team has reported several times regarding their community changes have been overwritten (Changes which are there once but disappear after a certain period of time). Originally they though it was ...
1
vote
1answer
52 views

“The image asset used for Logo isn't shared with the organization” Error on Custom App deploy

I am deploying with sfdx a custom app that has a reference to a Content Asset (Logo) - even though the Logo is in the same package I keep getting the following error: The image asset used for Logo isn'...
1
vote
1answer
618 views

Deployment failing with “Could not resolve list view column: CORE.USERS.SAML_SUBJECT” on the User object

I am trying to deploy metadata to dev sandbox to another sandbox using Jenkins. I am getting an error as below: [sf:deploy] Component Failures: [sf:deploy] 1. objects/User.object (User....
1
vote
1answer
464 views

Salesforce deployment using Ant and SFDX

Our project is in this format after using sfdx force:mdapi:convert -r src it converted to this which doesnt have package.xml Using sfdx force:source:convert converted project to this format with ...
1
vote
1answer
34 views

Can't edit an active bot version

We are deploying Einstein Bot component from an org to other org by using Ant Migration Tool. The same component already exists in the target org and is active. So when we are doing this we are ...
0
votes
2answers
268 views

Deploy change set from sandbox to production unavailable

I have a process builder which I want to build to production, when I create a change set it says that this change set requires the "45.0" or later platform version, if it was a visualforce page I ...
1
vote
0answers
47 views

SFDX deploy ECONNRESET

During a sfdx deploy, the CLI launched a random exception: ERROR running force:source:deploy: read ECONNRESET Build step 'Execute shell' marked build as failure Someone has an idea of the problem? ...
0
votes
0answers
19 views

is Sharing rules get recalcuated on deployment of Same OWD

I have one repository where i have OWD for account,contact and some other custom objects which is same as in salesforce org. Is Sharing rules getting recalculated if I deployed the same OWD. Please ...
1
vote
3answers
423 views

Azure DevOps with Ant for deployment questions

We are trying to implement our CI/CD with Azure DevOps (Pipelines) but we are facing a couple errors. Basically we were trying to created just one build.xml and one build.properties files and ...
0
votes
1answer
44 views

flow deployment error about api version

after launching this command from the visual studio code terminal : sfdx force:source:deploy --sourcepath .\force-app\main\default\ --apiversion 47.0 I receive the following errors: force-app\main\...
1
vote
2answers
104 views

Retrieve Standard Picklist Value Sets using package.xml

There are standard picklist fields like Premium Frequency on Insurance Policy object in Financial Services Cloud package. We have added some new picklist values for this field. However, we are not ...
1
vote
1answer
32 views

Can I deploy higher version process builder from sandbox to lower version in production?

I have a process builder with version8 in sandbox and want to deploy to prod which already having its version1.I have a doubt that will it deploy or not because another team deploy from sandbox to ...
1
vote
0answers
15 views

Issue in deploying Lead Flexipage with Einstein IQ component [closed]

We are using Bitbucket Pipelines to do CI/CD with Salesforce using a Sandbox development model and the Salesforce CLI to retrieve declarative changes and to deploy. We have recently enabled ...
2
votes
2answers
1k views

Apex test is slow during deployment, but fast any other time

I have a test that takes about 5 minutes to run during production deployment. If you just click "run test" or run it from execute anonymous, it's not slow at all (a few seconds). Is there a way to ...
0
votes
0answers
20 views

Notification bell does not display after deploying to sandbox using salesforce dx

We have used Salesforce dx to develop salesforce community and deploy. After retrieving the community files and deploy that into our target sandbox, the notification bell disappears. However, when I ...
0
votes
1answer
601 views

Deployment error: __MISSING LABEL__ PropertyFile - val dependent.class.invalid not found

I am facing deployment error as shown below. I searched a lot but could not find correct solution for this. What needs to be done for this?
5
votes
1answer
710 views

DX Deploy - no Quickaction

I'm having trouble deploying to a sandbox. Profiles have been a pretty major pain, so I simply removed all profiles from the mdapi output dir. Now I am fighting QuickActions. In each of my layouts I ...
3
votes
3answers
2k views

Error: no CustomApplication named standard__LightningInstrumentation found

When I am trying to deploy (using ant) to my sandbox I am keep getting the many of the following errors: profiles/... - App Subscription User.profile -- Error: In field: application - no ...
0
votes
1answer
21 views

What is the max xml file size that ANT support to retrieve and deploy the data in salesforce

I want to retrieve the metadata using ANT, have an XML file of size 2MB and total line are around 35000. When i run the command to retrieve the metadata I am facing error as max limit is 10000 files. ...
3
votes
2answers
441 views

Deployment error regarding translations when generating package version

In a scratch org where the translation workbench is enabled, I added English as a supported language (the language for the organization is Japanese) and ran the command sfdx force:source:pull, which ...
3
votes
0answers
26 views

What causes leftover XML to exist in files when a component is deleted via the UI?

I've had interesting situation come up today when doing a metadata validation on a very large package. An error was occurring on a Page Layout where it was expecting that a QuickAction should also be ...
0
votes
0answers
9 views

ANT Deployment override layouts even if I run a new deployment with an org backup

Context: I have 4 dev sandboxes. 3 sandboxes (dev1, dev2, dev3) for each developer and one sandbox (dev) with all changes made by all developers. I make deployments automatically using Ant + Jenkins. ...
0
votes
0answers
26 views

Deployment Failed Developer Edition

I can't save a class in a developer org. I receive this error: "Can't alter metadata in an active org". How can I resolve this problem?
0
votes
1answer
828 views

Deploying GlobalValueSet and GlobalPicklist with ANT error

I am trying to deploy GlobalValueSet and GlobalPicklist with ANT but get the following error: globalPicklists/GP0.globalPicklist Global Value Set 0 0 Not available for deploy for this API ...
0
votes
1answer
15 views

Only Log a Call Action will Display in Actions & Recommendations Component Regardless of Configuration

Regardless of what configuration I do and what global actions or flows I assign to channels in the Actions & Recommendations deployment menu, it only ever shows the Log a Call action. If I click ...
0
votes
1answer
37 views

Deployment Error [CustomApplication Service_Console] The value you specified for RecordType is invalid or doesn't match the object you specified

Hello community I am facing the below error [CustomApplication Service_Console] The value you specified for RecordType is invalid or doesn't match the object you specified. I have added to the ...
0
votes
0answers
20 views

How to Package and deploy Salesforce Einstein App containing Data Recipes?

We have created a Salesforce Einstein Analytics App containing few dashboards, lenses, dataflows, data recipes and datasets. When we tried to retrieve this app source code in VSCode Salesforce project ...
3
votes
0answers
30 views

Is it possible to activate specific version of process builder(or flow) through API?

For the situation shown in the above picture, is it possible to activate a specific version of process builder(or flow) through API?