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

Deploying and validating in salesforce?

Instead of validating, If I do deployment straight away, Does the system validate and deploy if I select run all tests ?
1
vote
1answer
10 views

How to resolve a “Error trying to create an Email Action” deployment error

When attempting to deploy a Case.sendEmail quick action we get this error message "Error trying to create an Email Action: Error: MISSING LABEL PropertyFile - val SendEmailDisabled not found in ...
0
votes
1answer
11 views

Obsolete reports error while deploying components through SVN

I'm getting an error that 'Salesforce report is obsolete' while trying to deploy reports through svn. I searched for resolving this error on google and found that this happens because 'Enable reports' ...
0
votes
1answer
22 views

Workbench deploy

I have retrieved the unmanaged package using workbench from one org and have to deploy the that in another org . I'am directly deploying the retrieved package by just logging into another org using ...
0
votes
1answer
34 views
+100

Error: invalid parameter value on EmailMessage-Email Message Layout - Email-to-Case.layout

I know that Error: invalid parameter value is a pretty common component failure, typically with profiles/permission sets - but this post is specifically related to new functionality in Summer '16, and ...
1
vote
1answer
36 views

What does the standard__DataAssessment metadata refer to?

I am trying to deploy some profiles to an environment but it is failing. The error states In field: application - no CustomApplication named standard__DataAssessment found. The metadata entry is ...
3
votes
2answers
34 views

Giving Access to Apex classes Through ANT

we have a new permission set, we want to give the apexclass access to this permission set through ANT. we are able to retrieve the Unmanaged classes but we are not able to retrieve the permissions for ...
1
vote
1answer
24 views

Deploying a Profile with Enabled Apex Class Access & Visualforce Page Access

I need to deploy a profile from dev to staging org, and I was looking for any possible ways to include Apex Class Access & Visualforce Page Access to the ant's changeset (I would like to avoid ...
2
votes
5answers
86 views

System.LimitException: Too many SOQL queries: 101 when deployng

I have faced with the annoing error: System.LimitException: Too many SOQL queries: 101. I checked all that may hits the governor errors but still no luck.... Can you point me where in the code hits ...
0
votes
0answers
25 views

Deployment issue with Process Builder adding namespace

Custom fields used in the process builder are not prefixed with the packaging org namespace. Deployment is done from development org to packaging org using ANT. Do we need to modify package.xml file ...
0
votes
1answer
30 views

Simple trigger generates code coverage error

So I have a trigger and my production org has no Apex Classes. I'm trying to deploy this trigger to production but I'm getting a code coverage error. How can I deploy this trigger to production? ...
1
vote
1answer
15 views

Deploying Fields (new or pre-existing) - Security

I haven't been doing Deployments for over a year now in Salesforce (my role, and company, have significantly changed). However, where I now work, I have developers telling me they CAN NOT DEPLOY ...
5
votes
1answer
90 views

Can anything be done to accelerate Ant deployment times?

We are using Ant (a mix of command line, as well as through Atlassian Bamboo/AWS) to do sandbox-to-sandbox deployments. To narrow the focus of this question, let's assume unit tests are not being run. ...
1
vote
0answers
14 views

Creating a BusinessProcess through Metadata API deployment

I needed to create a new Business Process the other day, and I decided to try using a deployment with the metadata api. After deploying, when I went into the ui, all of the configurations seemed ...
2
votes
1answer
40 views

How to specify managed package test class name during deployment?

I have the following ant task: <target name="deployUnpackagedCheckOnly"> <sf:deploy username="${sf.username.prod}" password="${sf.password.prod}" sessionId="${sf.sessionId}" ...
0
votes
3answers
23 views

Effects on Deployment of Changing the Data Type of Custom Field when Reference by Apex

I have text area field which is limited to 255 char only but the new requirement asks that this field's limit be increased. So I commented out all apex that references to this field, tried changing ...
0
votes
1answer
13 views

Deploying changes to console components

Note: I only have Console in my sandbox, so I may be making some assumptions. When I update a Visualforce page or layout that is used in the console in my sandbox, my sandbox console users only see ...
1
vote
1answer
27 views

Process builder flow getting partially deployed through change set

I've written a process builder flow with some conditions where the action is calling an @invocable Apex class. Now, when I'm moving this through change set to higher environments there the flow is ...
0
votes
0answers
46 views

I get an error trying to deploy when running apex tests

I have 94% coverage. When trying to run apex tests after deploying I get this error. System.StringException: Invalid id: null Stack Trace: External entry point Class.cls_Training_Students....
2
votes
1answer
45 views

Deploying Profiles from one sandbox to another sandbox using ANT Tool or any other tools [duplicate]

I have 5 profiles in my test sandbox. Now i am planning to move these profiles to another sandbox. What is the best tool to deploy these profile. I seen lot of people don't deploy profiles using ...
1
vote
1answer
44 views

“Destination organization must be different from the Project Organization” error message

I have been using Force.com IDE to deploy my code to my org and every now and then I get the error "Destination organization must be different from the Project Organization". I found this article ...
-3
votes
1answer
40 views

How can we deploy package.xml file through apex code into the org? [closed]

I have one question,i created one package.xml file and how can i deploy to org without using any tool like(eclipse,ant,migration,change set), is there any way to deploy through apex code or any back ...
0
votes
1answer
18 views

RecordTypeId is invalid even with SysAdmin profile

Trying to deploy some changes between two sandboxes, I'm facing the following error: System.DmlException: Insert failed. First exception on row 0; first error: INVALID_CROSS_REFERENCE_KEY, ID do ...
1
vote
1answer
37 views

i have to enable Lightning Design System and Account Teams through Apex Code

Currently Lightning Design System and Account Teams can be enabled by Manually But How to enable through apex code, this is our pre-deployment steps as per our requirement so can anyone Please help.
4
votes
2answers
67 views

How to roll back a code deployment from sandbox to production

I'm reading about the Salesforce development lifecycle, but I can't figure out whether (and if so, how) Salesforce provides for rolling back a code deployment from a sandbox to production.
0
votes
1answer
54 views

Metadata API Deployment Failure

I am trying to deploy Weblink from Task Object to the Activity object , but it says "no WebLink found ObjectName.FieldName. Here is the Activity.object XML: <?xml version="1.0" encoding="UTF-8"?&...
0
votes
1answer
15 views

Access settings not transfered in change set of site

I created a site on a sandbox. Set all Guest access and settings for the profile. The qa process is that I publish this to a 2nd sandbox. I can't upload the entire site, so I created the site on the ...
1
vote
1answer
36 views

Migrating Fields added to report types using ANT

Question 1: I have added few fields in custom report types in UAT. Can i move these changes using ANT tool to PRODUCTION? Usually after deployment, we manually add fields in Report Types in ...
0
votes
0answers
40 views

Production is @ 0% code coverage

Issue: The production that I am working on is @ 0% code coverage, the production org does not have even a single line of custom code expect managed package classes.So, I cannot deploy my Code. Steps ...
0
votes
0answers
36 views

Migrate Flows with ANT migration tool

I have a process builder flow which has a 9 versions of it. Wanted to deploy the mentioned flow through ANT migration tool and found that the flow is not deployed properly. The result is: I got 2 ...
0
votes
0answers
34 views

Error when deploying newly created fields

I created 10 new fields on account object. When I tried to deploy them, I am seeing 2 errors: Field 'Field 1' in Account cannot be resolved to a pick list field or a global Picklist. I have not ...
0
votes
2answers
32 views

Deployment Naming Convention

After committing many deployments I have realized that having a stable/structured naming convention would help me better asses the historical commits. Also when there is more then 1 developer on the ...
1
vote
1answer
38 views

Deployment Issue from sandbox to production

All, I am in deep trouble and trying to resolve the issue since last two weeks by my own but seems cannot resolve it. I have my production up and running and all classes which we uploaded from sand ...
3
votes
1answer
120 views

Unable to deploy Changeset

My Dev sandbox seems to be API version 36 and our other sandboxes (and production) are API version 37. This means I cannot deploy changesets into our Dev sandbox. Is there any workaround to do that
1
vote
2answers
106 views

Deployment issue:no custom field named Case.SourceId found

I've trying to deploy profiles from one org to another (org to org migration through AutoRabit) when I got this strange error no custom field named Case.SourceId found. There is no place in these ...
5
votes
1answer
63 views

Deploying >10k Records within Custom Metadata Type Object

I have created a Custom Metadata Type object (lets say I have called it CMDObject__mdt). I have uploaded all of my configuration records into there but there are 12k records and so I cannot deploy ...
2
votes
1answer
85 views

Cannot Deploy Field: Picklist value is too long for the max size of 40

I'm trying to do a deployment on to a sandbox and I'm getting an odd error: Picklist value is too long for the max size of 40 As far as I know this limit has been removed for some time and ...
1
vote
1answer
66 views

How to retrieve translations using Metadata API?

I'm trying to deploy the work that was done via Rename Tabs and Labels and Translation Workbench using Workbench and the Metadata API. According to this answer, my package.xml should look like <...
1
vote
0answers
22 views

Jenkins job for Salesforce deployment printed the -Dsf.password in console

Am using the Jenkins to do the Salesforce deployment. Build is parameterised. When I sun the ANT build for deployment, in console I could see the passport printed by the Salesforce ANT command. Is ...
2
votes
4answers
62 views

Class coverage is 0%

I am moving my classes from Sandbox to Production. All the classes have a minimum coverage of 80% in my sandbox. The change set contains both my Apex class and the test class. But in my production, I'...
0
votes
0answers
32 views

Why 'Methods defined as TestMethod do not support Web service callouts' error?

I have simple trigger that changes value of one field based on value of other field. Following is test class for that Trigger @isTest public class SMS_OPT_OUT_TC{ static testmethod void ...
2
votes
0answers
31 views

Dependent class is invalid and needs to be recompiled

I have written a controller extension and am having difficulty deploying it to production. The extension allows a flow embedded in VF to finish on a Case record created during the flow. The error I ...
0
votes
1answer
42 views

Code Coverage error/Salesforce bug?

Alright, so I think this is a Salesforce bug but wanted to check with the community to see if I'm just overlooking something. I'm trying to debug some code in production so I added a couple of ...
0
votes
2answers
46 views

Migration between unrelated orgs

Hi I will have to migrate code,reports and metadata between 2 unrelated orgs and I have concerns regarding few components. reports I remember having problems while deploying report folders. I had to ...
3
votes
2answers
156 views

Deploying community from Sandbox to production

I have created a community in my sandbox and want to deploy it to the production org. Please suggest what is the best way to achieve. Any detailed documentation around steps would be much appreciated!
0
votes
1answer
36 views

Dependency deployment using eclipse

I'm trying to deploy a custom object using eclipse but throwing an error since it is missing a custom button which is a visualforce page. Is there a way where I can push the multiple components like ...
2
votes
1answer
52 views

AppExchange application contents appears outside of Referenced Package folder in Eclipse

I have a number of applications installed in my org, and majority of them appear in the folder 'Referenced Packages' in eclipse, except for some. They appear outside of the folder 'Referenced Packages'...
0
votes
1answer
47 views

Error: Cannot create a WorkflowAlert on task or event

I am using the Metadata API to pull workflows from production and push them into a SB environment (sandbox) I get several errors related to workflow creation on the Event/Task object. We understand ...
0
votes
0answers
14 views

How to tell illuminatedcloud plugin for IDEA to auto sync branch switches to sandbox

How can I configure the IlluminatedCloud plugin for APEX dev on IDEA to look for changes during a git branch switch and sync those with my Sandbox connection? Right now when I branch switch some of ...