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
1answer
31 views

Approval process from one dev org to another dev org

Can anyone tell me how to deploy approval process from one dev org to another dev org? Please its urgent.. Any suggestions would be greatly appreciated Thanks in advance Karthick
1
vote
1answer
21 views

Steps for completely resetting production environment

The only answer I find seems to be the ant undeploy tool, but this requires an xml specifying the changes, + we've never worked with it before. Is there any way to completely reset a production org ...
1
vote
1answer
17 views

Why am I getting an 'Entity is Deleted' error for all apex classes when attempting to deploy to an org with a managed package?

When attempting to deploy to an org that has a managed package using the ANT migration tool, I am seeing the following error for all classes in the org: Error: classes/XxxClass.cls(XxxClass):entity ...
2
votes
1answer
16 views

How to use FinancialForce deployment tools?

FinancialForce offer a deployment tool at https://github.com/financialforcedev/df12-deployment-tools But how can i use that? i can not find any articles about using it, Please help.
0
votes
2answers
49 views

Deploy custom fields from one Org to another Org

I only want to deploy custom fields of an object from One Org to another Org.Both Orgs are not related to each other.This Object has both managed package fields and some custom fields.I only want the ...
2
votes
0answers
26 views

Run All Test Classes ( My Namespace vs All Namespace)

My Namespace : Only local classes that aren't from managed packages appear in the list All Namespace: All the classes in the organization appear, whether or not they are from a managed package. I ...
0
votes
0answers
12 views

Can I retrieve or deploy profile settings for managed package components other than objects and fields?

This is a great question and answer that shows how to retrieve profile settings for managed package components, but the answers only seem to apply to objects and fields. Deploying Profiles / ...
3
votes
0answers
17 views

Does 'Deploy with Active Jobs' work for managed packages?

So there's this new feature: 'Deploy with Active Jobs' It lets you deploy batches and schedules even if they're running. This is great for changesets. Does it work with managed packages?
1
vote
2answers
48 views

Query Salesforce to find any records created in past “X” hours

My organization does monthly deployments from our sandbox to production that include bug fixes and enhancements. When we deploy to production, we do testing to make sure that everything is working as ...
1
vote
2answers
135 views

Deployment of a trigger failed due to error, “average test coverage for all Apex Classes and Triggers is 38%…”

Trigger and test class works in Sandbox with 100% code coverage (trigger code listed below) I have checked the following: 1.My code coverage in Production is 98% and Sandbox is 94% according to ...
1
vote
1answer
53 views

Changeset Deployment: Do I need to add custom fields separately?

I am deploying 3 custom objects from one sandbox environment [Sandbox 1] to another [Sandbox 2]. After having validated & deployed the custom objects on [Sandbox 2], I noticed that the standard ...
1
vote
1answer
82 views

Your Organisations code coverage is 0% - When deploying to a seasoned Org

Anyone else seeing this? I am deploying to a seasoned org, with 87% coverage and all the errors relate to existing items. When deploying even just a single item. Essentially every test fails with the ...
0
votes
1answer
34 views

Do I need to add layout to a custom field in change set?

I have created a custom field in my sandbox, with different permissions and views for different profiles, on the page layout (Opportunity). When building the change set, I added the custom field, but ...
1
vote
1answer
78 views

Turn off Trigger and Classes - Code coverage error below 75%

I need your help on this one. Need: We have several triggers that use classes and we need to disable or deactivate both the triggers and classes in production because they are causing issues with ...
0
votes
0answers
106 views

Apex Test Failures - System.LimitException: Apex CPU time limit exceeded

System.LimitException: Apex CPU time limit exceeded Stack Trace: (System Code) Class.OpportunityTriggerHandler.OnAfterInsert: line 63, column 1 Trigger.OpportunityTriggers: line 30, column 1 ...
10
votes
5answers
254 views

2-10x Slower Deployments with Winter '15?

We've recently had deployments spike in several of the client orgs we work with. The worst example jumping from 45 minutes to upwards of 7 hours. A current deployment is 3 hours in and has only ...
2
votes
2answers
174 views

“FeedItem-Feed Item Layout” preventing profile deployment

Googled my problem and found the exact problem but with no answers. After the upgrade to Winter '15 / Package.xml to 30.0, there are errors on my profiles Error: ...
1
vote
2answers
82 views

How to add a new target organization for outbound change set?

Is it possible to change or add target organization on salesforce sandbox?
1
vote
0answers
136 views

Required field is missing ChartSummaries

I am getting above error when I was trying to deploy reports with eclipse. And, when i tired with chagneset , it didn't get uploaded to other org and have got an email from Salesforce to raise a ...
0
votes
1answer
63 views

MyVisualForcePage does not exist or is not a valid override for action View. - Deployment Error

tried to deploy a a change set from 1 sandbox to another and it gives the error "MyVisualForcePage does not exist or is not a valid override for action View" . I included the VF page so I'm ...
0
votes
0answers
13 views

Updation of Forecast Twice ,once on opportunity value and second time at forecast values

I get stuck in a scenario. i am updating forecast on basis of some opportunity field values and then again i am updating forecast on some forecast field value for same opportunity.i have tried to ...
3
votes
2answers
63 views

How to manage packages and extension packages

I want to deploy an application on the AppExchange and I need some explanations. My application contains several editions (Edition 1, 2, 3 and 4) with differents features. Superior edition contains ...
4
votes
0answers
62 views

How to tell if a field is not supported in metadata api?

I have the Order Status field in the Order.object file defined simply as follows: <fields> <fullName>Status</fullName> <picklist> <picklistValues> ...
3
votes
2answers
185 views

Salesforce deployment best practices

I am very new to Salesforce .In salesforce , there is no clear strategy for release management and I am asking the wider Salesforce community to help me to see if the proposed release plan is OK. The ...
1
vote
1answer
50 views

How to deploy the customistaion from one environment?ChangeSet and Salesforce IDE

I am new to salesforce as support developer, The vendors working on it uses ChangeSet to deploy the solution from one environment to another one. Creating changeset is ery manual and need a long time ...
1
vote
1answer
37 views

What is release model in salesforce if changeset can't be rolled back

I am new to salesforce. As documented in salesforce, What is release model in salesforece if changset can't be rolled back? Can we backup the data and the customisation by myself and rolled back my ...
4
votes
2answers
66 views

Why can I not deploy to a sandbox without test coverage?

I have a directory of apex classes, checked into version control, that I need to be able to programatically delete and then re-deploy into a Salesforce Sandbox. I do not want to deploy to production, ...
3
votes
2answers
85 views

Force.com IDE is deploying project to server on startup of eclipse

I have several Force.com projects in the same workspace, which I am doing development on using Eclipse Kepler and the Force.com IDE. Additionally, I am using EGit to version control all the projects. ...
0
votes
0answers
51 views

Deleting a class using ant tool

Deleting a class using ant tool(destructiveChanges.xml) in salesforce giving an UNKNOWN_EXCEPTION. Below is the exception details for the same. Failed to proces the request successfully. ...
1
vote
3answers
67 views

How to change a field type in production instance using a change set?

We need to change a field type (Number to Currency) in the production instance using a change set. And we can't change the field type directly, because there are references of those fields in triggers ...
0
votes
0answers
125 views

<unknown> duplicates value on record with id: <unknown>

As part of an ant deployment, to recently cleaned Org, I get the following: All Component Failures: 1. objects/CustomObject__c.object (CustomObject__c.SomeQueue) -- Warning: Added entity: ...
1
vote
1answer
463 views

Cannot set sharingModel to ControlledByParent on a CustomObject without a MasterDetail relationship field

I am trying to deploy an update to a custom object. The object and classes associated with it work perfectly in my sandbox, but when I try to deploy, I get the following error: Cannot set ...
0
votes
0answers
67 views

SObject deployment: Cannot specify a startsWith attribute for this language

I'm trying to deploy an sobject to a new empty environment. I get the following error: Cannot specify a startsWith attribute for this language Both orgs are in English. Any thoughts? Edit: The ...
2
votes
2answers
61 views

Metadata API, describeMetadata result and PageLayouts

I am trying my hand at building a package.xml dynamically to download everything from an salesforce org, so I started the Novel approach of getting the describeMetadata and iterating through it to ...
0
votes
1answer
58 views

Salesforce Deployment-Users, Profiles and security settings

I primarily use sandbox for the development. A question popped up yesterday, should we use same approach for Users, Profiles and security settings. I meant creating them first in sandbox and migrating ...
0
votes
1answer
94 views

Reports deployment issue

I am deploying reports from one SF org to another. I am receiving following error message while deploying report via force.com IDE (eclipse): Deploy Results: File Name: ...
0
votes
1answer
66 views

Deployment error while deploying

Apex class: public void post(){ HttpRequest req = new HttpRequest(); HttpResponse res = new HttpResponse(); Http http = new Http(); req.setMethod('POST' ); ...
2
votes
3answers
61 views

How to migrate an app from a prod server into a sandbox with Force.com IDE

I need to to do the following: 1) Pull code for components from prod env into Eclipse 2) Remove items that are not needed for deployment 3) Deploy components to sandbox Right now this is what ...
2
votes
0answers
59 views

Deployment error: You are not allowed to modify record types on Idea

I've got an errors during deployment an existing project which has been developed in dev. org to a fresh dev. org: (Idea.InternalIdeasIdeaRecordType) -- Error: You are not allowed to modify ...
0
votes
0answers
59 views

Force.com IDE - Use Stored Passwords to Deploy to Sever - Now that it's Open Source, we could do it

I was very happy to read this great article by @PeterKnolle about the Force.com IDE is now Open Source and the ability to let us extend and improve this tool: ...
2
votes
2answers
49 views

Can destructiveChanges.xml be invoked directly from the Force.com IDE without Ant?

In a couple of old projects we have an Ant target setup to run a deploy with a destructiveChanges.xml file specified. AFAIK the Force.com IDE "Deploy to Server..." takes no notice of this - Ant has ...
0
votes
1answer
50 views

Why do I get Error: Exceeded maximum number of tasks allowed per rule (10) when deploying a workflow via ANT?

I have a workflow rule that are failing to be deployed to a sandbox from a sandbox via ANT. The workflow rule has seven field update tasks associated to it. When I deploy I get this error message. ...
2
votes
3answers
916 views

Invalid Cross Reference Key : Record Type ID value isn't valid for User: 012v00000008f4nuBB

I am having some issues. The below is a code snipet of my test class. The class complies and produces 96% of coverage with no errors. When deploying in production it throws the above error. ...
2
votes
0answers
93 views

'Unable to lock row' error when deploying changesets to PROD

I am facing with this weird problem while running test classes or performinh changeset deployment.Many of our tests involve creating Products and Pricebook Entries. In order to use a product in an ...
3
votes
0answers
49 views

Field permissions removed on upgrading to V31

I have upgraded my Force.com IDE to version 31. This added the below permissions to my existing custom objects <enableBulkApi>true</enableBulkApi> ...
1
vote
0answers
31 views

More “approved” components than were added

So I was using salesforce Change Sets to send a project from sandbox to production. I have control over both so I know what is outgoing and what is incoming. I was sending some fields and a layout (30 ...
1
vote
0answers
96 views

How to deploy a dynamic web project war file in heroku?

I am trying to deploy a war file in Heroku. Using Eclipse IDE, I developed a Dynamic Web Project which having basic HTML + JavaScript + j2ee files and the application is working well in my server ...
1
vote
1answer
78 views

Save process blocked on Sandbox due to ghost scheduled job (which does not exist or is already aborted)

When I try to edit and save some classes on sandbox, I receive an error "Schedulable class has jobs pending or in progress". When I go to schedulable job list, I see empty list (no scheduled job). ...
4
votes
1answer
178 views

how to deploy a report type from sandbox to production

It does not seem to be possible to deploy a report type using the deployment wizard in salesforce. How can I deploy a report type from my sandbox to my production org? I need detailed instructions.
0
votes
1answer
88 views

New Force.com IDE not auto-deploying? (NOT A DUPLICATE QUESTION)

I am having the same issue as here New Force.com IDE (Eclipse) - not auto-deploying?, except the solution chosen isn't working. I have Build Automatically checked and I've also already selected ...