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
52 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
29 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
67 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
23 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
46 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
41 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
76 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
31 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
75 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
17 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
47 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 ?
1
vote
1answer
30 views

Is it possible to delete some queues and record types using changesets in salesforce?

I would like to know if its possible to delete some queues and record types when deploying using change sets in salesforce ? I've also updated the name of a field in the sandbox, how can I deploy this ...
2
votes
2answers
61 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
44 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
42 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
29 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 ...
0
votes
1answer
33 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
36 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
31 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
57 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
111 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 ...
2
votes
2answers
75 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
77 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
61 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
60 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
70 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
70 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
82 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
47 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
65 views

Validation Error in Production

I have been written one trigger it working in Production last 1 year. Now I have created one more trigger on same Object(Company__c).There is no SOQL statements.Now validate my new trigger in ...
2
votes
1answer
50 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
96 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
48 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 ...
9
votes
0answers
126 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
161 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
451 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
794 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
67 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
38 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
89 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
231 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
1answer
70 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: ...
8
votes
2answers
203 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
3answers
56 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
77 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 ...
3
votes
2answers
54 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
114 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
110 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
146 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 ...