Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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.

294 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
475 views

Change Set for Wave

from Summer '16 Release the following wave components are now available for change sets (link): Wave Application, Wave Dashboard, Wave Dataflow, Wave Dataset, Wave Lens. In my Sandbox (Spring 17) ...
0
votes
0answers
38 views

for extracting/retrived the report do we need to add folder name in package.xml

In Package.xml is folder name is required to fetched the reports. I need to fetch the 500 reports. <types> <members>*</members> <name>Report</name> </types>...
0
votes
0answers
43 views

I need to deploy report from one org to onother org and need to schedule those report

I am not able to identify the way to push report(report run/dashboard/snapshots) from one to other org. I can see Eclipse is the one way and package deployment is other option. I can use Eclipse but ...
0
votes
1answer
176 views

Getting Deployment error settings/LeadConvert.settings is not a valid metadata object

I am deploying through bamboo plan our changes in to next sandbox but getting below error: settings/LeadConvert.settings is not a valid metadata object. Check the name and casing of the file.
0
votes
1answer
78 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
1answer
738 views

How can I resolve the deployment error “Error: Permission Edit Self-Service Users depends on permission(s): Edit Contact, Read Contact”

When attempting to deploy a profile with the "Edit Self-Service Users" permission enabled, I am encountering an error: Error: Permission Edit Self-Service Users depends on permission(s): Edit ...
0
votes
3answers
887 views

Getting “Failed to login” error while run Ant Migration Tool Target

I'm trying to run Ant Migration Tool Target using Jenkins CI from my server and getting next error: BUILD FAILED /var/lib/jenkins/workspace/<Jenkins Build Job Name>/build.xml:41: Failed to ...
0
votes
1answer
188 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
1answer
15 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 ...
0
votes
0answers
795 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 ...
0
votes
1answer
265 views

what are the steps to retrieve using package.xml?

I have created package.xml file as below. As I want to retrieve using package.xml. Can anyone provide me any step by step instructions to retrieve and deploy using this package.xml file? I could how ...
0
votes
0answers
251 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
304 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 ...
0
votes
0answers
65 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....
0
votes
1answer
39 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 ...
0
votes
0answers
233 views

cannot deploy while the apex code is currently executing

When I try to save my code in Eclipse I get this error: cannot deploy while the apex code is currently executing I don't know why because I am not deploying any code. Any idea how to solve this ...
0
votes
1answer
131 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
1answer
449 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
1answer
33 views

how to update a existing report & dashboard in production

i have 2015 revenue reports in production,in that same report i added extra field like 2016 revenue field in sandbox(i also added some records in that existing report). Now i want to show 2016 ...
0
votes
1answer
123 views

Unable to deploy the code into production

Every time I try to deploy any code from sandbox to production if gives the error failed with two test classes failing within the organization, the test classes are tom_test_status_changes and ...
0
votes
2answers
175 views

validation error while deploying to production

I have created a outbound changeset from test to production. After uploading to production i validated the package in production. It failed for one test class. I tried running that test class ...
0
votes
1answer
18 views

Deployment issue with page having variable referencing hierarchy custom setting

When I try to use in VisualForce page apex variable which references hierarchy custom setting, it is possible to save the page but it is not possible to deploy that page to production or another ...
0
votes
1answer
460 views

How to deploy hourly scheduled job and daily scheduled job into UAT and Production

i am scheduling hourly one class by using PortalUserDisableBatch pudbatch = new PortalUserDisableBatch(); String CRON_EXP = '0 0 * * * ?'; System.schedule('Hourly', CRON_EXP, pudbatch ); i need ...
0
votes
1answer
167 views

All classes last modified date got changed from production

In production all classes last modified date has been changed to a same date. We have 6MB of apex code in production. We haven't done such huge deployment. We do it by changeset and sometimes we use ...
0
votes
0answers
38 views

Batch Data Entry: Got error from sandbox to production

I have some errors on the Change Set deployment to production. I installed the batch data entry package on sandbox and now, I got the an error related to In field: field - no CustomField named ...
0
votes
1answer
104 views

Change set deployment fails

My org is new and was activated (from a trial org a week ago). Most of the code in production was written when the org was still in Trial. Production test coverage is 79%. I'm trying to deploy a ...
0
votes
1answer
76 views

Build.xml excluding workflows

We are doing build into production through jenkins cloudbees. The initial build is done. Now we have to do another build but there are already many time based workflows open in production which we ...
0
votes
2answers
165 views

Code Coverage Success in Sandbox but Error in Production

I have 100% code coverage when I tested it in the Sandbox. When I have uploaded the same in the production using changesets, I am getting code coverage error as 53%. What might be the issue. This code ...
0
votes
1answer
307 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: System.QueryException:...
0
votes
1answer
460 views

Eclipse Deployment - Field Level Security and Profiles - Social Post Layout Error

I 've been trying to deploy everything from one Sandbox to another through Eclipse (Force.com installation) Tool. I have been given an extract from Salesforce Helpdesk 'https://www.eclipse.org/...
0
votes
2answers
40 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
1answer
459 views

Deployment Failure in SB - Reason - Standard object - StreamingChannel.object

Last week, I refreshed my eclipse workspace from a SB(QA), made some changes and wanted to deploy those changes to another SB(UAT). The below error was encountered while deployment: All Component ...
0
votes
1answer
118 views

Automation Deployment of Declarative and Imperative Components

This is a slightly large Architectural question. Within Salesforce you have many components. Those components are either declarative or imperative (like APEX and VF). As implementations get larger the ...
0
votes
0answers
988 views

Apex Test Failures - System.LimitException: Apex CPU time limit exceeded

System.LimitException: Apex CPU time limit exceeded Stack Trace: (System Code) Class.OpportunityTriggerHandler.OnAfterInsert: line 63, column 1 Trigger.OpportunityTriggers: line 30, column 1 What ...
0
votes
0answers
163 views

Deleting a class using ant tool

Deleting a class using ant tool(destructiveChanges.xml) in salesforce giving an UNKNOWN_EXCEPTION. Below is the exception details for the same. Failed to proces the request successfully. Cause(...
0
votes
1answer
36 views

how to deploy permissions of user based on profile through managed package in salesforce?

I am creating managed package in my dev org, I am giving permissions of the user to based on profile. Then how to deploy permissions through package?
0
votes
0answers
789 views

Deploying a class to production fails because of code coverage

I've got a class on my Sandbox plus a test class that tests it. The test covers 85% af the class code and test execution runs fine on the sandbox. I've already deployed the test class to to ...
0
votes
1answer
53 views

Trouble retrieving package.xml components using ant

I am running into the error "Invalid username, password, security token; or user locked out" when I try to retrieve the components using a package.xml. I am trying to retrieve all the Apex classes ...
0
votes
2answers
94 views

Code Coverage Error only 32% but test in Sandbox is 93%. - what am I missing?

I have a Code Coverage Failure of 32% I already tested my APEX Class and it's coming out as 27/29 at 93%. I do have the following... ControllerProposalConvertView = Apex Class Convert = Custom Link ...
0
votes
1answer
999 views

How to deploy a Login flow in Salesforce using ANT Migration tool

I have a login flow which uses the visual flow and displays a welcome message to the user when they login.I don't see this in metadata ,How can I deploy the login flow using ANT Migration tool.
-1
votes
1answer
288 views

Permission sets deployment isssue

I am trying to deploy Permission sets to Sandbox via Metadata API and I am getting the following error: permissionsets/Defer_Rules.permissionset -- Error: Permission DeferCalculations depends on ...
-1
votes
2answers
686 views

Deployment failing validation only when two test classes are run

I am trying to deploy a change set which includes to classes and a test class. For validation I am only running two test classes, one which is included in the set and one which is already in ...
-2
votes
1answer
68 views

trigger has 42% coverage in sandbox but 0% when deploying

This is driving me nuts... My trigger has 42% coverage in my sandbox but it won't deploy saying that the coverage is 0% (code below) The test method both inserts and updates an opportunity. I'm ...
-3
votes
2answers
3k views

Components which are not available for changeset

Which components are not available in changeset for Migration?