Questions tagged [deployment]
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.
1,636
questions
1
vote
2
answers
282
views
Deploying metadata From Production to Developer Edition
I'm trying to learn the smooth of pushing the metadata from production to developer edition or any other sandbox.
I have installed MavensMate (MM) on my computer and I get the latest metadata from ...
0
votes
1
answer
334
views
Help, how to deploy a xml package?
I am trying to deploy a xml file but i get the following error:
4. objects/Account.object (Account.NbOppsOuvertesAvancees__c) -- Error: Invalid Field: Opportunity.RecordTypeId (line 1607, column 29)
...
0
votes
1
answer
4k
views
Why am I getting a "CustomField not found" error when deploying a globalValueSet called "Country" in Winter 17
When I try to deploy a GlobalValueSet (formerly known as 'global picklist') named Country in Winter '17 (API v38) I get a "CustomField not found" deployment error. How can I resolve this.
0
votes
1
answer
25
views
Unable to add VF page to Account layout after being pushed from sandbox?
I found this question on SF.SE, and I am experiencing the same issue. After pushing a custom Visualforce page from Sandbox to Production, I cannot add it to my Account page layout. Does anyone know ...
0
votes
2
answers
112
views
Why does Force.com IDE try to deploy when I only want to save to server?
I am using Force.com IDE to work on multiple projects. On one of them, when I click on Save to server, it tries to deploy to server (maybe even deploy the whole project) and takes forever to save (I ...
1
vote
1
answer
2k
views
How to retrieve and deploy translations in salesforce?
I want to deploy some traslations made via workbench , i made the following XML file to retrieve the modifications (the field is a picklist called Type under Event object), but it does not work, the ...
0
votes
1
answer
222
views
Unable to Deploy field
I Created a field Web_Security_Scove in an environment and i am trying to deploy it in to another environment.
My Retrieve package:
My Package.xml:
I am getting the following error after ...
0
votes
2
answers
3k
views
Is it possible to deploy Lightning Experience email templates (Integrated Email) from org to org?
I have created some email templates using Integrated Email in the new Lightning Experience. I would like to deploy these to another org. Is this possible? If so, how?
1
vote
0
answers
363
views
picklist Value deployment Issue
I retrieve the Record type using Package.xml.Its having Available picklist value
<!--<values>
<fullName> Mandatory%3A K-12</fullName>
<default>false</default>
</...
5
votes
1
answer
9k
views
How can I resolve deployment error: "Error: Invalid field:OPPORTUNITY.NAME in related list:RelatedCampaignInfluence2CampaignList"
While attempting to deploy a campaign layout that contains a related list for Campaign Influence, I get an error:
Error: Invalid field:OPPORTUNITY.NAME in related list:...
0
votes
1
answer
75
views
How to get only unsubscribed records from API?
Could you please any one help me on, How to get only unsubscribed records using list id from API?
I tried to use the code in this article: Retrieving Subscribers Using ListID, but I am unable to get ...
3
votes
1
answer
3k
views
Deployment From one Dev org to another Dev Org
is it possible to deploy the classes and respected test classes one dev org to another dev org using Change-Set.
2
votes
2
answers
7k
views
Deployment failure: bad value for restricted picklist field
I am facing a weird issue during production deployment.
I have created a picklist field (which is not exist in Production) Lead_Assignment_Status__c which is by-default restricted and values are New ...
-3
votes
1
answer
1k
views
what happends when test classes fail at deployment time?
Suppose I have some Apex Classes and 50 test classes. Out of fifty test classes
one test class fails. What happens at deployment time?
2
votes
1
answer
2k
views
Deploying a permission set using a change set that only references managed objects
I'm attempting to deploy a permission set from sandbox to production. The permission set only references managed objects and when I "View/Add Dependencies" it includes references 1,162. 2 of those are ...
1
vote
0
answers
664
views
How to deploy sharing rules such that already existing sharing rules in production are not affected?
Some one asked me this question and i dont know the answer.How can I deploy sharing rules from sandbox to production such that already existing sharing rules in production are not affected
1
vote
1
answer
2k
views
Problem when deploy object in salesforce
Did anyone can help me ?
Why when i deploy an object from my production into sandbox, always error.
The error message : in Field: searchResultsField - no CustomField named PYSETINSURANCE__c....
6
votes
1
answer
16k
views
ChangeSet Issue : Cant we deploy picklist in changeset?
I was trying deploying some items in changeset and it was failing. After few changes I noticed that I cannot deploy Picklist Fields in Change Set.
Can we not we use Change Sets to deploy Picklist ...
-4
votes
2
answers
2k
views
test class is not working [closed]
I worte the below helper class and it is working perfectly, but I have an issue with the deployment because of the test class
public class CESExtension {
public CES__c CES;
public opportunity ...
4
votes
0
answers
1k
views
Is there any way to deploy list views for custom settings through Metadata API?
Currently trying to deploy a list view created for custom settings through the 'Manage' button through the Metadata API.
<?xml version="1.0" encoding="UTF-8"?>
<CustomObject xmlns="http://...
5
votes
2
answers
464
views
Offline tool that can show dependencies between different metadata files
I was looking for a some kind of app (other than ant migration tool) that could analyze a code base pulled from a Salesforce org and show all dependencies between the files (for example – between apex ...
5
votes
2
answers
1k
views
We don't support this API version. Use API version 32.0 or later to retrieve this process
I'm using the Salesforce Migration Tool (Ant) to deploy Salesforce changes. When I retrieve my changes, all changes are pulled down (even other flows/processes) except for one, which throws this ...
1
vote
2
answers
2k
views
Case RecordTypeIdd field doesn't exists on Production
In my org, I have created some custom fields and record types and have written few triggers on case object. Now am trying to move all these components to production. When I try to move I get an error ...
2
votes
1
answer
205
views
Sandbox to Prod- Test Data
I am having a hard time wrapping my head around a concept.
I write a query that pulls out data from salesforce and sends it to a web service. The webservice sends me back data for a report. This ...
2
votes
1
answer
2k
views
Deploying Permission Sets using Change Sets - came to destination org without the Assigned Users
In the source org, Permission Sets had various users assigned to them.
After deployment, Permission Sets in the destination org had no users in them.
All of the users are in both orgs with the same ...
1
vote
1
answer
51
views
Updating Apex Test for Apex Trigger of an installed component
We recently installed a free app from AppExchange and wanted to do some minor adjustments to the Apex Trigger text when an error occurs.
To do this, we followed the simple procedure of creating a ...
2
votes
1
answer
3k
views
Required field is missing: cleanRules
I'm trying to deploy a changeset to my testing environnement and I get this error message:
DataCloudLeadAppend: Required field is missing: cleanRules
I googled it already and found no similar ...
0
votes
1
answer
98
views
Updating Controller for New Custom Object Field--Testing Problem
I updated a custom object that existed in production with a new field (Approval_Status__c, picklist). That object was queried by a controller (apex class) in production, as well. All I want to do is ...
1
vote
2
answers
195
views
How to deploy a Controller class to production?
Here we go.
I need to deploy an Apex Class to production.
I'm currently unable to do the default deploy on my production org.
I thought on doing a specific test class to implement the class I need to ...
0
votes
1
answer
333
views
rename the old file replace old file in salesforce prod?
I am working in sandbox. I have class with name XXX now i edit and re-name as YYY. I am moving this to prod.While i tested in dev. Surprised both class Ids are same. I wasn't tested in prod(dont have ...
0
votes
1
answer
21
views
deployment, IN BOUND DATA SET ERROR
I have few changes to be made from one sand box to another, when i do that i am getting quick action error in inbound data sets when i validate, but now the problem is now the source destination is ...
2
votes
1
answer
733
views
When deploying just one field, the "View All Data" permission on the profiles is deployed as well... Why?
We are seeing some deployment-behaviour that we don't understand (nor expect / want).
If we create a deployset using the Salesforce UI with just one field (Test__c on Case) and add all Profiles to ...
2
votes
1
answer
2k
views
What does the deployment error "Picklist sharing is not supported" mean?
I'm attempting to deploy a custom field from one org to another and am encountering the error "Picklist sharing is not supported". How can I resolve this error?
1
vote
1
answer
1k
views
What causes Error 1463999005 during deployments
We are attempting to deploy a large batch of metadata and are receiving this error:
objects/MyObject__c.object (MyObject__c.MyField__c) -- Error: An unexpected error occurred. Please include this ...
0
votes
1
answer
2k
views
What causes UNKNOWN_EXCEPTION 2104429247 in deployments?
We have been getting persistent deployment failures saying:
UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you
contact support: [specific log number] (2104429247)...
0
votes
2
answers
33k
views
unable to obtain exclusive access to this record
I am getting below error on a custom field on the Account object during deployment.
unable to obtain exclusive access to this record
Why am I getting this error?
13
votes
4
answers
13k
views
Deploy incremental changes using Github and Jenkins
We are using Jenkins and Github to automate deployments from dev to test to production and currently do a full deploy (the whole package) based on what is stored in GitHub.
We would like to improve ...
3
votes
2
answers
77
views
Which Salesforce course would be best fit as per my background?
As we know these days salesforce is a valuable certification for your knowledge as well as resume, i am planning to do so!
By background, my profile is related to Business process management (tools ...
2
votes
1
answer
3k
views
Deployment error for picklist values
In phy.object file i have included below things.
<recordTypes>
<fullName>Physician</fullName>
<active>true</active>
<label>Physician</...
4
votes
2
answers
3k
views
System Administrator profile does not have rights to some new custom fields
We recently added many new custom fields to custom objects within our package. When I deployed the new objects from Eclipse to a target org (for the purpose of packaging) I noticed that the System ...
0
votes
0
answers
4k
views
Can't deploy a field after changing it's type from Text to Picklist
I'm facing a problem on changing data type of a field from TEXT to Picklist. To avoid any loss of data I took an export of data of the related records on the target org and have updated the field with ...
2
votes
1
answer
6k
views
Price book entry is in a different pricebook than the one assigned to the opportunity
I am facing the issue while deploying the test class in production. The test class is working fine in sandbox but failing in production
System.DmlException: Insert failed. First exception on row 0; ...
3
votes
0
answers
2k
views
Ant Migration Tool: INVALID_OPERATION - INVALID_OPERATION:Too many files in zip
Now I'm trying to deploy bunch of custom objects to my Developer Org. using Ant Migration Tool.
All these custom objects are from our Production org, and the final goal is to setup CI in our ...
2
votes
1
answer
5k
views
Deployment Error: "Invalid parameter value" on one of my custom profiles during Dev > Dev deployment
I am deploying a brand new Custom Object and all associated Custom Fields from one Dev environment to another Dev environment. I'm receiving the "Invalid parameter value" error on one of my custom ...
1
vote
3
answers
1k
views
Eclipse Force.com IDE and " Run Specified Tests "
Is the Eclipse "Force.com IDE" plugin able to deploy code with a "Run Specified Tests" validation option yet?
Or is using "Change Sets" my only user-friendly option if I want that level of control ...
1
vote
1
answer
824
views
Fetch all classes, triggers and pages except the managed package ones using ant tool
Hi I am trying to fetch the classes, triggers and visualforce pages in our salesforce org using the ant tool but it ends up fetching the managed package metadata as well. The metadata api doesnt seem ...
1
vote
1
answer
524
views
Return asyncRequestId from sf:deploy in Force Migration Tool
Using the Force Migration Tool, we want to find out how to capture the asyncRequestId from our Salesforce deployments as an ANT property for use later in our ANT target.
For Example, I may deploy ...
0
votes
3
answers
106
views
Forward existing Salesforce changeset from Sandbox to Live system
Dev1 --> Dev2 --> Live
I have a few new custom fields to deploy in the live system
It was created in Dev1 and added as a changeset (validated and deployed) to Dev2 (for testing) As there were no ...
1
vote
3
answers
3k
views
Migration of Standard Object Permissions using meta data deploy
I am trying to migrate object permissions using metadata deploy in workbench.I am facing an issue - although I have explicitly stated the standard object in package.xml, the object permissions are not ...
1
vote
1
answer
281
views
Salesforce Change Management - multiple development sandboxes
I want to know what can be the best architecture concerning my case. In my organization I am planning to use Git, Jenkins and Gitlab. I have 4 Dev sandboxes and 4 QA sandboxes which point to ...