The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

295 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
44 views

Managed Package: Code validation against patch org before actual deployment there

After releasing main version of our managed package, we've decided to go ahead with bug fixing using patch org. It's well known that patch org doesn't allow any addition or removal of artifacts. But ...
1
vote
0answers
52 views

Wave datasets from installed managed beta package not visible

I created a managed beta package with wave assets in one developer org, and successfully installed it into another developer org. I can see all the wave assets via the API (in Workbench), including ...
1
vote
1answer
313 views

How to Migrate Assigned Connect App thing in Permission set?

We have assigned DataLoader Bulk, Dataloader Partner & Workbench connected app to a permission set in our DEV sandbox. But while retrieving permission set using below package.xml (with ant), ...
1
vote
0answers
111 views

how do you avoid “meta.xml” files from being deleted during a merge

i find that the working of git removes the meta.xml of the apex classes. Here is what i have, dev branch with 2 feature branches. And in the dev branch, there were 2 apex classes.So the files in the ...
1
vote
0answers
50 views

Dependent field not getting deployed in Salesforce

I am trying to deploy dependent fields and controlling in salesforce. The deployment is successful via workbench , however the changes in field dependency are not getting impacted in the org. The meta ...
1
vote
0answers
63 views

Fields of an Object retrieved using Ant has <encrypted> property

I retrieved an object using ant tool using retrieveUnpackaged command.I retrieved this from a higher environment of my project.. say the SIT environment(Full Sandbox). On looking at the fields( text ...
1
vote
1answer
68 views

Unsupported currency errors while deploying Reports from one org to another

I am trying to deploy reports, report types and dashboards from one org to other using Eclipse Force.com IDE. I am getting following error: currency: Unsupported currency: EUR. My first thought ...
1
vote
1answer
56 views

Can we deploy Forecast Object with data?

Is it possible to deploy the forecast object with all its data and related navigation over force.com site or community portal?
1
vote
0answers
327 views

Error in change set with MasterDetail relationship even after relationship deleted

I'm getting the following error: Cannot set sharingModel to ControlledByParent on a CustomObject without a MasterDetail relationship field I've looked it up online and found out that it (likely) ...
1
vote
1answer
245 views

Code Coverage Issue while validation

How to find each class coverage for that current jobId which has been validated with only error, code coverage?
1
vote
0answers
1k views

INVALID_CROSS_REFERENCE_KEY: invalid cross reference id on Ant

Recently made some changes to some of objects turning some from formulas to number fields and vice versa. I added DestructivechangesPre.xml to delete those fields (and in a more extreme manner, after ...
1
vote
0answers
45 views

Connected Dot - unManaged package deployment

Connected Dots is a unmanaged package from Salesforce. I have modified one of the components in the package in fullcopy. Wanted to deploy. I tried deploying with Eclipse, it is giving timeout error '...
1
vote
0answers
173 views

A lower code coverage problem when trying to deploy

All my apex classes have more than 90% code coverage. But, when I am trying to deploy them, it is showing I have 59% code coverage. How to solve this issue. I have run all test, & check all apex ...
1
vote
1answer
499 views

Deployment of Wave Analytics components failing

I have retrieved the wave analytics components using workbench without any issues from source org.But while deploying in the target org is giving an error : " Error: Unrecognized field "query" (...
1
vote
0answers
272 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> </...
1
vote
1answer
510 views

Retrieving Lightning components with Namespace Prefix resets it to default one

We are developing Lightning components code on Organization with a Namespace Prefix. The issue is when I retrieve Aura components using Force.com IDE or Force.com Migration Tool(latest versions), my ...
1
vote
0answers
390 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
0answers
230 views

MetadataService.DeployOptions testLevel in Apex

I'm using MetadataAPI to activate a Process Builder flow from Apex code, even I'm specifying the testLevel option, it still giving me this error: Web service callout failed: WebService returned a ...
1
vote
0answers
119 views

Lightning Components work differently in Developer orgs and production orgs

I have developed several lightning components, which can be accessed in salesforce1 by tab. With the same code, my components work well in DEV orgs, but not in Production Orgs. For exemple : 1. I ...
1
vote
0answers
159 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 ...
1
vote
0answers
122 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 ...
1
vote
2answers
707 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 ...
1
vote
0answers
160 views

how to find Macro standard object in production environment?

I try to deploy my sandbox to production environment. but I got an error : Macro customObject 0 0 Invalid fullName, must end in a custom suffix ( for ex. __c ) I realize that my sandbox have ...
1
vote
0answers
612 views

Limit exceeded error when deploying

When deploying our account custom fields to the org through ant we have the following error: 1. objects/Account.object (Account.ValidatedBillingPostalCode__c) -- Error: limit exceeded (line 121, ...
1
vote
3answers
452 views

Bulk data upload in salesforce with duplicate check

I want to upload 1000 Account and Contact records to salesforce. I am not sure how many of them are duplicate. I cant use data loader as it will check the duplicate records in batches, so it will not ...
1
vote
0answers
113 views

deploying renamed page layout and record types in Prod from FULL

I have recently refreshed my FULL sandbox with Prod. I wish to rename some page Layout and record type name( Label and API name) in FULL. I have added some section to this renamed page layouts and ...
1
vote
0answers
256 views

Migrating components not supported by eclipse

How do we migrate metadata from one org to another when they are supported by metadata api but not by eclipse. The examples are sharing rules and matching rules. I have managed to migrate this from ...
1
vote
1answer
163 views

Unable to Deploy file-based Custom Field / Profile Settings to Salesforce SOAP API

We've visited the following link, and followed the examples/instructions to no avail. https://developer.salesforce.com/forums/?id=906F0000000AVifIAG We originally utilized the CRUD-based SOAP API to ...
1
vote
0answers
23 views

Migration tool took more than the expected time to finish the deployment

Validations and deployments via migration tool to a sandbox took more than the expected time to finish the deployment. Total deployment/validation time supposed to be roughly 30 minutes and suddenly ...
1
vote
1answer
48 views

Can you automate a release that changes the type of a field that is referenced by a class?

The problem In production we have a field that is referenced by a class. We want to change that field from a 'text' field to a 'formula' field. In order to change the field from one type to another ...
1
vote
0answers
511 views

deploying Field level security

what is different from force.com 28 to 31? i was able to move the field level security using force.com 28 without adding profiles to the package. but with the newer versions of Force.com >= 31 it is ...
1
vote
1answer
95 views

Using Quickdeply from metadata API

Do I need to pass any special parameters when I use Quickdeploy using metadata api ? Or should I just use the validate option and it sends the info to the org for Quickdeploy? How does ANT know when ...
1
vote
0answers
106 views

We could not deploy with a new process running

I created a new process , When we tried to deploy change sets today, I received the unhandled process fault email message. The message includes apex failure and Apex Failures:Pre deploy test failed, ...
1
vote
0answers
93 views

Error SOQL 101 while deploying inactive trigger

I have requirement to inactive the trigger on production. For that I am using sales force chengeset functionality. But I am unable to understand it is giving 101 error if deploying inactive trigger ...
1
vote
1answer
44 views

Unlock self login id

I have system admin profile. I am trying to connect to Sandbox(Developer Pro) from IDE Eclipse. My id is getting locked out and not able to connect and throwing login error. However I can connect to ...
1
vote
0answers
54 views

APEX — Error on custom lead conversion code!

I have an APEX code that will convert Leads (it's triggered at the conclusion of a flow): trigger CustomLeadConversion on Lead (after insert,after update) { LeadStatus convertStatus = [ ...
1
vote
1answer
63 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 ...
1
vote
2answers
63 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
1answer
39 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
661 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 ...
1
vote
0answers
337 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 ...
1
vote
0answers
234 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 ...
1
vote
0answers
156 views

deleting apex class without dependency check

I remember I was not able to delete apex class when you are using class on another controller or components. However I can delete apex class even I am using on another page and the page is not deleted ...
1
vote
1answer
45 views

Deploying profiles from two unconnected orgs

I wanted to know, if I could deploy some profiles from two orgs that are not connected, through Java - Ant procedure. Actually, one org is a sandbox and the other is a production/developer. The orgs, ...
1
vote
1answer
66 views

Deploy Controller Changes - Attempt to de-reference a null object

My developer is on vacation, and I'm trying to deploy changes to a test class (TicketEditedTest) and I keep getting deploy failures: Invoice_Thank_YouController.testInvoice_Thank_YouController ...
1
vote
0answers
682 views

SObject deployment: Cannot specify a startsWith attribute for this language

I'm trying to deploy an sobject to a new empty environment. I get the following error: Cannot specify a startsWith attribute for this language Both orgs are in English. Any thoughts? Edit: The ...
1
vote
0answers
120 views

More “approved” components than were added

So I was using salesforce Change Sets to send a project from sandbox to production. I have control over both so I know what is outgoing and what is incoming. I was sending some fields and a layout (30 ...
1
vote
1answer
155 views

New Force.com IDE not auto-deploying? (NOT A DUPLICATE QUESTION)

I am having the same issue as here New Force.com IDE (Eclipse) - not auto-deploying?, except the solution chosen isn't working. I have Build Automatically checked and I've also already selected "...
1
vote
1answer
305 views

PersonMailingAddress Field Not found error during deployment ONLY

So I am trying to deploy a changeset and in one of the tests I am referencing the PersonMailingAddress with the following query: [Select Id, PersonMailingAddress From Account Where Name Like '%Test%']...
1
vote
1answer
482 views

Causes of organization lock

I recently tried to deploy some changes between sandboxes using the Force.com migration tool and got the following error: Failed to process the request successfully. Cause(ALREADY_IN_PROCESS): null:...