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
18 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
31 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
27 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
33 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
38 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
30 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
16 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. ...
0
votes
1answer
77 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
43 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
18 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
23 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
46 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
69 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
64 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
68 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
77 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
89 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
109 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
59 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
81 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
53 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
101 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
28 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
104 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
68 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
78 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
77 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
37 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
58 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
46 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
35 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
89 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
172 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
141 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
84 views

Vf Email Template

I want to send an email based on user specified language. For this we created an VF Email Template with custom label: <messaging:emailTemplate subject="15 Days of Salesforce.com Inactivity - ...
4
votes
3answers
78 views

How do I deploy documments from one sandbox to another sandbox?

I am deploying a customer portal. Right now I am going from a development sandbox to a staging sandbox. I have CSS, PDF, PNG, and HTML files in a folder in Documents. In my package.xml I tried: ...
2
votes
1answer
142 views

How can I add a search layout to a change set for a standard object?

Is it possible? I want to deploy a search layout of the standard object Account.
0
votes
1answer
93 views

Knowledge Article Deployment Error

I receive the following errors when I attempt to deploy the metadata for 3 new article types (their objects). I understand the error is due to the compactLayoutAssignment, but I don't know what the ...
2
votes
2answers
96 views

How to deploy “Eclipse Backups” from personal folder to a Sandbox?

As part of Sandbox refresh, we have archived a copy of all files through eclipse force.come IDE environment for a full Sandbox into a local folder.After the Sandbox refresh completed, now we need to ...
2
votes
1answer
59 views

Is there a list of every possible metadata component?

I'm looking for a list of all possible components which can be uploaded or deleted using the API. As far as I know, the top level is: classes ApexClass components ApexComponents objects ...
1
vote
1answer
78 views

Validation Error in Production

I have written one trigger and it's been working in Production for the last year. Now I have created one more trigger on same Object(Company__c). There is no SOQL statements. Now validate my new ...
2
votes
1answer
52 views

Deployment Failure due Opportunity_hd Not Found Error

I received the following error while deployment Opportunity_hd Not Found Error Whats causing this error ?
3
votes
3answers
139 views

Need to hide the column in my pdf?

I have taken a vf page and i that i have to show the related list i have used the below code in my vf page to show this related list in my pdf. i got but action column is there also i want to ...
0
votes
3answers
54 views

Deployment Issue: “change set is not currently available” - How long does it take?

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 ...
11
votes
0answers
167 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
2answers
204 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 ...