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
14 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
28 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
20 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
33 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
20 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
79 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
70 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
16 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
24 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
14 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
39 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
33 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
33 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
38 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
21 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
28 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
37 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
30 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
27 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
26 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
29 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
30 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
126 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
74 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
46 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
47 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
30 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
55 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
36 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
40 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
32 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
159 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 ...
0
votes
2answers
36 views

Error: Compile Error: Method does not exist or incorrect signature when attempting to use a method from a class?

I'm attempting to build my first test, which is for a trigger I am trying to push to production and running into a large number of issues. The first an foremost being that the trigger at the beginning ...
1
vote
1answer
34 views

Deleting page layouts with Andrew Fawcetts Deployment Tools?

Spinning up new orgs, our team is wasting a significat beef of time simply to cleanup the sample-data you get rolling into new vanilla orgs... Personally I think as partners we should get the option ...
0
votes
1answer
13 views

Difference in Time for “Date/Time Opened” field

I created a case which shows Date/Time Opened field value as "25/3/2015 4:57 PM" after the creation. But when i retrieve its value through query, it shows as "2015-03-25T11:27:29.000+0000" . Why is ...
0
votes
0answers
55 views

Report code coverage from a deployment

Is there a way to get a report of the code coverage during or from a deployment? Currently I have 85% total coverage in my production (cleared all test and ran all test to be sure this is accurate), ...
3
votes
3answers
57 views

How can I deploy everything in one go from dev sandbox to full copy sandbox

I have done quite a bit of development in my dev sandbox and want to now deploy it to a full copy sandbox. Is it possible to deploy everything in one go without having to create change sets for every ...
1
vote
1answer
33 views

How to remove or modify a test class?

The standard test class Milestone1_Email_Handler_Tst is causing problems when I attempt to deploy new code to our production system. System.AssertException: Assertion Failed Stack Trace: ...
1
vote
1answer
17 views

De-activating Case assignment rules when deploying a field-type change

I have a custom field on the Contact object. And I changed it from picklist to multi-select picklist. This was referenced in Assignment rules. When I deployed this to another Sandbox, even though I ...
0
votes
0answers
30 views

Cannot find folder error occures when trying to deploy reports

I am trying to deploy a project from IDE to a new ORG. It worked before (last year). I haven't changed package.xml since then. Could anyone suggest me how to fix this problem? The errors are as ...
1
vote
1answer
69 views

Unable to deploy anything due to System.Exception: Too many SOQL queries

I've read through as many of the threads here on this as I can but haven't been able to find a solution to my specific problem. Over the past week we've been unable to deploy any code that impacts ...
0
votes
1answer
33 views

Simple 3 lines Trigger Test

Below trigger is working successfully in single Account Standard Object. But I need to test the trigger for deployment from Sandbox to Production. trigger ExecutiveOwner on Account(before insert, ...
1
vote
1answer
35 views

The page 'MyCasePage' does not use the standard controller: Case, it uses: null

I am deploying pages,Controllers,Pagelayout to production. My Pagelayout of Case includes inline VF page 'MyCasePage' whose standard controller is Case. But still it gives following error while ...
4
votes
1answer
101 views

Deploy “Rename Tabs and Labels” Object

I have seen a few stories touching on this topic but all I have found so far are for creating packages, not deployment from org to org. My question is simple - is there a way (either through data or ...
2
votes
1answer
19 views

Error encountered during deployment

I am trying to deploy a field. In Source org field type is Picklist and in target org field type is Multipicklist. Why do I get error when I deploy this field. This give some internal salesforce ...
1
vote
0answers
26 views

CanInsertFeedSystemFields?

Trying to deploy to an Org I get this: permissionsets/Our_Administrator.permissionset -- Error: Unknown user permission: CanInsertFeedSystemFields I've figured out that the kind of settings an Org ...
1
vote
1answer
18 views

How to know Extension package is installed or not in Org?

I have installed base managed package in org. Now depends on customers need i will install 'Extension package' on that org. Now I want to know that, Is there any way in apex, that tell me, extension ...
1
vote
2answers
31 views

How to create Extension Package in salesforce

My intend to create a base package with core features that will be used by my other packages. This will allow users to select only the packages that contain the features that they want, rather than ...
0
votes
2answers
26 views

Help needed with Apex trigger

I'm new to Apex coding and have created a trigger that closes an Opportunity (StageName='Closed') whenever a checkbox in the related contract is checked (ApStatus=true). After searching around I came ...
0
votes
0answers
21 views

Deployment through ant tool is failing

Using ant migration tool with destructiveChangesPre.xml. Can I tell it to ignore a missing field and not error out completely. The destructiveChanges works, but if I have a field in the list that has ...