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
12 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
21 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
88 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
81 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
28 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
2answers
42 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
20 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
39 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
19 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
26 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
10 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 ...
-1
votes
0answers
31 views

Deployment failure due to batch not executing in test class

My production deployment keeps failing due to 6 test classes where the logic contains a batch call. Each test class fails due to an assertion inequality. The assertion is comparing an expected ...
0
votes
1answer
28 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
26 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
6 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
38 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
24 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
41 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
34 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
25 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
46 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 ...
10
votes
0answers
54 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
131 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
59 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
94 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: ...
1
vote
1answer
54 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
89 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
52 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
98 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
65 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
45 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
58 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
123 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
18 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
60 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
63 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 ...
0
votes
1answer
55 views

QueryException: List has no rows for assignment in test class

I have included the following code and dependencies (fields) in my change set and I'm encountering the following error: LeadCreateOppTrigger.LeadCreateOppTrigger(), Details: ...
1
vote
2answers
26 views

Success when deploy with Out bound change set, fail with deploy with Force.com IDE or Mavensmate

So this is been going on for a while. Everything works when I use the build in outbound/inbound change set to deploy code form Sandbox to Production. And Fails every time trying to deploy the exact ...
1
vote
3answers
116 views

Deployment Error (Urgent Please)

When I am trying to deploy new custom objects along with list views using eclipse from sandbox to Production.I am getting below error for all new custom objects This View Unique Name already ...
2
votes
2answers
113 views

Salesforce Code Deployment : ANT & Changesets learning via developer edition

I am trying to learn salesforce code deployment process. I believe deploying code via ANT & Changesets are the most common ways to deploy your changes into Production. I would like to get a ...
0
votes
1answer
18 views

Give ANT deployment a label

Is there anyway to specify a name on an ANT deployment, instead of just an 18 character guid? It would be especially helpful with for the new quick-deploy feature.
1
vote
0answers
79 views

Deployment Error - Flow Must Have a Start Item

I am trying to deploy a flow that simply invokes Apex. It works as expected during functional testing. However, when I attempt to deploy it with Eclipse, I get the below error. Deploy Results: File ...
0
votes
1answer
62 views

Problem: Property 'enableBulkApi' not valid in version 30.0

I am having an issue with deploying from developer org to sandBox with using force.com IDE, "Problem: Property 'enableBulkApi' not valid in version 30.0" - Anyone know how to get rid of this?
3
votes
0answers
65 views

Test method related to Content fails during Deployment, but not when run all test is run

I am facing issues in deploying a change set. This contains one page and class. None of the components are new. There is a slight change in these two components. When I deploy, an unrelated class ...
1
vote
2answers
67 views

'entity is deleted' error when deploying to packaging org

Exposition: I have a managed package and I'm trying to apply my recent dev work to the main packaging org. This work includes implementing a new architecture for all my triggers, so I needed to add ...
0
votes
2answers
61 views

How to get last salesforce deployment id

Hi I am wondering how I can get the last deployment id from Salesforce, it seems the object is DeployRequest but it is not API accessible? When I get the id manually, I get the sobject type from the ...
1
vote
1answer
49 views

FLS Security with ant deployments

Is it correct that ANT defaults FLS to visible? Everywhere else I look it seems to suggest that FLS is only set on profiles that you also have in the package, but that's not what I'm seeing. FLS for ...
2
votes
1answer
31 views

How do I migrate from Developer Edition to Contact Manager Edition?

I'm ready to migrate a client from a Developer Edition environment to a Contact Manager environment. In the past, I've always worked with an edition with API access and used Eclipse to do the ...