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

Automation Deployment of Declarative and Imperative Components

This is a slightly large Architectural question. Within Salesforce you have many components. Those components are either declarative or imperative (like APEX and VF). As implementations get larger the ...
0
votes
1answer
16 views

I want to deploy one apex class to Production using changesets,what are the components to be added to Changesets

I want to deploy one apex class to Production using changesets,what are the components to be added to Changesets. Is it require to add one apex class or need to add test class of this as well? This ...
1
vote
2answers
24 views

Add cutom button directly to list view after installing managed package

I have created a managed package in which i need to add custom button after installing my managed package to list view of account and lead..i thought it same like static resource, Remote site settings ...
0
votes
0answers
26 views

Salesforce Deployment Error : Unknown method 'AccountStandardController.updateOtherStuff()'

I didn't get any syntax error.I test the code and it functioning well, however when I submit for deployment.It throw this error: Account_Landing_VF Visualforce Page 0 0 ...
7
votes
5answers
1k views

Do Salesforce developers use Git? How?

Do Salesforce developers use Git? If they do, how does their development cycle look? How do they import projects? Do they do that manually like "create zip - deploy using Ant"? Or maybe there is a ...
0
votes
2answers
26 views

Is there a way to retrieve Metadata dependencies via ANT?

Title pretty much says it. Just curious if there is a way to check for metadata dependencies through the Metadata API. Similar to the feature in change sets.
5
votes
0answers
39 views

Flows/Processes, Version Control and CI

I've started using Processes and Flows and am really excited about these features -- but am still wrapping my mind about how to manage them in Version Control (which I use) and Continuous Integration ...
0
votes
1answer
24 views

Attempting to deploy SF samples to sandbox, blocked by low test coverage

I'm trying to deploy a class to production, and after doing some reading I set up the proper ant things and decided to deploy the sample classes to the sandbox first. I get the following errors: Code ...
0
votes
0answers
26 views

Ant profile deployment - You cannot deploy to a required field Object_Name__c.Field_Name__c

I am getting the below error when I am trying to deploy a new profile: You cannot deploy to a required field Object_Name__c.Field_Name__c. I saw the solution posted here: Force.com IDE profile ...
2
votes
3answers
72 views

Can't get code coverage over 75% when deploying to production [closed]

I have been struggling with this for 5 hours now and can't find a solution. I am trying to push my code from the sandbox to production but when I try to validate the deployment in the production ...
1
vote
1answer
20 views

Deploy Controller Changes - Attempt to de-reference a null object

My developer is on vacation, and I'm trying to deploy changes to a test class (TicketEditedTest) and I keep getting deploy failures: Invoice_Thank_YouController.testInvoice_Thank_YouController ...
4
votes
2answers
70 views

Why is this Apex Class dependent on a bunch of completed Apex Jobs?

I've got a Batch Apex Class like so. (It happens to use the Dan Appleman decoupler pattern, augmented for batch. Thanks Dan!) public with sharing class Dispatcher implements ...
4
votes
1answer
31 views

Proper method to get validation rule into Production

I have created a "Validation rule" on "Opportunity" object in Sandbox based on my requirement. It worked out fine. Now i would like it to move into production. I just copied the validation rule ...
0
votes
1answer
39 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
2
votes
1answer
25 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
24 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
22 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
75 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
34 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
19 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
22 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
69 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
158 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
63 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
132 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
37 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
124 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
148 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
260 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
229 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
104 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
1answer
227 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
82 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
15 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
72 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
69 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
251 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
59 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
40 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
75 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
103 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
55 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
79 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
185 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
660 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
78 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
75 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
75 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
121 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
75 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' ); ...