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

5
votes
0answers
24 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
0answers
27 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
33 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
19 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
56 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
22 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
26 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
32 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
35 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
72 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
34 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
43 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
31 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
78 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
37 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
56 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
44 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
41 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
178 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
26 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
44 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
33 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
35 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
39 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
39 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
17 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
56 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
47 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
20 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
31 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
90 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 ...
1
vote
3answers
50 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
1answer
41 views

Unable to deploy Account object to a sandbox

I am getting the following error when deploying from one of the sandbox. All Component Failures: 1. objects/Contact.object -- Error: Read is not a valid sharing model for Contact when Account ...
1
vote
1answer
77 views

ant deploy error - Maximum size of request reached

I used to deploy metadata using ant migration tool successfully but from last night I am getting the below error: John@John:~/mm_workspace/TEST_Project/deploy$ ant deployUnpackaged Buildfile: ...
0
votes
1answer
10 views

Deployment issue with page having variable referencing hierarchy custom setting

When I try to use in VisualForce page apex variable which references hierarchy custom setting, it is possible to save the page but it is not possible to deploy that page to production or another ...
4
votes
1answer
51 views

Deployment status shows me deploying more components than I am, why?

Ok so I'm deploying 3 components (updated Apex class, two updated custom fields) from Developer Pro Sandbox to our Full Copy Sandbox. While doing so, I see the following under Deployment Status: So ...
0
votes
0answers
9 views

Can't deploy new CustomPermission with new reference to it

I thoroughly searched for this topic in multiple places and found nothing. Has anyone else experienced this? I want to create a new Custom Permission and reference it in a formula field on ...
0
votes
1answer
27 views

How to deploy hourly scheduled job and daily scheduled job into UAT and Production

i am scheduling hourly one class by using PortalUserDisableBatch pudbatch = new PortalUserDisableBatch(); String CRON_EXP = '0 0 * * * ?'; System.schedule('Hourly', CRON_EXP, pudbatch ); i need ...
1
vote
1answer
20 views

How do I resolve the deployment error “Permission ModifyAllData depends on permission(s): ManageNetworks”

How do I resolve the deployment error "Permission ModifyAllData depends on permission(s): ManageNetworks" or "Permission AuthorApex depends on permission(s): ManageNetworks"?
1
vote
2answers
30 views

User profile deployment questions

I'm trying to deploy a bunch of changes to user profiles from one devpro sandbox to a full copy sandbox, then to production. However, I am getting the following error due to a few master-detail ...
4
votes
1answer
34 views

Test class completes successfully in production AND newly refreshed sandbox, but fails on deployment

We have some custom code from before I joined the company that is showing some unusual behavior. Code was somehow successfully deployed to production (before my time), and the test code passes ...
0
votes
1answer
28 views

Simplest way to deploy including configurations of managed package items

I started created a changeset and discovered that it seems they can't contain changes made on managed packages (screen layouts, validation rules, pick list items...). What's the simplest alternative ...
0
votes
1answer
31 views

Easiest way to get a reasonable code coverage estimate (w/i 10%)

My estimated overall code coverage is 56%. However, all of my files other than my 2 unit test classes are touched by my tests, and the lowest percentage covered of any of those is 84%. I would like ...