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

1
vote
1answer
30 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
23 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
43 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, ...
2
votes
1answer
25 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
33 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
34 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
30 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: ...
0
votes
1answer
43 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
26 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
1answer
28 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
40 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
34 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
38 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
1answer
30 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 ...
1
vote
0answers
37 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
43 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
31 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
26 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. ...
1
vote
3answers
154 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
45 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
40 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
19 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
30 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
54 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). ...
3
votes
1answer
81 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
70 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 ...
1
vote
1answer
69 views

ANT server target

Are the only possible values of SF.SERVERURL in an SF ANT scenario either "login.salesforce.com" or "test.salesforce.com" ? How do you deploy to a production org if "my domain" is used and logins ...
1
vote
0answers
97 views

Ant deployment: Error: Unknown user permission: EditPublicReports

I'm trying to get ant to deploy successfully. My package.xml pulls in profiles such as this: <types> <members>Admin</members> <members>Planning ...
0
votes
1answer
114 views

myUnitTest System.DmlException: Update failed

I have created Apex Class, followed by test class and a vf page related to Apex Class. Now every time I am deploying I am getting the error message. Please suggest and let me know how to make the ...
0
votes
3answers
28 views

Why are no changes shown in deployment

I have deployed my first changeset (from sandbox) to my Org today, I have noticed that almost all components that have been added need to be configured again in my Org. i.e. Tabs settings, Custom ...
1
vote
3answers
136 views

Ant - How to deploy a custom field on an “installed app”

We're using Conga Composer. We've added a custom field to the class "APXTConga4__Conga_Template__c" called "Template_Call_Method__c". It's a picklist. When I deploy to a new org I have to be able to ...
3
votes
1answer
64 views

What determines the permissions for a profile deployed with change sets?

Question For a new profile created in a sandbox and deployed with a change set it'll carry with it the settings for all other metadata in the change set plus all settings that aren't specifically ...
3
votes
1answer
83 views

On deploying 2 triggers in same org, it fails with 'System.LimitException: Too many SOQL queries: 101 ', but on deploying either of the one it works

trigger 1 trigger Order_AIUD_part1 on Order (after insert, after update, after delete) {Map<Id, List<Order>> acctIdOpptyListMap = new Map<Id, List<Order>>(); ...
1
vote
1answer
58 views

Change set with permission set fails due to dependent permissions?

I've built a change set that includes a permission set and it's failing in production saying it needs read access to a parent object. When I look in the source org, the permission set includes read ...
6
votes
2answers
104 views

Is it possible to Remove fields using Change Sets deployment?

I want to Remove some custom fields by using changesets. Is it possible to remove fields using Change Sets deployment? Or is it dono manually in Production env.?
2
votes
1answer
31 views

I want to add list views of Case object to a Change set

I want to add list views of Case object to a Change set,but I didn't find at the time of creating change sets.Is it possible to deploy 'list views' using change sets?
1
vote
1answer
134 views

How to deploy field dependencies using change sets

I want to deploy field dependencies using change sets,How to deploy field dependencies using change sets ?
2
votes
2answers
71 views

Can't upload test class

I accidentally (but successfully) uploaded to production via change set an Apex Trigger, without also uploading a Apex Test Class (doh!). I have the test class created and ready to deploy, but I'm ...
3
votes
3answers
92 views

How to Deploy Fields with their visibilities with change sets?

I've a requirement to deploy the below fields using ChangeSets from Sandbox to Production, I have one field CaseMode__c visible to all profiles except two profiles and another custom field, ...
0
votes
1answer
89 views

Ant Migration: How to deploy 'System Administrator' aka Admin.profile [duplicate]

I'm trying to migrate from one sandbox to a dev org. An issue I'm currently having is that the field level permissions are not enabled for the System Administrator. (This org is only going to be used ...
1
vote
2answers
39 views

How to deploy “Organization Business Hours” from one sandbox to another sandbox

I am deploying some component to a sandbox by using ChangeSet I want to deploy "Organization Business Hours" But unable to find any component to add into ChangeSet. I'd be glad, if someone could ...
1
vote
1answer
73 views

In what order the components in a changeset deployed in a target salesforce org?

When preparing a changeset we usually added components like a custom object, custom fields, pages, trigger, components, etc. I'm wondering if there is any order a changeset would get executed in a ...
0
votes
1answer
28 views

deploying multiple changesets

I have made several deployment changesets. They all relate to the one object, e.g., custom_object__c, i.e., changeset1 deploys field1__c, changeset2 deploys field2__c. Is it possible to validate all ...
1
vote
3answers
49 views

deactivating classes in sandbox

fairly new and have been working out of my sandbox. i have created a couple triggers and i want to deploy to production. problem is my code coverage is only 17%. I have a bunch of testclass in my ...
2
votes
0answers
36 views

Salesforce Deployment techniques for one to many distributions of code

I have developed a connector code to send updates from Salesforce using apex and REST based APIs to my external website. Now i have to deploy the changes. How can i make this code available for all ...
1
vote
2answers
100 views

How can I deploy and remove components in one step with the ant migration tool?

I am familiar with how to use the destructiveChanges.xml file to remove components from my org. But it seems like I have to deploy then delete or vice versa. Is there a way to set up a package so ...
3
votes
2answers
187 views

Ant Deployment To New Dev Org

I'm trying to get my head around the "Force.com Migration Tool". I'm using the Force.com IDE in Eclipse and this has provided me with a package.xml. I have all Metadata Components selected. I've ...
3
votes
2answers
162 views

Deploying My First Apex Trigger

Attempting to deploy the trigger from this answer, on another question of mine. This is the second time I've attempted to deploy some apex, but this time I really would like to get it working. After ...
3
votes
1answer
78 views

Deployment Error on save from Developer Console - recurring error message with new ID

While trying to save in the developer console, I get the following error: Deployment Error I have followed both solutions at: Cancel all deployment from the progress window from: ...
0
votes
2answers
91 views

Visualforce Email Template Not Showing Content

I want to send an email based on user specified language. For this we created an Visualforce Email Template with custom label: <messaging:emailTemplate subject="15 Days of Salesforce.com ...