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

0
votes
2answers
21 views

Deployment Issue

While i am uploading the objects via Changesets in production it showing an error is This change set is not currently available. Recently uploaded change sets may take up to 30 minutes to be ...
3
votes
0answers
28 views

Did something change with deploy run test behavior with sandboxes in Spring '14?

Starting a few days ago my apex class compilation time suddenly ground to a halt. After going into the setup deployment monitoring I was at first delighted with the new deployment monitoring UI, then ...
0
votes
1answer
40 views

Cannot deploy custom fields due to Test Coverage requirements

I'm trying to deploy a change set to Prod but I get the following error: Average test coverage across all Apex Classes and Triggers is 67%, at least 75% test coverage is required. My change set only ...
4
votes
2answers
419 views

My trigger is 100% covered, but I am not sure if I should deploy to production

I am new to apex and salesforce developing. I have written an apex trigger and a test class. The trigger compiles and I tested in my sandbox to make sure it does what I want. My test class runs ...
5
votes
1answer
99 views

Apex CPU time limit exceeded

I just got this error when trying to deploy new components to Prod. It's happening on Apex test classes that already exist in Prod, not new ones in my change set. I understand that this error relates ...
1
vote
1answer
43 views

What is the actual content of a changeset?

What does a changset actually hold when it is created? Is it a list of components to upload so that when it is uploaded, the current version of components in the changeset are uploaded or does it ...
3
votes
2answers
23 views

Deployment Error “The summarized field in not deterministic”

Question Has anyone gotten the following error when deploying roll-up summary fields and knows how to resolve? objects/My_Object__c.object (My_Object_c.Rollup_c) -- Error: The summarized field ...
4
votes
1answer
47 views

Tooling API in production org

I am already aware that you cannot directly create Apex classes in production orgs (have to use either the Force.com IDE or changesets). But if I include test cases can the Tooling API do it? Also ...
3
votes
3answers
55 views

Invalid parameter type error while deploying custom profile

We tried to deploy a custom profile from one dev org to another org using changeset. It fails on validation on the destination org and we get an error message invalid parameter type. Would any body ...
2
votes
0answers
44 views

What is the quickest way to see, document, and reproduce modification to the default build?

Long-term I would like to setup a more robust method of monitoring changes, doing backups, and doing incremental and complete recoveries & rollbacks - though right now, I am just looking to know: ...
7
votes
1answer
166 views

Are full backups & recoveries not possible?

While it appears that Salesforce supports backups of data & configs, it also appears that a complete backup is not possible. Have I misunderstood the meaning of this page? For example, does this ...
2
votes
2answers
33 views

Deployment from Production(Enterprise) to Production(Enterprise)..?

Hi i have one enterprise org where there is a lot of work including VF pages,triggers,reports etc...I want to deploy all the work to a new Production(Enterprise) instance..How can i achieve this...I ...
2
votes
1answer
40 views

Run some script on deployment

I know there is postinstallation script for when deploying package but can i do something similar when deploying app with force.com migration script? Basically there are custom object data which need ...
4
votes
0answers
32 views

How to query metadata changes in a sandbox based on dates

We are trying to compare our development sandboxes now which have become totally out of sync because of changes done by independant teams for a few releases. Do you guys know of any free apex code ...
1
vote
2answers
68 views

Apex test is slow during deployment, but fast any other time

I have a test that takes about 5 minutes to run during production deployment. If you just click "run test" or run it from execute anonymous, it's not slow at all (a few seconds). Is there a way to ...
2
votes
1answer
42 views

By pass lookup filter with apex code

I have to deploy some classes in production, but in test class, in which i am creating dummy records, i am getting error with lookup filters Account has two lookup from contact i.e. "account MAnager" ...
0
votes
1answer
53 views

“CreateWorkBadgeDefinition” error using Ant deploy on a profile?

When using the Ant deploy tools to deploy the System Administrator (Admin) profile into a Spring '14 sandbox, I get this error reported: Error: profiles/Admin.profile(Admin):The user license ...
1
vote
2answers
93 views

Force.com Migration Tool - How to correctly retrieve & deploy

I'm looking for some guidance on how this tool is widely used. We have the following scenario: Source: 1x Production org, with 1 (or more) managed packages installed. Targets: Multiple Production ...
0
votes
1answer
48 views

Validation Rule Causing Deployment Issue

I'm trying to deploy a few items to production. I tested all my classes/triggers and they are all at 90% or higher. Unfortunately, there is a class a consultant had written before I was here that is ...
1
vote
1answer
45 views

Developer console Profile object query not executed

I have query that will execute the Profile object Query in Developer console. My query : SELECT Id,Name,UserType,objectPermissions,userPermissions from Profile Error: SELECT ...
3
votes
2answers
181 views

Force.com IDE deployment alternative

When you deploy your code using the Force.com IDE you get the following overview: Using Mavensmate, I don't get this overview when deploying: Is there a way to get a Force.com IDE-like overview ...
1
vote
1answer
24 views

What features in profile setting are manually migrated and which ones are automated to production

We are planning to migrate around 30 profiles to production from our development sandbox. We want to know on profile settings like tabs, custom object permission, general administrative settings ...
2
votes
0answers
69 views

Deploy packages with MavensMate

It looks like the metadata MavensMate suggests deploying is based off of the current package.xml. The way I worked in the past was using a second package.xml, stored in some different directory, ...
2
votes
1answer
57 views

System.DMLException attempting to validate incoming changeset

I'm attempting to validate an incoming changeset, and SFDC tells me that my Unit Test bails with the following error: Failure Message: "System.DmlException: Insert failed. First exception on row 0; ...
4
votes
1answer
80 views

Force.com (Custom Application) Licensing?

I am not sure this is right forum to ask information about the licensing option & others. For a small organization where there are only 3-5 users, I am planning to develop an custom application. ...
1
vote
2answers
47 views

“Uninstalling Package Failed” error persists in Production Org

Problem in uninstalling package from production Org. Error Code : Error Number: 1418461257-25979 (2077356007) Solved all Dependency Errors while uninstalling package that were received .But still ...
1
vote
0answers
29 views

namespace problem migrating Reports & Dashboard

I have a problem moving Reports & Dashboard from my Dev Org to Production Org which has "Different Namespace". If deployed with eclipse it reports Error of namespace. Source Org:- DEV Org ...
2
votes
2answers
48 views

Install notification

I'm developing a canvas app which uses an iframe. I'm handling subscription and billing on my side, so I need to maintain a list of organization IDs who have the application installed, and their ...
2
votes
1answer
83 views

Error: The method is referenced by Visualforce Page in salesforce.com. Remove the usage and try again

When a controller has a method or a variable that is referenced in the VF page, and you remove or rename that element in both - page and controller, then when you click save, you get an error saying ...
0
votes
2answers
119 views

Force.com IDE vs Force.com Migration Tool vs Change sets

I am very familiar in using ANT Migration tool for deployments. Can someone briefly explain different real time scenarios when we should go for Force.com IDE vs Change Sets.
3
votes
1answer
37 views

Migrating custom objects from dev org to production org

I created an app with some custom objects in my free dev environment, and I want most of it to get migrated to our brand new production environment. Unfortunately there is a lot of experimental ...
0
votes
2answers
59 views

Unexpected Test Failures while deploying in Production

Is there any connection between allowable data storage and test class failures while deploying a change set in production? I tried to deploy a change set which is creating some test data. It failed ...
0
votes
2answers
81 views

Login credentials doubt

Recently I shifted my Android code (using this as base) to support app dynamics sandbox account. I am able to login, fetch data from that account through https://test.salesforce.com. There is a ...
0
votes
1answer
82 views

How to deploy from sandbox to production in salesforce?

We are currently working in a sandbox in salesforce . Now i want to know how i can switch to production environment in salesforce ?
2
votes
1answer
54 views

autonumber field is not displaying on page layout for me

I have a custom object with many fields that I have added. They all work fine etc. but I have created an AutoNumber field which does not appear once I create a new record. It appears in the ...
5
votes
2answers
93 views

Is there a way to view recently changed Apex Classes in Salesforce?

I can see multiple use cases for this, but today's case is: When deploying, we have to choose classes to add to the change set. It would make it much easier to know what classes to add if we could ...
0
votes
0answers
116 views

Deploying a class to production fails because of code coverage

I've got a class on my Sandbox plus a test class that tests it. The test covers 85% af the class code and test execution runs fine on the sandbox. I've already deployed the test class to to ...
1
vote
2answers
74 views

Removing a class from Production

I'm having a peculiar problem with a class in production. The class is this one: https://github.com/907pine/NWHRN-sandbox/blob/master/src/classes/TrialCustomerPortalHomePageController.cls and I have ...
1
vote
2answers
448 views

Apex class has Batchable or Future jobs pending or in progress

I am deploying to production using the Ant migration tool. Every class is reporting the error: Apex class has Batchable or Future jobs pending or in progress Even classes such as StringUtils and such ...
3
votes
1answer
66 views

Exclude files on ant deployment

What if I want all the classes EXCEPT a few? For example, if I have a scheduled batch that definitely won't deploy, how would I say "not that" but not have to manually name all the other ones? ...
3
votes
1answer
72 views

ANT Deployment for SFDC

Is there a way to ignore package.xml while deploying changes via ANT in Salesforce.? We only want the ANT engine to consider the folder structure mentioned within the root directory of the deploy ...
12
votes
4answers
896 views

best way to delete unused apex classes and triggers in production [duplicate]

We currently have around 20 apex classes and 5 triggers which are not used in our production org. We want to delete them in our production instance. We dont have ant scripts ready yet to be used for ...
0
votes
0answers
29 views

Deployment error: Apex class has Batchable or Future jobs pending or in progress; Schedulable class has jobs pending or in progress [duplicate]

I'm getting this error when trying to deploy code using ANT to one for my sandboxes: "Apex class has Batchable or Future jobs pending or in progress; Schedulable class has jobs pending or in ...
5
votes
1answer
75 views

Deploying Trigger & Test Class to live generates failure not reproducable on Sandbox

I'm wondering if anybody can help me out here please. Problem: I have updated a trigger (on Lead object) with some new code and I also updated its test class. Running the test class in my Sandbox is ...
4
votes
1answer
62 views

Managed package version mismatch - IDE deployment

I am trying to deploy a set of classes from one org to another, both orgs have a common managed package installed in them, but in different versions. This mismatch in versions is preventing the ...
6
votes
1answer
92 views

Characters being replaced when deploying Apex classes

I just deployed a couple classes from my sandbox to production, and a specifically formatted character was replaced within my code. Dashes that are immediately surrounded by spaces in my sandbox class ...
2
votes
0answers
54 views

Error while deploying to a sandbox using ant

I am trying to deploy config data from one sandbox to another sandbox using ant. I am getting 2 errors always. Error: Could not resolve list view column: IDEA.IDEA_THEME (line 78, column 16) We dont ...
6
votes
1answer
103 views

Deploying Metadata to sandboxes using ant build

We are using subversion to commit all our meta data changes from our sandboxes. When we deploy to a testing environment, we want to get only the changed meta data which we can get from svn and ...
2
votes
2answers
158 views

Correct sequence to setup ant to deploy salesforce metadata

We are in the process of setting up ant to deploy our configuration changes across our environments to production. We are using changesets at the moment. We use standard objects, custom objects, ...
2
votes
1answer
79 views

Error in deploying letterheads using ant

I tried to deploy letterheads metadata file to a development sandbox using ant build sf deploy. The deploy task fails with an error message stating that no Document named ...