Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. 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.

309 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
324 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
495 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:...
0
votes
0answers
9 views

What is the max xml file size that ANT support to retrieve and deploy the data in salesforce

I want to retrieve the metadata using ANT, have an XML file of size 2MB and total line are around 35000. When i run the command to retrieve the metadata I am facing error as max limit is 10000 files. ...
0
votes
0answers
7 views

ANT Deployment override layouts even if I run a new deployment with an org backup

Context: I have 4 dev sandboxes. 3 sandboxes (dev1, dev2, dev3) for each developer and one sandbox (dev) with all changes made by all developers. I make deployments automatically using Ant + Jenkins. ...
0
votes
0answers
21 views

Deployment Failed Developer Edition

I can't save a class in a developer org. I receive this error: "Can't alter metadata in an active org". How can I resolve this problem?
0
votes
1answer
10 views

Only Log a Call Action will Display in Actions & Recommendations Component Regardless of Configuration

Regardless of what configuration I do and what global actions or flows I assign to channels in the Actions & Recommendations deployment menu, it only ever shows the Log a Call action. If I click ...
0
votes
1answer
25 views

Deployment Error [CustomApplication Service_Console] The value you specified for RecordType is invalid or doesn't match the object you specified

Hello community I am facing the below error [CustomApplication Service_Console] The value you specified for RecordType is invalid or doesn't match the object you specified. I have added to the ...
0
votes
0answers
6 views

How to Package and deploy Salesforce Einstein App containing Data Recipes?

We have created a Salesforce Einstein Analytics App containing few dashboards, lenses, dataflows, data recipes and datasets. When we tried to retrieve this app source code in VSCode Salesforce project ...
0
votes
1answer
22 views

Deployment issue with knowledge page layout required fields

I have custom field on Knowledge object. And made that custom field as required on Knowledge page layout. When I deploy using ant from one sand box to another that custom field is not effected(means ...
0
votes
0answers
14 views

Error deploying to Packaging Org: force:mdapi:deploy - “An unknown exception has occurred.”

We deleted a managed Apex Class and then started getting a "An unknown exception has occurred." during the force:mdapi:deploy process. We then restored this deleted Apex Class, but the "An unknown ...
0
votes
0answers
24 views

Deactivate all triggers and validation rules as post refresh step?

I have multiple sandbox related to the production org. Currently I wanted to refresh my full copy sandbox, There is a way that i can provide an apex class to run post refresh. The apex class which ...
0
votes
1answer
9 views

Cannot see 'Deploy' link under Environments link for System Admin profile

What could be the reason for not seeing 'Deploy' sublink under 'Environments' link? I am a sys admin and I checked that 'Modify Metadata Through Metadata API Functions' is turned on for the profile. ...
0
votes
0answers
15 views

trouble deploying apps using github

I am new to using heroku. I want to deploy an app, specifically a discord bot. The discord bot is in a jar file (.jar). when I run it i get this error: Receive code from GitHub Build master ...
0
votes
0answers
17 views

ANT deployment error in Communities?

I have a partner community which had a 'New Lead' link on community header which opened up Lead list view. Now i have changed it to open a community page. When i deploy this change set using ANT to ...
0
votes
0answers
25 views

How to resolve deployment error: “Error: You may not turn off permission Read PartnerFundClaim for this License Type”

Using Salesforce Migration Tool (Ant) and whislst deploying a profile, I am getting this error: [sf:deploy] Component Failures: [sf:deploy] 1. profiles/My Custom Profile.profile -- Error: You may ...
0
votes
2answers
25 views

Packaging changes to Standard Picklist Field Values

I'm trying to package changes (added Received) to the Status picklist field on the Order object. In the package.xml I have added the following: <types> <members>OrderStatus</...
0
votes
0answers
32 views

How To Delete Apex Class Using SFDX and RunSpecifiedTests

Using SFDX trying to delete single Apex Classes in Production. sfdx force:source:deploy -u [orgname] -l RunSpecifiedTest -m ApexClass:ClassName Error "TestClass Cannot Find ClassName" I ...
0
votes
0answers
11 views

getting Error-ERROR running force:org:create: The request to create a scratch org returned an unexpected status

getting below error while creating scratch org- ERROR running force:org:create: The request to create a scratch org returned an unexpected status I am using this command- sfdx force:org:create -f ...
0
votes
0answers
20 views

SFDX Package lookup filter deployment issue

I am trying to create an unmanaged package which has one custom object with lookup filter on a master detail field. <fullName>Contact__c</fullName> <externalId>false</externalId&...
0
votes
0answers
23 views

Mavensmate: Workaround for Client Identifier Error

We all know that Mavensmate was put to rest not too long ago but I've seen a few forums discussing the possibility of bring it back to life with a client identifier workaround? Can someone explain ...
0
votes
1answer
24 views

ANT Migration Tool deployment error: “Bad file: XML document structures must start and end within the same entity”

I know what this error means, but the XML I'm deploying (below) was generated by the Migration Tool after running ant retrieve, and every XML validator I've tried says it's valid XML, without typos. ...
0
votes
0answers
324 views

Invalid or missing required CSRF token when deploying metadata via Workbench

I am merging orgs and have the prepped all the package.xml files. I've also retrieved the metadata. When I deploy to the target org, I get this error message: 403 Forbidden Invalid or missing ...
0
votes
0answers
43 views

Deploying Custom IOS App to Publishing Service “failed to verify code signature” error

We have a custom IOS app we built using the salesforceMobileSDK with no issues. We just added ServiceKnowledge and ServiceCore frameworks via COCOA Pods. The app launches and runs fine directly ...
0
votes
1answer
19 views

Retrieve Case Action - Send Email Metadata in VsCode

I have made changes to the pre-defined field values section of Case Action:Email in my scratch org. Upon pulling, VsCode retrieves nothing. Can someone help? How should I commit this change and under ...
0
votes
0answers
75 views

View Flow Usage and Flow Event Data Permission is conflicting across orgs

I noticed today that a permission conflict is resulting in the failure of a deployment and we have no clear way to fix it. The standard admin profile in Production has the View Flow Usage and Flow ...
0
votes
0answers
14 views

Need to change the Tab name in through metadata

I want to change custom tab name using metadata deployment. I have below Metadata where i have included Label but still its not reflecting <?xml version="1.0" encoding="UTF-8"?> <CustomTab ...
0
votes
0answers
20 views

SFDX: Deployment Fails for report types with the following Error “Could not find field WhatCount in table Activity”

I have been trying to push in my repository code to my scratch org for almost 3 days now but every time I push it using the sfdx force:source:push -f -u <alias> command, I almost every-time ...
0
votes
0answers
12 views

Error trying to deploy an unlock package

I installed a new unlock package version on a sandbox and I got this error: "​Controller ​'apex://OController' with public method must be in the same package as component 'markup://c:OLSFPendingTrans'....
0
votes
0answers
19 views

Deploy cache partition to org without Platform Cache enabled

I wanted to deploy PlatformCachePartition Metadata to an org without having to enable or buy PlatformCache from Salesforce. The org would not use the PlatformCache just contain the pushed Metadata. Is ...
0
votes
0answers
65 views

Error while deploying using Ant - (ProfileName.userCanEditRecordTypeSettings error)

Our deployment started to fail with the following error. Has anybody faced the issue as well? I wasn't able to find much about it out there or here.... Thanks. deployCodeCheckOnly: [antlib:com....
0
votes
0answers
53 views

Quick Deploy via ANT Not Working - UNKNOWN_EXCEPTION: invalid parameter value

I am attempting to use the Quick Deploy functionality through the metadata API, using the Ant Migration tool, and it is not working for me. I have setup a Jenkins job that passes the sf.​...
0
votes
0answers
38 views

Removing controlling field values (picklist dependencies) during deployment

We have multiple orgs on which we are running deployments using jenkins and ant deployment tool. We have problem when removing dependencies during deployment. So basically I'm able to remove ...
0
votes
0answers
12 views

how can I see the (Deployed)package thrown trigger

Firstly I was write Trigger for my one a object its working And after i wanted to write for production but i learn its imposible i need the deploy Thats why I install ForceCode in Visual Studio Code ...
0
votes
1answer
70 views

infonot a valid enumeration for type class com.sforce.soap.metadata.deployproblemtype

While validating Package.xml from Force.com IDE to Salesforce org, I am getting error: infonot a valid enumeration for type class com.sforce.soap.metadata.deployproblemtype <?xml version="1.0" ...
0
votes
1answer
72 views

timed out error in salesforce dx when on office network

When I am using my office network I am not able to deploy code to any sandbox using salesforce dx it shows the timed out error and when I use sfdx force:org:list in CLI it shows all org's connected ...
0
votes
0answers
499 views

Send Email is disabled or activities are not allowed. Enable Send Email and allow activities, then try again

I'm getting the following error while deploying the case page layout to another org vi Copado. Deployment Error: [QuickAction Case.Custom_Email] Send Email is disabled or activities are not allowed. ...
0
votes
0answers
34 views

Deployment of apex code to production

I am trying to get rid of some old apex code in a Salesforce org. There are few test classes on production org which are broken because 1) they were written a few years back with old API version or 2) ...
0
votes
0answers
113 views

Deployment Error for all Objects : “Cannot create a new component with the namespace <objectname>”

I am trying to deploy few files to a Salesforce Sandbox org from my Bitbucket repository master branch via Bitbucket pipeline for the first time. But getting a specific error for all the objects meta....
0
votes
1answer
14 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
48 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
31 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
16 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
4 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
24 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
143 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
28 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
26 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 ...