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.

322 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
75 views

SFDX Package lookup filter deployment issue

I am trying to create an unmanaged package which has one custom object with lookup filter on a master detail field. <fullName>Contact__c</fullName> <externalId>false</externalId&...
1
vote
0answers
90 views

How to rollback metadata changes using Jenkins and bash script

I am working on a project in which I have to rollback the metadata components which we have deployed into destination org using Jenkins. Does anyone have built this kind of project / Scenario. Steps ...
1
vote
1answer
89 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 ...
1
vote
1answer
426 views

Error deploying flows: Required field is missing: actionType

I need to fetch components from sandbox and deploy them back to sandbox after a refresh. First I tried with Eclipse force plugin: Restoring sandbox components1 I can fetch all needed components, but ...
1
vote
2answers
1k views

Send Email is disabled or activities are not allowed. Enable Send Email and allow activities, then try again

I'm getting the following error while deploying the case page layout to another org vi Copado. Deployment Error: [QuickAction Case.Custom_Email] Send Email is disabled or activities are not allowed. ...
1
vote
0answers
22 views

Validate LMA/FMA Before Publishing To AppExchange

Is it possible to validate that your LMA/FMA code functions correctly before you ever upload a package to the AppExchange? I have an existing, released managed package that I need to try using LMA/...
1
vote
1answer
205 views

How to set org wide default home page through metadata api? Not for specific app or profiles

This question has been asked by few previously and i see the answers are not pointing to the correct scenario I am having a need to deploy a new lightning home page and set it as default for the ...
1
vote
0answers
23 views

Batch fails to deploy

I have a batch that I uploaded into Production successfully on July 20th and then a change to that batch on July 27th, both with no issues. I needed to make another change to that batch today, so I ...
1
vote
1answer
81 views

Do Apex tests (have to) run as part of the deployment when we deploy Processes and autolaunched Flows?

When you have enabled the setting 'deploy processes and flows as active' you need 75% of Processes and Autolaunched flows to have at least some Apex code coverage. The documentation on Running Apex ...
1
vote
0answers
61 views

Password lost from named credential in unlocked package

I have created an unlocked package. The unlocked package contains named credential. The unlock package process creation when failed when there was no in the file. So, I had to add actualPassword in ...
1
vote
0answers
266 views

SFDX deploying Contact Sharing rules on a fresh deployment

I'm trying to deploy a Contact sharing rule into a new scratch org and I get following error. Deploying sharing rule xxxxx not supported for object Contact since it's org wide default is '...
1
vote
1answer
76 views

DX retrieve metadata folder for deployment - folder self destructs

I'm attempting to retrieve metadata from my sandbox org in order to deploy to production. I've been doing this over the past month or so using the following commands in my VSCode terminal: export ...
1
vote
1answer
706 views

Error In Deploying LWC

I'm trying to deploy my code but when It's not updated in custom components Kindly advice what's the issue and can you advice also the difference between working on scratch orgs and non-scratch orgs ...
1
vote
1answer
43 views

Problem deploying package using Ant migration to a new org

I am trying to deploy a new package from my test org to new org. But I am running into some issues due to one standard field in Account object. Field is IsCustomerPortal this field is created when ...
1
vote
0answers
1k views

Deploy Source in Manifest to Org - ended with exit code 1 and no response in problem tab

I have a local Salesforce DX project with a package.xml manifest file. The project has been authorised against a fresh developer org. I want to deploy all my local code in one go, so I am using the ...
1
vote
1answer
401 views

Migrating a communities from Sandbox to PartialCopy

I'm trying to deploy a Partner community from a sandbox to a partial-copy, but I receive this error: The page "/event" for Menu Item "Event" must be published, begin with a / character, and ...
1
vote
0answers
120 views

salesforce deployment from Git with Docker cloud

I need way to deploy code from Git to salesforce using Docker Cloud or Docker. I needed senior's suggestions and sources on deployment from Git to to salesforce especially with docker and i found way ...
1
vote
0answers
279 views

Issues with Case Business Process Picklist values while using Ant

Were doing a first time deploy of code to a QA box and for some reason I keep getting errors about Picklist values not present. I can see them in the Case object under the BusinessProcess section, ...
1
vote
1answer
234 views

_MISSING LABEL__ PropertyFile - val CustomTabLimitsServiceImpl$WithDetails_desc

I am facing a Package Installation error as shown below. It is happening only in one sandbox and Package installed successfully in other sandboxes. I searched a lot but could not find the correct ...
1
vote
1answer
376 views

When I'm validating / Deploying change set , giving me this error - Package installation failure

When I'm deploying some apex classes with lightning components from 1 developer sandbox to another developer sandbox , it is giving me this error with no information. I don't have any managed/...
1
vote
1answer
834 views

Fatal Error Deploying Apex from Sandbox to Prod

I made some small tweaks to an apex class in sandbox and all my unit tests passed in sandbox, I tried pushing the apex classes and the unit tests. The error I'm getting is Fatal Error and that my ...
1
vote
0answers
263 views

Code Coverage 95% in sandbox and 47% in production for a class

I am at a loss right now why my code coverage is off for a particular class. I have @isTest(seeAllData = false) in my test class and I am creating my own data. I have also cloned a new sandbox from ...
1
vote
0answers
59 views

Wave datasets from installed managed beta package not visible

I created a managed beta package with wave assets in one developer org, and successfully installed it into another developer org. I can see all the wave assets via the API (in Workbench), including ...
1
vote
0answers
129 views

how do you avoid “meta.xml” files from being deleted during a merge

i find that the working of git removes the meta.xml of the apex classes. Here is what i have, dev branch with 2 feature branches. And in the dev branch, there were 2 apex classes.So the files in the ...
1
vote
0answers
72 views

Dependent field not getting deployed in Salesforce

I am trying to deploy dependent fields and controlling in salesforce. The deployment is successful via workbench , however the changes in field dependency are not getting impacted in the org. The meta ...
1
vote
0answers
69 views

Fields of an Object retrieved using Ant has <encrypted> property

I retrieved an object using ant tool using retrieveUnpackaged command.I retrieved this from a higher environment of my project.. say the SIT environment(Full Sandbox). On looking at the fields( text ...
1
vote
1answer
104 views

Unsupported currency errors while deploying Reports from one org to another

I am trying to deploy reports, report types and dashboards from one org to other using Eclipse Force.com IDE. I am getting following error: currency: Unsupported currency: EUR. My first thought ...
1
vote
1answer
75 views

Can we deploy Forecast Object with data?

Is it possible to deploy the forecast object with all its data and related navigation over force.com site or community portal?
1
vote
0answers
346 views

Error in change set with MasterDetail relationship even after relationship deleted

I'm getting the following error: Cannot set sharingModel to ControlledByParent on a CustomObject without a MasterDetail relationship field I've looked it up online and found out that it (likely) ...
1
vote
1answer
280 views

Code Coverage Issue while validation

How to find each class coverage for that current jobId which has been validated with only error, code coverage?
1
vote
0answers
1k views

INVALID_CROSS_REFERENCE_KEY: invalid cross reference id on Ant

Recently made some changes to some of objects turning some from formulas to number fields and vice versa. I added DestructivechangesPre.xml to delete those fields (and in a more extreme manner, after ...
1
vote
0answers
46 views

Connected Dot - unManaged package deployment

Connected Dots is a unmanaged package from Salesforce. I have modified one of the components in the package in fullcopy. Wanted to deploy. I tried deploying with Eclipse, it is giving timeout error '...
1
vote
0answers
214 views

A lower code coverage problem when trying to deploy

All my apex classes have more than 90% code coverage. But, when I am trying to deploy them, it is showing I have 59% code coverage. How to solve this issue. I have run all test, & check all apex ...
1
vote
1answer
618 views

Deployment of Wave Analytics components failing

I have retrieved the wave analytics components using workbench without any issues from source org.But while deploying in the target org is giving an error : " Error: Unrecognized field "query" (...
1
vote
0answers
303 views

picklist Value deployment Issue

I retrieve the Record type using Package.xml.Its having Available picklist value <!--<values> <fullName> Mandatory%3A K-12</fullName> <default>false</default> </...
1
vote
0answers
405 views

How to deploy sharing rules such that already existing sharing rules in production are not affected?

Some one asked me this question and i dont know the answer.How can I deploy sharing rules from sandbox to production such that already existing sharing rules in production are not affected
1
vote
3answers
1k 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 ...
1
vote
0answers
292 views

MetadataService.DeployOptions testLevel in Apex

I'm using MetadataAPI to activate a Process Builder flow from Apex code, even I'm specifying the testLevel option, it still giving me this error: Web service callout failed: WebService returned a ...
1
vote
0answers
125 views

Lightning Components work differently in Developer orgs and production orgs

I have developed several lightning components, which can be accessed in salesforce1 by tab. With the same code, my components work well in DEV orgs, but not in Production Orgs. For exemple : 1. I ...
1
vote
0answers
165 views

Jenkins job for Salesforce deployment printed the -Dsf.password in console

Am using the Jenkins to do the Salesforce deployment. Build is parameterised. When I sun the ANT build for deployment, in console I could see the passport printed by the Salesforce ANT command. Is ...
1
vote
0answers
130 views

Why 'Methods defined as TestMethod do not support Web service callouts' error?

I have simple trigger that changes value of one field based on value of other field. Following is test class for that Trigger @isTest public class SMS_OPT_OUT_TC{ static testmethod void ...
1
vote
2answers
755 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 ...
1
vote
0answers
168 views

how to find Macro standard object in production environment?

I try to deploy my sandbox to production environment. but I got an error : Macro customObject 0 0 Invalid fullName, must end in a custom suffix ( for ex. __c ) I realize that my sandbox have ...
1
vote
0answers
734 views

Limit exceeded error when deploying

When deploying our account custom fields to the org through ant we have the following error: 1. objects/Account.object (Account.ValidatedBillingPostalCode__c) -- Error: limit exceeded (line 121, ...
1
vote
3answers
641 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 ...
1
vote
0answers
122 views

deploying renamed page layout and record types in Prod from FULL

I have recently refreshed my FULL sandbox with Prod. I wish to rename some page Layout and record type name( Label and API name) in FULL. I have added some section to this renamed page layouts and ...
1
vote
0answers
263 views

Migrating components not supported by eclipse

How do we migrate metadata from one org to another when they are supported by metadata api but not by eclipse. The examples are sharing rules and matching rules. I have managed to migrate this from ...
1
vote
1answer
180 views

Unable to Deploy file-based Custom Field / Profile Settings to Salesforce SOAP API

We've visited the following link, and followed the examples/instructions to no avail. https://developer.salesforce.com/forums/?id=906F0000000AVifIAG We originally utilized the CRUD-based SOAP API to ...
1
vote
0answers
24 views

Migration tool took more than the expected time to finish the deployment

Validations and deployments via migration tool to a sandbox took more than the expected time to finish the deployment. Total deployment/validation time supposed to be roughly 30 minutes and suddenly ...
1
vote
1answer
53 views

Can you automate a release that changes the type of a field that is referenced by a class?

The problem In production we have a field that is referenced by a class. We want to change that field from a 'text' field to a 'formula' field. In order to change the field from one type to another ...

1 2
3
4 5
7