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
0answers
31 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
28 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
26 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
14 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
27 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
39 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
37 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
16 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
16 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 ...
0
votes
1answer
22 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
56 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
57 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
66 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
64 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
77 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
24 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
79 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
51 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
80 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
42 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
96 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
26 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
81 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
67 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
71 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
63 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
36 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
49 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
42 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
33 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
76 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
153 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
118 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
73 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
69 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
119 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
84 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
90 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
56 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
74 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
51 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
113 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
51 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
156 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
190 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
453 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
1k 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
70 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 ...