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.

learn more… | top users | synonyms

3
votes
1answer
28 views

How to roll back a code deployment from sandbox to production

I'm reading about the Salesforce development lifecycle, but I can't figure out whether (and if so, how) Salesforce provides for rolling back a code deployment from a sandbox to production.
0
votes
1answer
39 views

Metadata API Deployment Failure

I am trying to deploy Weblink from Task Object to the Activity object , but it says "no WebLink found ObjectName.FieldName. Here is the Activity.object XML: <?xml version="1.0" ...
0
votes
1answer
13 views

Access settings not transfered in change set of site

I created a site on a sandbox. Set all Guest access and settings for the profile. The qa process is that I publish this to a 2nd sandbox. I can't upload the entire site, so I created the site on the ...
-5
votes
0answers
27 views

salesforce Test Class for Handler [closed]

some one here give me test class for this Handler blow is my handler code
1
vote
1answer
28 views

Migrating Fields added to report types using ANT

Question 1: I have added few fields in custom report types in UAT. Can i move these changes using ANT tool to PRODUCTION? Usually after deployment, we manually add fields in Report Types in ...
0
votes
0answers
35 views

Production is @ 0% code coverage

Issue: The production that I am working on is @ 0% code coverage, the production org does not have even a single line of custom code expect managed package classes.So, I cannot deploy my Code. Steps ...
0
votes
0answers
25 views

Migrate Flows with ANT migration tool

I have a process builder flow which has a 9 versions of it. Wanted to deploy the mentioned flow through ANT migration tool and found that the flow is not deployed properly. The result is: I got 2 ...
0
votes
0answers
25 views

Error when deploying newly created fields

I created 10 new fields on account object. When I tried to deploy them, I am seeing 2 errors: Field 'Field 1' in Account cannot be resolved to a pick list field or a global Picklist. I have not ...
0
votes
2answers
25 views

Deployment Naming Convention

After committing many deployments I have realized that having a stable/structured naming convention would help me better asses the historical commits. Also when there is more then 1 developer on the ...
1
vote
1answer
36 views

Deployment Issue from sandbox to production

All, I am in deep trouble and trying to resolve the issue since last two weeks by my own but seems cannot resolve it. I have my production up and running and all classes which we uploaded from sand ...
3
votes
1answer
113 views

Unable to deploy Changeset

My Dev sandbox seems to be API version 36 and our other sandboxes (and production) are API version 37. This means I cannot deploy changesets into our Dev sandbox. Is there any workaround to do that
1
vote
2answers
87 views

Deployment issue:no custom field named Case.SourceId found

I've trying to deploy profiles from one org to another (org to org migration through AutoRabit) when I got this strange error no custom field named Case.SourceId found. There is no place in these ...
5
votes
1answer
53 views

Deploying >10k Records within Custom Metadata Type Object

I have created a Custom Metadata Type object (lets say I have called it CMDObject__mdt). I have uploaded all of my configuration records into there but there are 12k records and so I cannot deploy ...
2
votes
1answer
55 views

Cannot Deploy Field: Picklist value is too long for the max size of 40

I'm trying to do a deployment on to a sandbox and I'm getting an odd error: Picklist value is too long for the max size of 40 As far as I know this limit has been removed for some time and ...
1
vote
1answer
48 views

How to retrieve translations using Metadata API?

I'm trying to deploy the work that was done via Rename Tabs and Labels and Translation Workbench using Workbench and the Metadata API. According to this answer, my package.xml should look like ...
1
vote
0answers
21 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 ...
2
votes
4answers
59 views

Class coverage is 0%

I am moving my classes from Sandbox to Production. All the classes have a minimum coverage of 80% in my sandbox. The change set contains both my Apex class and the test class. But in my production, ...
0
votes
0answers
29 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 ...
2
votes
0answers
27 views

Dependent class is invalid and needs to be recompiled

I have written a controller extension and am having difficulty deploying it to production. The extension allows a flow embedded in VF to finish on a Case record created during the flow. The error I ...
0
votes
1answer
40 views

Code Coverage error/Salesforce bug?

Alright, so I think this is a Salesforce bug but wanted to check with the community to see if I'm just overlooking something. I'm trying to debug some code in production so I added a couple of ...
0
votes
2answers
39 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 ...
3
votes
2answers
108 views

Deploying community from Sandbox to production

I have created a community in my sandbox and want to deploy it to the production org. Please suggest what is the best way to achieve. Any detailed documentation around steps would be much appreciated! ...
0
votes
1answer
36 views

Dependency deployment using eclipse

I'm trying to deploy a custom object using eclipse but throwing an error since it is missing a custom button which is a visualforce page. Is there a way where I can push the multiple components like ...
2
votes
1answer
49 views

AppExchange application contents appears outside of Referenced Package folder in Eclipse

I have a number of applications installed in my org, and majority of them appear in the folder 'Referenced Packages' in eclipse, except for some. They appear outside of the folder 'Referenced ...
0
votes
1answer
37 views

Error: Cannot create a WorkflowAlert on task or event

I am using the Metadata API to pull workflows from production and push them into a SB environment (sandbox) I get several errors related to workflow creation on the Event/Task object. We understand ...
0
votes
0answers
14 views

How to tell illuminatedcloud plugin for IDEA to auto sync branch switches to sandbox

How can I configure the IlluminatedCloud plugin for APEX dev on IDEA to look for changes during a git branch switch and sync those with my Sandbox connection? Right now when I branch switch some of ...
2
votes
2answers
88 views

'Invalid field BillingAddress for SObject Quote' error when deploying to production

I have some classes that query and use the Quote.BillingAddress aggregate field. This works fine in sandbox (api version 34.0) and running tests against it compile and pass testing. However, when ...
1
vote
1answer
17 views

Any records loss in deployment process

Hi I am doing deployment from sandbox to production using change sets. I adding some existing reports and dashboards to production. In this process any existing records loss in production?
4
votes
1answer
40 views

How to find what files were deployed if package.xml is not available?

How do I find the list of files that were deployed to my sandbox if somebody else deployed components to using Force migration tool and I don't have access to package.xml file that they used. Below ...
0
votes
1answer
23 views

Metadata API - Salesforce Explicitly setting missing tags to false

I recently found out, with drastic consequences, that when deploying custom objects if we miss out some tags like then salesforce automatically assumes ...
0
votes
0answers
24 views

Can packaged unit tests provide code coverage when deploying changesets?

If an Account trigger is deployed with Run All Tests selected, and there is a managed package in the target org containing unit tests on Accounts, will those unit tests provide trigger coverage for ...
0
votes
0answers
30 views

Deploying from Force.com IDE

I'm using the Force.com IDE to deploy. When validating my deployment, it says the deployment was a success. Most of the entries in the log say: Action: UPDATED Result: SUCCESS Problem: n/a ...
0
votes
1answer
38 views

Unable to deploy the code into production

Every time I try to deploy any code from sandbox to production if gives the error failed with two test classes failing within the organization, the test classes are tom_test_status_changes and ...
2
votes
0answers
57 views

Getting “Managed Package Patch Modification” Exception - when nothing has been modified

We are getting the following error when attempting to deploy an UN-changed version of an AuraDefinitionBundle to one of our Patch orgs using the Force.com Migration Tool: UNKNOWN_EXCEPTION: ...
0
votes
0answers
29 views

Recordtypes are not updated in production

When I move from Sandbox to Production, Record types are not updated in Production. In the Object Record types are set to deploy, but when I create a new record it's showing only default value, other ...
0
votes
4answers
48 views

After Deploy standard fields are only displaying?

I completed deploy Sandbox to Production. But in production side only standard fields are displaying. Custom fields are not displaying. Please help me..
0
votes
1answer
42 views

Is there any way to modify Standard profile

I am trying to provide some permissions to objects in Read Only standard profile. Using UI i am not able to change the object permissions. Is there any way i can achieve it?
11
votes
5answers
191 views

How to keep sandbox in sync with changes from other developers?

We are a team of 9 developers, working on a large project and commits are made to master branch all the time. When I needed to work on any new enhancement I used to pull everything from master branch ...
0
votes
1answer
29 views

Permission sets metadata xml - some field permissions missing

In the permission set metadata xml in my eclipse project, fieldPermissions for some of the fields of an object are missing. Please note that: The object is included as a part of the force.com IDE ...
4
votes
1answer
49 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
1answer
37 views

Deploy Apex class from dev to sandbox and then to production org

I have added a visualforce page, an Apex class and a test class in my developer org, I need to deploy these to sandbox org and subsequently to production org. What are the best practices to do that?
0
votes
1answer
46 views

unable to deploy my code in production getting dupecatcher testclass failed

I am trying to deploy a Custome Fields and Apex Classes (including test classes) from our sandbox to production. I used the Outbound Change Set and selected Custom Tab, Custom Object, and all Custom ...
0
votes
0answers
41 views

Problem on Changesets

Error : This organization isn't authorized to upload change sets to other organizations. For authorization, contact the deployment connections administrators on the organizations where you want to ...
2
votes
1answer
47 views

Deployment issue - standard TASK field missing

I am getting the following error when I deploy a page layout containing the related list of open activities. Invalid field:TASK.SUBJECT in related list:RelatedActivityList Now to get the deployment ...
0
votes
0answers
18 views

migrating URL prepopulating button

How do I migrate a custom button that I have created to prepopulate fields on a new record. This is a list view button and it includes hard coded IDs in the URL formula. Will migrating this button ...
1
vote
1answer
68 views

System.AssertException: Assertion Failed: Expected: SQL, Actual: null

I have the following test class LeadTriggerTest which fails with the following error: System.AssertException: Assertion Failed: Expected: SQL, Actual: null ...
1
vote
0answers
57 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, ...
0
votes
0answers
23 views

how to deploy field set to Production contained in managed package after adding some more fields?

Can anyone let us know how to deploy field set to Production contained in managed package after adding some more fields in it as this field set is not visible in components of outbound change set?
0
votes
0answers
34 views

Help with debugging an Apex Trigger that works in Sandbox and not in PROD

I wrote an Apex Trigger and Apex Class (Unit Test) and everything works fine in Sandbox. When I attempt to deploy it to PROD, I get Assertion Failed: Expected: 2, Actual: 0 Now, I suspect maybe ...
3
votes
2answers
96 views

Methods defined as TestMethod do not support Web service callouts (tried other posts, can't get it to work)

I'm receiving the following error during validation/deployment: "Methods defined as TestMethod do not support Web service callouts" My trigger doesn't contain a callout, but from what I've read it's ...