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

2
votes
1answer
16 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
30 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
18 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 ...
2
votes
3answers
29 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 ...
7
votes
0answers
41 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
120 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
42 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
59 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
39 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
80 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
36 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
49 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
53 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
38 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
54 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
60 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
17 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
43 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
44 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
48 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
23 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
93 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
91 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
47 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
30 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
54 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
44 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
0answers
40 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
40 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
24 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 ...
1
vote
1answer
38 views

The approval process references the workflow action FieldUpdate Some_Field_Update, which doesn't exist for the Some_Custom_Object__c object

While trying to deploy an approval process with the Salesforce Migration Tool, I get the following error: The approval process references the workflow action FieldUpdate Some_Field_Update, which ...
1
vote
1answer
73 views

Warning: Added entity: My_Custom_Object__c support on queue: MyQueue

I'm using the Salesforce Migration Tool (Ant) to migrate a custom object. I am using the migration tool to pull the custom object down then deploy it. The package.xml is very simply... just trying to ...
2
votes
1answer
34 views

Deployment Status

I have 1 custom object that I deploy via Change Sets. Result: Deployment Status page, component count = 1 I deploy same custom object via ANT Result: Deployment Status page, component count = 17 ...
1
vote
1answer
39 views

Entity type 'ApexClass' is not available in this organization

During the retrieve step (trying to retrieve the code) while trying to deploy the code in the target environment I get the following error: Retrieve warnings (1): [sf:retrieve] package.xml - ...
1
vote
1answer
29 views

System.NullPointerException Error for new method to be deployed through Change Set

I have added a new method in a class and added test data in the test class . It was PASS when I Ran the test class in Sandbox. However , when I'm trying to deploy in Prod through Change Set, It's ...
0
votes
0answers
32 views

Metadata API Case-Sensitive?

is the Metadata API Case-Sensitive? Scenario: Take for instance the following scenario: a multi-org strategy where all development is being done on a Sandbox related to Org ABC. From that Sandbox ...
0
votes
1answer
51 views

How do I disable debug log when deploying and running tests with ant migration tool?

I am running into an issue where every time I deploy to my org with the ANT tool the output is flooded with unit test debug logs. I have added logType="None" to the build.xml which doesn't help. I ...
1
vote
4answers
206 views

Change sets from sandbox to production

I have moved my custom object(Reservations) with the custom fields(near to 50 fields) created in Sandbox into Production but when i try and create a new res I can use only the standard field of that ...
0
votes
2answers
78 views

Writing Test classes to get code into production

I picked up this trigger code yesterday and it works perfectly: trigger OpportunityAutoUpdate on Opportunity (before insert) { // get the ids of all the accounts Set<Id> accIds=new ...
1
vote
1answer
58 views

Code coverage issues during production deployment — Number of test classes run changes

I am having an issue when loading a page, a controller and its test class to production environment. The deployment always fails due to a lack of code coverage (66% when 75% is the minimum), even ...
1
vote
2answers
54 views

Is it possible to deploy customization from sandbox to production without running Apex code test ?

I have some customization in the sandbox and that customization don't have any Apex code in it. Is it possible to deploy that customization without running Apex run test? The problem is that when i ...
1
vote
1answer
51 views

Deploy ChangeSet but “Added Entity” Errors?

This is very strange to me, as I cannot Google any help on it at all. It appears that this deployment to our "Full" sandbox went fine despite the "errors" listed where it seems to have ADDED ...
0
votes
3answers
80 views

Can we deploy PROFILES alone from one sandbox to another?

Can we deploy only profiles from one sandbox to another? Thanks
1
vote
1answer
47 views

Deploy a simple Tab from sandbox to production

Is it possible to deploy a simple Tab (i.e object created in Sandbox) to production without any class and trigger ? I tried but i am getting the error as follows Your organization's code ...
0
votes
0answers
55 views

mavens mate save to active org

Setting "mm_compile_with_tooling_api" set to false allows me to change and save apex classes on even production org. I found it useful when i have quick small fix to publish but i wanted to ask is it ...
0
votes
1answer
73 views

Exclude running Managed package test classes while deployment

Is it possible to exclude running the managed package test classes and only run my own org's test classes at the time of deployment using ant script?
1
vote
2answers
261 views

invalid parameter value while deploying Permission Sets

I'm trying to validate a Changeset which has 3 new permission sets and they all fail giving this error - invalid parameter value. The permission sets includes read, edit, create permissions to few ...