The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

295 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
34 views

How to overcome Salesforce System Error when deploying from Apex Code more than 1488 Metadata Records?

Conversion process of custom object records into Custom Metadata records using Metadata.Operations class enqueueDeployment method fails if deployment container contains more than 1488 records. ...
0
votes
0answers
336 views

Winter'19 - Deployment fails with internal server error

At my work, we have the following development journey: we develop in one dev org via Jenkins, we retrieve all the metadata (and I mean all) after retrieving the metadata, Jenkins commit it to ...
0
votes
1answer
503 views

Deployed tabs not visible in production

I deployed some tabs from sandbox to production but they are not visible. I checked profile settings. I see my tabs listed under Tab Settings > Custom Tab Settings. For all three profiles I have they ...
0
votes
0answers
70 views

Error while retrieving Process Builder using workbench

I am ending up with the below error when I try to retrieve Process builder (Flow) using workbench. "Entity of type 'Flow' named 'My_Process' cannot be found" My Package.xml is below: <?xml ...
0
votes
0answers
81 views

Profile component Error when deploying using ANT

im trying to deploy System Admin Standard profile from one Org to another one. We are getting this error: All Component Failures: profiles/Admin.profile -- Error: The user license doesn't allow the ...
0
votes
0answers
443 views

Sales Path deployment issue

A new stage has been added in Opportunity and a new Sales Process is been created for which the stage value available for edit is updated. A sales path is created for a record type where the new ...
0
votes
1answer
593 views

UtilityBar error when deploying

When I attempt to do a deployment I get the following error. I have googled this and I'm not finding much useful information. Let me know if I should paste any other information that will help with ...
0
votes
0answers
240 views

Deployment Error “Summarized field must be on an object that is a detail of object containing summary”

I receive the following error message “Summarized field must be on an object that is a detail of object containing summary” when deploying a roll-up summary field. Created a brand new rollup ...
0
votes
0answers
107 views

How to handle code dependency while deploying code?

Here is a scenario what I have, I have two dev org (development, Testing), one Bitbucket repository and AWS EC2 that contain Jenkins with ANT migration tool. I am not able to move all code in one ...
0
votes
0answers
136 views

Issue with deploying to Master using bitbucket pipelines

Whenever a branch got merged onto master in git, bitbucket automatically pushed/deploys the changes into production. However, this process isn't working anymore as it seems Salesforce has changed ...
0
votes
1answer
38 views

Replace existing managed package vf page by extension package vf page

I have a managed package that is deployed in an org. In the managed package there is a vf page called ShowInformation.vfp that shows some records. Now, I have added new feature in ShowInformation....
0
votes
1answer
172 views

Corrupted Salesforce Objects?

Running into an issue I don't think I've ever seen before. I was recently handed a rather old backup(2+ years) of an old Salesforce org. My initial hope was that I could recreate this org, but im ...
0
votes
0answers
207 views

All test classes failing upon deploying with “run local tests”

error shown: line -1, column -1: Dependent class is invalid and needs recompilation: Class classname: Invalid type: soapSforceCom200604Metadata.DeleteResult Stack Trace: null says this for ...
0
votes
1answer
163 views

java.lang.ClassNotFoundException: com.salesforce.ant.DeployTask$CodeNameElement

I'm trying to implement running a list of tests as per this link Run Specific Tests with Ant Deploy specified by command line or file and passing the list of tests as a parameter ${tests}, but am ...
0
votes
1answer
54 views

Once a package is deployed, are the components immediately visible?

I created a VF page, packed it and deployed to a staging org. I am not able to see my VF page in the staging org. Is this supposed to be this way or I should usually be able to see it immediately? I ...
0
votes
1answer
46 views

Deployment error with Permission sets

I have 2 permission sets and when i try to deploy to another sandbox, i get the below error Error Message Process_Builder_Permission Permission Set 0 0 Permission View All Data depends on ...
0
votes
1answer
19 views

Force.com IDE: I want “work offline” to be default

Every time I switch the source for my project (between sandboxes or between production and a sandbox) it defaults to "Work Online", and I need to remember to switch that or else it starts deploying ...
0
votes
2answers
187 views

Deploying Object fields in Big Object

Does anyone know whether it is possible to deploy custom or standard object into big object without manually writing those entire object fields and permission set file? Thanks in Advance
0
votes
0answers
984 views

Error: Cannot set picklist values when a global picklist is referenced on the field

I'm trying to migrate an Obj with a field that has a Global ValueSet. The Obj, the field, and the global valueset is listed and exported in the metadata but its giving me the next error when I try ...
0
votes
1answer
22 views

Can we make changes after deployment andfield not displaying in production

I have a question, I wrote trigger and a handler class that takes record type field from Opportunity line item and displays on QuoteLineItem record. It worked in sandbox but after deploying I can see ...
0
votes
0answers
294 views

Custom field on managed package

There are 2 custom fields that are created on activity object in managed package. when i am deploying from one sandbox to other using eclipse not able to do it. problem:Only components in the same ...
0
votes
1answer
50 views

How to retrieve and deploy metadata created by inactive users?

When I'm trying to retrieve metadata (using ANT migration tool) that is created by a user that is currently inactive I get errors like below: [sf:retrieve] package.xml - Entity of type 'ListView' ...
0
votes
0answers
819 views

Are all Flow / Process builder 'versions' pushed in a changeset?

Are all versions of a flow/ process builder pushed through in a changeset? I have over 30 versions and I only want the latest, Active one... Do I have to save it as a new flow and use that in the ...
0
votes
0answers
242 views

How to deploy only changes from sandbox to production instead of all data from package.xml file?

I have a jenkins setup with bitbucket and using ANT migration tool how to deploy only changes into production in CI instead of deploying changes manually. Thanks,
0
votes
1answer
550 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?
0
votes
1answer
30 views

Query on Deployment of Record Types

I created one new record type each for 4 custom objects which already have 2 existing record types. While deploying the newly created record types, please suggest what all its related components(page ...
0
votes
1answer
196 views

Deployment error - Unknown user permission

I could not deploy profile that contain ManageConnectedApps permission, via ant migration tool Below is the XML version <userPermissions> <enabled>false</enabled> <name&...
0
votes
1answer
546 views

Deployment, Code Coverage issue

I'm trying to deploy from Sandbox to Production. I am running into Code coverage error. The code coverage in the developer console says 92%. But Change set deployment to production fails with the ...
0
votes
0answers
991 views

BUILD FAILED - Failed to login: Failed to send request to https://test.salesforce.com/services/Soap/u/41.0

I have ant setup running on my system from long time, Suddenly when i tried to run deployment commands in my system all were failing with below error message. deployCode: [sf:deploy] Note: use ...
0
votes
0answers
721 views

Cause :UNKNOWN EXCCEPTION, Invalid Cross Reference ID During ANT undeployCode

I am trying to remove a class from my QAT using destructive.xml ANT script and getting the following exception. Failed to process the request successfully. Cause(UNKNOWN_EXCEPTION): ...
0
votes
1answer
33 views

Old unchanged Test Method Fails during deployment of unrelated code

There are similar questions but they hold no answers and are not specific. Error Message / Test Failed during deployment of unrelated code: Test_Method_Test ThisTest System.ListException: List ...
0
votes
1answer
30 views

Salesforce Production Deployment Test Class Error out

As we all know for production deployment , Test classes will be automatically running , right !!! . We have issue with that . Half of our test classes are failing because of access issues . Things ...
0
votes
3answers
4k views

How to deploy renamed the custom object tab using package.xml?

I renamed a custom object tab name from 'ABC' to 'XYZ' in Customize > Tab Names and Labels > Edit. How can i deploy this change through eclipse using package.xml.
0
votes
0answers
225 views

Unable to delete class from production

For some reason I'm not able to delete specific class from production. Earlier I comment all the code and it was deployed ok from Dev--> QA, and then from Dev --> Prod. Now I want to delete this ...
0
votes
0answers
770 views

Picklist value: Customer in picklist: Type not found

I am trying to deploy picklist values via ANT but I am facing this error for all the new values in the picklist. What do I need to add or remove to be able to deploy change Error message is as ...
0
votes
0answers
36 views

is it possible to allow developer to only validate their changeset than deploy?

We gave full access to developer sandbox for developer. Once the development is done, then we allow them to upload changeset to test sandbox. Then they go with request for deploy which takes 3 day ...
0
votes
1answer
675 views

ant deploy unable to find valid certification path to requested target

I'm connected to a corporate network and getting this error when trying to deploy to salesforce using Ant. Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find ...
0
votes
1answer
68 views

How to get the test coverage lines when deploying into Production

The unit test class got 80% test coverage in sandbox. But when deploying into Prod, the validation says that class get only 63% test coverage - so the deployment failed, as we are using Run Specified ...
0
votes
1answer
70 views

code coverage failure on deploying class when org coverage is above 75%

I have been trying to push my deployment that consist of a Apex class and the test class for it (test class - 95% code coverage). When I attempt to push this I get "Code Coverage Failure - Your code ...
0
votes
0answers
679 views

How to deploy document images from sandbox to production org

Hii I have a requirement to deploy email templates from the sandbox to the production org . The email templates have some images associated with them. In the sandbox org these images are in the ...
0
votes
1answer
56 views

mass field creation & migration

Actually, I already have a salesforce org where I have some custom objects & fields. Now I want to create the same objects and fields(including checkbox, formula fields nearly 100) in another org. ...
0
votes
0answers
293 views

Code coverage for trigger reducing to zero while deploying

I am having a trigger for which I wrote a test class, I run the test class in my sandbox, it is giving 17 percent coverage, but when I deploy it and run specified test classes with the test class, I ...
0
votes
0answers
49 views

Fields not showing up after deployment

I successfully deployed a large amount of fields into production, and none of them appear on the object. I went to edit layout, and none of them appear as options. If this a matter of time, or is ...
0
votes
1answer
374 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 ...
0
votes
2answers
64 views

How do I create a robust deployment process?

Apologies for the broad question, but there's considerable detail to add here in the body that wouldn't fit in the title. I need to craft a deployment approach for our dev sprints that aligns to our ...
0
votes
1answer
104 views

How can I deploy fields on the new ServiceAppointment or ServiceTerritory objects?

Salesforce has baked some standard Field Service Lightning objects into the Winter 17 release, like "ServiceAppointment". But those do not appear to be exposed in the metadata API or in ChangeSets. ...
0
votes
0answers
536 views

System.LimitException: Too many DML rows: 10001

Does anyone know why i get: System.LimitException: Too many DML rows: 10001 Stack Trace: Class.CreateInvoice.: line 36, column 1 Class.CreateInvoiceTestClass.testData: line 57, column 1 @...
0
votes
0answers
809 views

insufficient access rights on cross-reference id while deploying package

I am getting below error while deploying package. Insufficient access rights on cross-reference id. I can't even see line number.so I am not able to find issue. Please suggest
0
votes
0answers
98 views

400 Bad Request in Enterprise org

We have created an application on Salesforce. This application has three components 1. Salesforce cloud, 2. Unified Gateway server and 3. Mobile client for Android To perform end-to-end testing, ...
0
votes
1answer
160 views

Writing Unit Test for Apex Rest Class

I'm trying to deploy my Apex class to my production environment. I was having difficulty writing and organizing my Tests. Here is the Apex Rest Class I created @RestResource(urlMapping='/...