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
12 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
1answer
45 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 ...
0
votes
1answer
140 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" ...
1
vote
1answer
256 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
116 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 ...
4
votes
2answers
1k views

Environment specific variables

If I have a variable that I want to vary by environment, what is the best way to implement this in Salesforce? For example, in dev I want to point to one external server, in test different one, and ...
0
votes
0answers
39 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
174 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: ...
1
vote
0answers
20 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
290 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....
-1
votes
3answers
611 views

List views of Custom Object not displaying in Changesset for deployment

I am unable to see the List view which i have created for custom object in outbound changeset.Kinldy suggest some solution to deploy the list view. I dnt want to deploy through workbench
1
vote
2answers
1k views

Deploy metadata to different org using VS Code

When I used Illuminated Cloud (IC), I could deploy the metadata in the workspace to another org by selecting the Deploy All Metadata option from the context menu and select a different org to deploy ...
1
vote
0answers
140 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
23 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
67 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?
4
votes
1answer
59 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
27 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
98 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
22 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
32 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
29 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
100 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 ...
6
votes
2answers
99 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: $ ...
0
votes
1answer
25 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
795 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
66 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.
16
votes
3answers
10k views

How to push code to production with Visual Studio Code & DX

I am using Visual Studio Code to develop new functionality. However, after completing the testing in the sandbox, I want to push the code to production. When I choose "SFDX: Deploy Code to org", it ...
1
vote
1answer
50 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
45 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
6 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.
2
votes
1answer
449 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
42 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
324 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,...
0
votes
2answers
135 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 ...
3
votes
1answer
312 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:...
5
votes
2answers
756 views

Need help in migrating communities from Sandbox to production

While trying to deploy my community, I have been facing this error : "The page "/PartnerIncentiveClaim" for Menu Item "New Incentive Claim" must be published, begin with a / character, and consists ...
0
votes
1answer
328 views

what are the steps to retrieve using package.xml?

I have created package.xml file as below. As I want to retrieve using package.xml. Can anyone provide me any step by step instructions to retrieve and deploy using this package.xml file? I could how ...
1
vote
1answer
224 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"...
4
votes
1answer
933 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 (...
3
votes
1answer
41 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 ...
0
votes
0answers
32 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
313 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
115 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
149 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 ...
1
vote
1answer
1k views

Error : Property 'encryption Scheme' not valid in version 43.0

what i need to change here? how to over come this Error? MY package.xml is 44.0
0
votes
0answers
23 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, ...
5
votes
2answers
613 views

Deploy Test Suite?

I just started setting up some Test Suites, and I certainly like the convenience they afford. However, I cannot find a way to deploy them via Change Set. Is it possible to deploy them in any way?
1
vote
2answers
71 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 ...
0
votes
1answer
53 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
41 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 ...

1 2 3 4 5 24