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
17 views

What is the best practice when creating enterprise custom apps?

We are new to Salesforce and only recently we started actually discussing using Salesforce to support some of our more complex business operations. The use of Salesforce to support these business ...
3
votes
1answer
39 views

Can FinancialForce affect my test coverage? [duplicate]

I have FinancialForce installed in my SF instance, I want to deploy 3 new components from my sandbox environment 100% covered, but always I'm receiving the same deployment error related to ...
7
votes
2answers
49 views

Different symbols when deploying change sets

I am not sure if this is a stupid question but does any one know if there is any significance of these different symbols when deploying change sets:
0
votes
1answer
20 views

how to get Error log file using Salesforce Ant Tool

I am validating my Metadata using Migration tool (Salesforce ant) and checking error logs in the target org during deployment. I want to get the Error log into an external file. How do I achieve this ...
0
votes
1answer
39 views

Change set deployment fails

My org is new and was activated (from a trial org a week ago). Most of the code in production was written when the org was still in Trial. Production test coverage is 79%. I'm trying to deploy a ...
0
votes
0answers
11 views

migration tool deploys all not just changes [duplicate]

When I use a SF:deploy it deploys all the code in the src folder not just the files that have been changed. How can I make it so that it only deploys the files that have changed?
6
votes
1answer
163 views

Why not use unmanaged packages to migrate metadata to production?

Recently we've been developing an unmanaged package to bundle all our ongoing client metadata in one unit. This is useful when attempting to move stuff between sandboxes before the package goes to ...
1
vote
2answers
134 views

Deploy in production without running tests

Salesforce has new parameters for the deploy option. http://releasenotes.docs.salesforce.com/en-us/summer15/release-notes/rn_api_meta_new_calls.htm Can we deploy to production with no run test ...
0
votes
0answers
13 views

SF DeployRequest Details

Is there a way to find out what files where included in a DeployRequest from Eclipse IDE? I'm looking at my Deployment Status page and have a couple deploys in there with the name/id like ...
1
vote
1answer
38 views

ANT Deployment from SVN Repo to Sandbox

I have done deployment using ANT and I don't see much challenge in doing that. I would like know whether it is possible to 1. Retrieve components from Salesforce org hosted on SVN Repo and 2. Deploy ...
2
votes
1answer
31 views

Purge Failed Deployments

Is there any way to purge failed deployments? I've had to do a few from Eclipse ahead of a massive Inbound ChangeSet, and a few failures occurred in the process. There's no particular reason other ...
0
votes
2answers
43 views

Code Migration between sandbox

we have two developer pro sandboxes in our project. in one sandbox i have access to create and upload an outbound change set. But in another i dont have access to inbound or outbound change sets. Can ...
0
votes
1answer
19 views

Build.xml excluding workflows

We are doing build into production through jenkins cloudbees. The initial build is done. Now we have to do another build but there are already many time based workflows open in production which we ...
0
votes
1answer
16 views

Component Failures: …-meta.xml — Error: Must specify both the source file & the metadata file

We are receiving a deployment error saying that: Component Failures: classes/OneOfOurClasses.cls-meta.xml -- Error: Must specify both the source file & the metadata file We are ...
0
votes
0answers
22 views

Use image from Static Resources as App Logo [duplicate]

Is it possible to reference an image in static resources as an App Logo, instead of having to reference a file uploaded to Documents? What I'm trying to do is remove any and all metadata dependencies ...
1
vote
1answer
100 views

Validate build before deployment in CI

We are using Jenkins and git to deploy and maintain code to our continuous integration Salesforce sandbox. We have team members working in different timezones and maintaining green build is a must. ...
4
votes
2answers
105 views

Metadata Deploy - test code coverage report is broken in Metadata API v34.0 (Summer 15)

Let's say I have two classes - AccountController - contains logic - TestCoverage - contains tests for AccountController With API v32.0 it was (and still is) possible to deploy .zip which contains ...
0
votes
2answers
46 views

Do we need to make any changes for Fast deploy?

Do we need to make changes for Salesforce Fast deploy to deploy our code via ANT migration tool ? OR does Salesforce take care of it automatically ? I would like to find some documentation which ...
1
vote
3answers
52 views

Configuring Lightning Components / Apex Controllers for Multiple Environments

I've looked on the Lightning Components Developer’s Guide, and I can't seem to find any documentation on how to configure multiple environments for Lightning Components and Apex Controllers. Ideally, ...
2
votes
0answers
23 views

Button script wasn't updated from the change set

Some time ago I deployed change set to the production - 1 button and 4 validation rules. Now I have noticed that despite deployment status was "Deploy: Succeeded", button code wasn't updated (but ...
1
vote
2answers
47 views

Guide for Deploying Lightning Applications?

Is there an official guide for deploying lightning components/applications? I have a component I want to use in another salesforce organization. So far I've tried creating a managed package (as ...
1
vote
1answer
21 views

failed test classes wont be included in code coverage

I want to know if some of the test classes fails in production then they will included in code coverage or not?. in production org i m getting 74% code coverage. I am unable to deloy a class. can ...
1
vote
0answers
42 views

How to deploy more than one sharing rule in one deployment?

If I keep two criteria based sharing rules in Account.sharingRules XML file, there is a deployment error in start line of the the second rule: sharing operation already in progress. How do we deploy ...
0
votes
0answers
11 views

In field: columns - no CustomField

When trying to deploy to another dev org usi CustomObject__c.Care_Queue_CustomObject : In field: columns - no CustomField named CustomObject__c.Namespace__Location__Latitude__s found The custom ...
0
votes
1answer
30 views

Can I use production org as a testing org? [closed]

What are the pros and cons of using production org as a testing org?
3
votes
0answers
27 views

Moving communites from QA to Production

I have created a site in our QA enviornment with contents, articles with zones, chatter with categories and various permission sets based on profile including branding. I would now like to move this ...
0
votes
0answers
7 views

Deploy Nonprofit pack trial org to production org

I signed up for a trial of the nonprofit pack org, and I customised it. We already have an org in place - is it possible to just deploy my trial org to our production... or will I need to also install ...
1
vote
2answers
59 views

Creating Test Class for VF Page Controller

Having trouble creating a test class for my VF Page Controller I am trying to develop. I have created an inbound change set in my Production, and an outbound in my Sandbox. Now I am at the step of ...
2
votes
1answer
28 views

Deploy Approval Process using Mavensmate

I'm trying to deploy an approval process to another production org using Mavenmate deploy to server. My problem is that the approval process I'm trying to deploy has an assigned user in the approval ...
2
votes
1answer
63 views

I am not able to pass bamboo variables in build.xml . What is missing?

I have declared global variable in bamboo as sf_username and sf_password This is my job (ANT job in bamboo) :- deployCode -Dsfdc.username = ${bamboo.sf_username} -Dsfdc.password = ...
0
votes
2answers
35 views

Managed package development on another org. How? [closed]

I have to work on a pretty large managed package which includes among others 2 apps. I can't work on the org on which the managed package and all the code resides. I have taken everything from there ...
0
votes
1answer
29 views

How do I deploy a GitHub repository with lots of interdependent classes? (“Save error: Dependent class is invalid…”)

I am attempting to deploy this repository into a DE instance using Eclipse and the method described here. When I try to save to server, every class returns an error ("Save error: Dependent class is ...
3
votes
3answers
61 views

Lighting/Aura components: aura attribute default sobjectType gives error in managedpackage

I packaged(managed) sample expense app provided by salesforce in lightning component tutorial. When I tried to access "expenseForm" component from the installation org I got following error ...
11
votes
0answers
69 views

Which kind of issues will be shown at trust.salesforce.com and which issues will be omited?

In the context of a different question, we encountered a deployment performance degradation on EU5 of between 6000% to 10000% using Metadata-API. This means that work (saving a single APEX file to the ...
4
votes
2answers
140 views

EU5 not usable for development: Metadata-API deployment on EU5 unresponsive

Today I encounter a severe performance degradation on Metadata-API deployment speed on EU5. I'm waiting > 950 seconds (sometimes > 1500 seconds), when it usually deploys in < 25 seconds... This is ...
2
votes
1answer
23 views

Permission on Profile on different section between 2 orgs

Issue Assume 2 different orgs: Org A and Org B. Trying to move the metadata from Org A to Org B but having some hickups. Mainly on the profile level where we have the following: Org A: permission ...
0
votes
2answers
90 views

How to delete the apex classes using ant migration tool

I want to delete apex class from ant tool. i configure <target name="undeployCode" depends="proxy"> <sf:deploy username="${sf.username_DEV}" password="${sf.password_DEV}" ...
3
votes
1answer
141 views

How to debug the mysterious “duplicate value found: <unknown> duplicates value on record with id: <unknown>” error

I've just spent several hours trying to fix a deployment that was failing with the following extremely helpful error message: Error: objects/Opportunity.object(2098,13):duplicate value found: ...
2
votes
1answer
62 views

How to check Platform Version in salesforce

I want to check platform version of my org. How can i check that. Actually I'm getting error while deploying change set from sandbox to production like version compatibility check. I need your ...
0
votes
2answers
95 views

Code Coverage Success in Sandbox but Error in Production

I have 100% code coverage when I tested it in the Sandbox. When I have uploaded the same in the production using changesets, I am getting code coverage error as 53%. What might be the issue. This code ...
1
vote
2answers
76 views

Deploying Salesforce custome objects using MavensMate

I do not find much information related to this topic and what I'm looking is the easy way to deploy my custom objects using MavensMate (MM). I have meta-data of my project and I have setup with my MM ...
2
votes
0answers
188 views

Unable to find valid certificate path to requested target

I am trying yo deploy my application from developer org to newly purchased enterprise edition org. For this i am using eclipse to deploy my developer org project to sandbox. But i'm not able to ...
2
votes
1answer
79 views

Does deploying a custom object delete any new fields only added in production?

When i deploy a custom object from the sandbox to production and someone has added a new custom field but they only added it to production. Will the deploy erase that field or ignore it. Feels like ...
2
votes
1answer
48 views

Is there any way to deploy login IP ranges for the profiles?

I have a long list of login IP ranges for all the profiles. Is there any easy way to deploy these. Right now we are doing it manually.
1
vote
1answer
61 views

How to deploy <RecordTypes> metadata?

I am trying to deploy RecordTypes from one sandbox to another. Here's my XML <types> <members>My_Opportunity</members> <name>RecordTypes</name> </types> ...
0
votes
2answers
245 views

Difference between deploy methods : ChangeSets vs migrationTool? [duplicate]

I am new to salesforce and just discovered that there are two options to deploy metadata to production: using ChangeSets using Force.com Migration tool Could somebody please clarify me on which ...
0
votes
1answer
20 views

Without an applicationvisibility entry, how does Salesforce determine the default application?

If I create a new profile by deploying an XML file using Ant, and I neglect to include a default application in the profile's ApplicationVisibility nodes, how does SalesForce determine which existing ...
1
vote
1answer
16 views

How to generate Helper class runtime

Is there a possibility or did anyone tried to generate an Apex helper class based off certain conditions runtime. I am thinking this just for LEARNING prospective. This will also reduce the number of ...
2
votes
2answers
77 views

Deploying an Apex class with a dependency on an older managed package version

I'm working on automating the deployment from source control to a sandbox that will be used by a single developer. I want to be able to deploy to the sandbox so that it mirrors the chosen source ...
2
votes
1answer
76 views

OwnerSharingRules removed from Summer 15 API

As stated here: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_ownersharingrule.htm OwnerSharingRules have been removed from the API. For example, the folder ...