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.

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

Deploying report <timeFrameFilter> <dateColumn> <interval> “Last 2 Days” - not possible in UI or Metadata API?

Before I chalked this very simple reporting request to not being possible, I thought would check on here. I'd like to have a running report pull in a date field where the value could be the "Last 2 ...
0
votes
0answers
85 views

Unable to deploy platform events from one sandbox to other

Trying to deploy platform events from one sandbox to another using jenkins. On plat form event we have trigger as well. While deploying it is throwing following error even though the package version ...
0
votes
0answers
32 views

Problem with Salesforce deployment

I'm trying to deploy my code to Dev Org using the following commands: sfdx force:auth:web:login -r https://login.salesforce.com to authorize my Dev Org sfdx force:source:convert --outputdir <...
0
votes
1answer
22 views

can't make deployment because of .cmp error

I'm trying to deploy a custom lightning component into my salesforce org but it's giving me the following error: CPQ_CPQOrderCICMP.cmp c.CPQ_CPQOrderCICMP: org.auraframework.util.json....
0
votes
0answers
6 views

Show Analytics tab in lightning app menu for a particular profile

What would be the metadata name for showing Analytics tab to a certain profile. Need to deploy the changes using ANT. Any help/pointers are appretiable.
0
votes
0answers
41 views

What is the name for the following to be used in XML. Pushing the following using ANT migration tool

I am using ANT to deploy the Profiles to next sandbox but I am not able to find the name to be used for following in the xml file. The following are available in Profile ->System Permissions Access ...
0
votes
0answers
32 views

How to Deploy CustomApplication to Sandbox in Lightning

I have Created a custom application with Homepage having Reports chart Lighnting component Which is displaying in dev, now I need to deploy this customapp.app without lightning component to other ...
0
votes
0answers
281 views

java.io.IOException: The system cannot find the path specified

I am unable to retrieve Code Using Ant Migration Tool. By using Command: ant retrieve code, Getting an Error As java.io.IOException: The system cannot find the path specified error details ...
0
votes
1answer
46 views

DUPLICATE_VALUE, This price definition already exists in this price book: [] while deploying to production

please see starred(***) part in both method, I am getting error while deploying in production not in sandbox @isTest public class DuplicateProduct_Test { public static testMethod void callMeth() ...
0
votes
0answers
29 views

Not able to deploy Account search layout

I have added the below tags in the account object but still i am not able to see the account search layout in my target org. I have made the changes to the account search layout in my source org and ...
0
votes
0answers
193 views

Deployment fail record page

When i try run deployment appears this error, anyone know what is this? error: invalid property [rowstodisplay] in component [force:relatedlistcontainer] []1 i think this happened because i inserted ...
0
votes
1answer
37 views

Test methods not executing on sandbox org while deploy metadata

I'm trying to run ant command - deploy and deployCodeCheckOnly - on my sandbox org. In both targets, testLevel attribute value is RunSpecifiedTests and RunLocalTests. Commands executed successfully ...
0
votes
0answers
63 views

Can't deploy from IntelliJ to SF one component, but the controller is ok

I'm using IntelliJ Idea, retrieving datas from SF each day ; But now I got this error : Deployment Failed: FIELD_INTEGRITY_EXCEPTION - Invalid definition for null:LTNG01_SearchCandidate: Variable ...
0
votes
0answers
41 views

Deployment failed : An object 'My lightning js object' of type AuraDefinitionBundle was named in package.xml, but was not found in zipped directory

Can anyone help me so I can deploy? I have this deployment failure: An object of type AuraDefinitionBundle was named in package.xml, but was not found in zipped directory
0
votes
1answer
525 views

How to solve this deployment errors (Variable does not exist: isReadOnly)?

Trying to deploy package (big one) to a new org but all the tests failed with very weird errors: 1)line -1, column -1: Dependent class is invalid and needs recompilation: Class ClassName : Variable ...
0
votes
0answers
328 views

Error when validating a Change Set: “In field: excludeButtons, no such standard action”

I'm deploying from a Sandbox(Develop) into another Sandbox(Partial) but when trying to validate the Change Set got the following error referring to Campaign Member Page Layout in target org: 'In ...
0
votes
0answers
43 views

Load report-meta directly in production (testLevel problem)

Since in my org we made some (heavy) changes to the custom objects, we also had the need of redoing all the reports (yeey, such luck!) So what I did, was simply to download all the reports locally, ...
0
votes
2answers
215 views

Ant deployment doesn't recognize updated test classes and fails

I have a small set of lightning components and related apex classes that I'm trying to deploy using ant. The first deployment was fine. I had to make a change and updated the apex class that has all ...
0
votes
0answers
47 views

Dx deploy of permissionset requires Manage Profiles and Permission Sets

I'd like to have users be able to DX deploy to a QA environment but in order to deploy to that environment, they need either admin access or the permission "Manage Profiles and Permission Sets" in ...
0
votes
0answers
37 views

Unexpected error while Trying to Update the Trigger Metadata Stautus to Inactive

Trying to Update the Trigger Metadata Stautus to Inactive. created Metadatacontainer. post in it in ApexTriggerMemner(MetadataContainer,ContainerEntityId ,and Metadata) Deploy using ...
0
votes
1answer
142 views

Apex Test Failure: Methods defined as TestMethod do not support getContent call Stack Trace: null

I'm running into an error when trying to deploy my updated apex class from the sandbox into production. The minor change made was the removal of the word "optional" in the text displayed on the page. ...
0
votes
1answer
34 views

How to overcome Salesforce System Error when deploying from Apex Code more than 1488 Metadata Records?

Conversion process of custom object records into Custom Metadata records using Metadata.Operations class enqueueDeployment method fails if deployment container contains more than 1488 records. ...
0
votes
0answers
358 views

Winter'19 - Deployment fails with internal server error

At my work, we have the following development journey: we develop in one dev org via Jenkins, we retrieve all the metadata (and I mean all) after retrieving the metadata, Jenkins commit it to ...
0
votes
1answer
668 views

Deployed tabs not visible in production

I deployed some tabs from sandbox to production but they are not visible. I checked profile settings. I see my tabs listed under Tab Settings > Custom Tab Settings. For all three profiles I have they ...
0
votes
0answers
88 views

Error while retrieving Process Builder using workbench

I am ending up with the below error when I try to retrieve Process builder (Flow) using workbench. "Entity of type 'Flow' named 'My_Process' cannot be found" My Package.xml is below: <?xml ...
0
votes
0answers
108 views

Profile component Error when deploying using ANT

im trying to deploy System Admin Standard profile from one Org to another one. We are getting this error: All Component Failures: profiles/Admin.profile -- Error: The user license doesn't allow the ...
0
votes
0answers
523 views

Sales Path deployment issue

A new stage has been added in Opportunity and a new Sales Process is been created for which the stage value available for edit is updated. A sales path is created for a record type where the new ...
0
votes
0answers
290 views

Deployment Error “Summarized field must be on an object that is a detail of object containing summary”

I receive the following error message “Summarized field must be on an object that is a detail of object containing summary” when deploying a roll-up summary field. Created a brand new rollup ...
0
votes
0answers
122 views

How to handle code dependency while deploying code?

Here is a scenario what I have, I have two dev org (development, Testing), one Bitbucket repository and AWS EC2 that contain Jenkins with ANT migration tool. I am not able to move all code in one ...
0
votes
0answers
151 views

Issue with deploying to Master using bitbucket pipelines

Whenever a branch got merged onto master in git, bitbucket automatically pushed/deploys the changes into production. However, this process isn't working anymore as it seems Salesforce has changed ...
0
votes
1answer
44 views

Replace existing managed package vf page by extension package vf page

I have a managed package that is deployed in an org. In the managed package there is a vf page called ShowInformation.vfp that shows some records. Now, I have added new feature in ShowInformation....
0
votes
1answer
208 views

Corrupted Salesforce Objects?

Running into an issue I don't think I've ever seen before. I was recently handed a rather old backup(2+ years) of an old Salesforce org. My initial hope was that I could recreate this org, but im ...
0
votes
0answers
235 views

All test classes failing upon deploying with “run local tests”

error shown: line -1, column -1: Dependent class is invalid and needs recompilation: Class classname: Invalid type: soapSforceCom200604Metadata.DeleteResult Stack Trace: null says this for ...
0
votes
1answer
190 views

java.lang.ClassNotFoundException: com.salesforce.ant.DeployTask$CodeNameElement

I'm trying to implement running a list of tests as per this link Run Specific Tests with Ant Deploy specified by command line or file and passing the list of tests as a parameter ${tests}, but am ...
0
votes
1answer
55 views

Once a package is deployed, are the components immediately visible?

I created a VF page, packed it and deployed to a staging org. I am not able to see my VF page in the staging org. Is this supposed to be this way or I should usually be able to see it immediately? I ...
0
votes
1answer
46 views

Deployment error with Permission sets

I have 2 permission sets and when i try to deploy to another sandbox, i get the below error Error Message Process_Builder_Permission Permission Set 0 0 Permission View All Data depends on ...
0
votes
1answer
19 views

Force.com IDE: I want “work offline” to be default

Every time I switch the source for my project (between sandboxes or between production and a sandbox) it defaults to "Work Online", and I need to remember to switch that or else it starts deploying ...
0
votes
2answers
208 views

Deploying Object fields in Big Object

Does anyone know whether it is possible to deploy custom or standard object into big object without manually writing those entire object fields and permission set file? Thanks in Advance
0
votes
0answers
1k views

Error: Cannot set picklist values when a global picklist is referenced on the field

I'm trying to migrate an Obj with a field that has a Global ValueSet. The Obj, the field, and the global valueset is listed and exported in the metadata but its giving me the next error when I try ...
0
votes
1answer
22 views

Can we make changes after deployment andfield not displaying in production

I have a question, I wrote trigger and a handler class that takes record type field from Opportunity line item and displays on QuoteLineItem record. It worked in sandbox but after deploying I can see ...
0
votes
0answers
362 views

Custom field on managed package

There are 2 custom fields that are created on activity object in managed package. when i am deploying from one sandbox to other using eclipse not able to do it. problem:Only components in the same ...
0
votes
1answer
51 views

How to retrieve and deploy metadata created by inactive users?

When I'm trying to retrieve metadata (using ANT migration tool) that is created by a user that is currently inactive I get errors like below: [sf:retrieve] package.xml - Entity of type 'ListView' ...
0
votes
0answers
982 views

Are all Flow / Process builder 'versions' pushed in a changeset?

Are all versions of a flow/ process builder pushed through in a changeset? I have over 30 versions and I only want the latest, Active one... Do I have to save it as a new flow and use that in the ...
0
votes
0answers
256 views

How to deploy only changes from sandbox to production instead of all data from package.xml file?

I have a jenkins setup with bitbucket and using ANT migration tool how to deploy only changes into production in CI instead of deploying changes manually. Thanks,
0
votes
1answer
608 views

Deployment error: __MISSING LABEL__ PropertyFile - val dependent.class.invalid not found

I am facing deployment error as shown below. I searched a lot but could not find correct solution for this. What needs to be done for this?
0
votes
1answer
30 views

Query on Deployment of Record Types

I created one new record type each for 4 custom objects which already have 2 existing record types. While deploying the newly created record types, please suggest what all its related components(page ...
0
votes
1answer
241 views

Deployment error - Unknown user permission

I could not deploy profile that contain ManageConnectedApps permission, via ant migration tool Below is the XML version <userPermissions> <enabled>false</enabled> <name&...
0
votes
1answer
677 views

Deployment, Code Coverage issue

I'm trying to deploy from Sandbox to Production. I am running into Code coverage error. The code coverage in the developer console says 92%. But Change set deployment to production fails with the ...
0
votes
0answers
1k views

BUILD FAILED - Failed to login: Failed to send request to https://test.salesforce.com/services/Soap/u/41.0

I have ant setup running on my system from long time, Suddenly when i tried to run deployment commands in my system all were failing with below error message. deployCode: [sf:deploy] Note: use ...
0
votes
0answers
756 views

Cause :UNKNOWN EXCCEPTION, Invalid Cross Reference ID During ANT undeployCode

I am trying to remove a class from my QAT using destructive.xml ANT script and getting the following exception. Failed to process the request successfully. Cause(UNKNOWN_EXCEPTION): ...