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
0answers
11 views

how can I see the (Deployed)package thrown trigger

Firstly I was write Trigger for my one a object its working And after i wanted to write for production but i learn its imposible i need the deploy Thats why I install ForceCode in Visual Studio Code ...
1
vote
0answers
9 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
1answer
33 views

Checking previous metadata deployments

So I'm playing with deploys using the metadata API and I have 2 questions. I noticed that when you deploy using metadata the deploy name in "Deployment Status" is just an Id, can I change the name? I ...
1
vote
1answer
34 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 ...
0
votes
1answer
31 views

infonot a valid enumeration for type class com.sforce.soap.metadata.deployproblemtype

While validating Package.xml from Force.com IDE to Salesforce org, I am getting error: infonot a valid enumeration for type class com.sforce.soap.metadata.deployproblemtype <?xml version="1.0" ...
0
votes
1answer
19 views

timed out error in salesforce dx when on office network

When I am using my office network I am not able to deploy code to any sandbox using salesforce dx it shows the timed out error and when I use sfdx force:org:list in CLI it shows all org's connected ...
0
votes
0answers
61 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. ...
0
votes
0answers
32 views

Deployment of apex code to production

I am trying to get rid of some old apex code in a Salesforce org. There are few test classes on production org which are broken because 1) they were written a few years back with old API version or 2) ...
0
votes
2answers
24 views

How do I see limits associated to REQUEST_LIMIT_EXCEEDED: TotalRequests Limit exceeded

After using sfdx force:source:deploy a good amount today to deploy to production (see how to here), I hit the following error: ERROR running force:source:deploy: REQUEST_LIMIT_EXCEEDED: ...
0
votes
0answers
12 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/...
0
votes
0answers
26 views

Deployment Error for all Objects : “Cannot create a new component with the namespace <objectname>”

I am trying to deploy few files to a Salesforce Sandbox org from my Bitbucket repository master branch via Bitbucket pipeline for the first time. But getting a specific error for all the objects meta....
0
votes
0answers
21 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 ...
0
votes
1answer
9 views

Deploying report <timeFrameFilter> <dateColumn> <interval> “Last 2 Days” - not possible in UI or Metadata API?

Before I chalked this very simple reporting request to not being possible, I thought would check on here. I'd like to have a running report pull in a date field where the value could be the "Last 2 ...
0
votes
2answers
35 views

Is it possible to deploy modified changes via VSCode to the sandbox like in scratch org?

In VSCode I can only deploy changes from my project to the scratch org. Is it possible to do the same when VSCode is connected to the standard sandbox?
0
votes
1answer
23 views

Is there any way to display list of Metadata Componants which are Last Modified or Created recently?

My requirement is that I need to display org metadata components (like Objects, Apex Classes, VF Pages, Record Types, Profiles, Permission Sets, Custom Object, Custom Fields, Custom Label ...etc) on ...
0
votes
0answers
13 views

Unable to deploy platform events from one sandbox to other

Trying to deploy platform events from one sandbox to another using jenkins. On plat form event we have trigger as well. While deploying it is throwing following error even though the package version ...
1
vote
0answers
21 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 ...
0
votes
0answers
25 views

Problem with Salesforce deployment

I'm trying to deploy my code to Dev Org using the following commands: sfdx force:auth:web:login -r https://login.salesforce.com to authorize my Dev Org sfdx force:source:convert --outputdir <...
1
vote
1answer
28 views

Any good use case for force:source:deploy -o?

According to Develop Against Any Org, there's a new (at least new to me since Summer '19) option -o for the sfdx deploy command as follows: sfdx force:source:deploy -o Documentation says: ...
0
votes
2answers
18 views

Trying to force:source:deploy to a non-Scratch org - “No org configuration found for name”

Now I want to source:force:deploy to a Developer org (not a scratch org) I do: sfdx force:source:deploy -u mydevorg.user@xx.com ... and I get the error below. What am I missing here? ERROR ...
1
vote
2answers
68 views

Error while deployment through SFDX

I took the complete org backup from one org and trying to deploy it in another org. While deployment through the SFDX, I am getting the following errors: Invalid fullName, must end in a custom suffix ...
6
votes
2answers
88 views

Suggestions for how to track down the source of this force:source:push error?

I'm getting this error having pulled the current version of our source when trying to push it into a scratch org: The component is being referenced by Action Override : 04uf00000009P95 from: $ ...
4
votes
1answer
54 views

Does Apex Engine maintains old version of apex code for Async Apex?

Suppose I have a batch running that is processing millions of records(that would take hours), then I deploy a code during execution that changes the batch logic, will remaining record get processed ...
0
votes
1answer
7 views

can't make deployment because of .cmp error

I'm trying to deploy a custom lightning component into my salesforce org but it's giving me the following error: CPQ_CPQOrderCICMP.cmp c.CPQ_CPQOrderCICMP: org.auraframework.util.json....
1
vote
1answer
112 views

SFDX cli force:source vs force:mdapi? [closed]

I have been reading some mixed comments about the difference between force:source vs force:mdapi. So far my assumption is that force:source is used for scratch org and force:mdapi is used for sandbox/...
0
votes
1answer
26 views

How to move newly added picklist value from sandbox to test system

I have made changed in the global picklist. Now, I wanted to move the changes from one sandbox to another sandbox. How to move newly added picklist value from sandbox to test system.
1
vote
1answer
23 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 ...
0
votes
2answers
35 views

Can I reuse/ edit the Batch Apex code on sandbox that was deployed into production environment-

I have a batch apex class that deletes all the records from a custom object and it is deployed from sandbox to production. Now I have to write an other batch apex to delete all records from other ...
0
votes
0answers
3 views

Show Analytics tab in lightning app menu for a particular profile

What would be the metadata name for showing Analytics tab to a certain profile. Need to deploy the changes using ANT. Any help/pointers are appretiable.
0
votes
1answer
52 views

Can I retrieve an Email Alert via the Ant Migration Tool?

I wanted to retrieve an Email Alert via the Ant Migration Tool. However, I could not find it in a Metadata Types Reference. I suppose it's hidden under some other name like many other SF Metadata ...
0
votes
0answers
36 views

What is the name for the following to be used in XML. Pushing the following using ANT migration tool

I am using ANT to deploy the Profiles to next sandbox but I am not able to find the name to be used for following in the xml file. The following are available in Profile ->System Permissions Access ...
0
votes
2answers
35 views

Test Class is sucssess in Sandbox but failed on deployment

I want to know, what can cause a test class to run in a sandbox and PASS all the tests, but on deployment to another sandbox, its failed during the deployment? all of my data is created in the test ...
0
votes
2answers
304 views

runAs() behavior in prod vs sandbox

Recently we came across this strange behavior in prod vs sandbox deployment. As part of mock deployment, we deployed the exact same class(es) to a recently created sandbox and everything was fine. Now,...
2
votes
1answer
70 views

DX is throwing an error while deploying to production

After running sfdx force:mdapi:deploy -d directory -u Production, It runs successfully and queue the deployment and gives the below message To check the status of this deployment, run "sfdx force:...
3
votes
1answer
33 views

Deployment of metadata via REST vs old style SOAP deployment

So now it's possible to deploy metadata using Rest approach (vs old-school classic and heavy SOAP one): https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_rest_deploy.htm ...
1
vote
1answer
47 views

StandardValueSet: adding picklist values to case status field

I added picklist values to case status field by creating CaseStatus.StandardValueSet <?xml version="1.0" encoding="UTF-8"?> <StandardValueSet xmlns="http://soap.sforce.com/2006/04/metadata"...
0
votes
0answers
20 views

How to Deploy CustomApplication to Sandbox in Lightning

I have Created a custom application with Homepage having Reports chart Lighnting component Which is displaying in dev, now I need to deploy this customapp.app without lightning component to other ...
0
votes
0answers
21 views

java.io.IOException: The system cannot find the path specified

I am unable to retrieve Code Using Ant Migration Tool. By using Command: ant retrieve code, Getting an Error As java.io.IOException: The system cannot find the path specified error details ...
4
votes
1answer
62 views

Apex Class Deployment: duplicate value found: <unknown> duplicates value on record with id: <unknown>

As many others have already done, I am providing yet another cautionary tale of the elusive, misleading, and downright frustrating, magical error: duplicate value found: <unknown> duplicates ...
2
votes
1answer
43 views

Deployment with Workbench - Failure due to special character in process name

I am deploying the components using workbench. One of the components is 'case' object that has got business process named "Complaints & Enquiries". When trying to deploy the package, getting below ...
0
votes
0answers
21 views

VS Code Deployment not showing detailed error [duplicate]

I'm using visual studio code to develop an aura component. Usually when i deploy a source to my org the error i was receiving was the same i can find in the "Deployment Status" Section on salesforce, ...
1
vote
2answers
35 views

How are you used to deploying custom labels with their translations?

Do you have some custom app to perform this action? Because using change sets it's quite crazy when you need to release e.g. 20 labels and your org already has thousands of others. I didn't find any ...
2
votes
1answer
221 views

Run specific apex tests during “sfdx force:source:deploy”

Now after summer 19, sfdx force:source:deploy allows us to push source format meta-data into static orgs and production. Commands are introduced here However by check the help of sfdx force:source:...
0
votes
1answer
23 views

DUPLICATE_VALUE, This price definition already exists in this price book: [] while deploying to production

please see starred(***) part in both method, I am getting error while deploying in production not in sandbox @isTest public class DuplicateProduct_Test { public static testMethod void callMeth() ...
0
votes
0answers
36 views

Summer 19 Task List Views breaking deployment [duplicate]

After the Summer 19 release our deployment is breaking on newly introduced Task List Views The errors are below: Has anyone else faced this problem? We do not have lightning enabled in any of our ...
4
votes
1answer
468 views

Is anyone getting deployment issues with Task object? New list views from 46 causing errors

When I'm trying to deploy the native Task object to another sandbox, I am getting errors: objects/Task.object (Task.CompletedTasks) -- Error: Value too long for field: Name maximum length is:40 (...
0
votes
1answer
19 views

Ant deployment job fails: Cannot update a field to a Formula from something else

We have two custom fields: Opportunity.PrimaryProduct__c(lookup onto CustomObject__c) Opportunity.ProductFamily__c(lookup onto CustomObject__c) Any of them don't being referenced from any place in ...
0
votes
2answers
49 views

SFDX - force:source:deploy ignoring apiVersion override?

Using the SFDX cli, I exported some metadata from a dev org using the manifest option along with a package.xml file. (The package .xml specified api version 37.0) Now that i'm trying to push the same ...
0
votes
0answers
21 views

Not able to deploy Account search layout

I have added the below tags in the account object but still i am not able to see the account search layout in my target org. I have made the changes to the account search layout in my source org and ...
0
votes
3answers
57 views

How to deploy from a Developer Sandbox into Production

I used a Developer Sandbox that was created on developer.salesforce.com. I've been building on it for a while and recently purchased my own Salesforce instance. I was miffed when I realized the ...