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

Global Picklist Metadata in Mavensmate

I am trying to deploy global picklist metadata through Mavensmate but I cannot find the global picklist metadata type inside my mavensmate subscription index. Are global picklist metadata supported?
3
votes
1answer
24 views

Apex Managed Sharing Records

In Earlier release, we have given record access via apex managed sharing. In new release we have removed the apex managed sharing, in place we have used object sharing rules. My question is during ...
0
votes
1answer
29 views

Validating a deployed change-set removes it from the Deployed list

So does this mean that there is no longer a record of that deployment in the list? How does one move it back to the deployed list, without deploying it again?
0
votes
0answers
41 views

SOAP deploy: “Entity is null or entity element's name is null” for few searchSettingsByObject in Search.settings

We do not understand why we facing with this problem. Full Search.settings: <?xml version="1.0" encoding="UTF-8"?> <SearchSettings xmlns="http://soap.sforce.com/2006/04/metadata"> &...
0
votes
0answers
12 views

how to connect my environment hub with my managed packaged org

We have Partner Business environment org. if I have create a domain when I create a developer org by click on Create org tab in environment hub. I got a mail confirm this org. but i got 30 days trial....
0
votes
1answer
16 views

How to deploy or retrieve dashboard folder?

Today I have been struggling trying to migrate reports and dashboards from developer organization to production. Looks like we can't deploy dashboard without a folder. While for reports there exist ...
0
votes
0answers
38 views

Running Tests in Production WHILE Deploying to Production - Row Lock Error

In our test classes, we utilize testSetup methods that create and insert records in preparation for their use in the test methods of the class. I found today that if I'm running tests in Production ...
0
votes
1answer
26 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
15 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
14 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
24 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 ...
3
votes
2answers
102 views

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
63 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
43 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
29 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
94 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
31 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
36 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
19 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 ...
6
votes
1answer
96 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
19 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
46 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
25 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
19 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
32 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
47 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
53 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
73 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
21 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
38 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
78 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
56 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
17 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
41 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 ...
1
vote
1answer
60 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
44 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
35 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
40 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
123 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
122 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
68 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
90 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
76 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
25 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
64 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
33 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
32 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
44 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
60 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 ...