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.

314 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
349 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
235 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
158 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
46 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
703 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
338 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
518 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
14 views

Shield field tracking

I would like to validate if any new development will affect already existing parts of an org which are already in place. This would be for such elements as Reports, Workflows, Process Builders, Flows ...
0
votes
0answers
29 views

Error while deploying flexipages xml

Am facing issue while deploying lightning page related changes to other org using [flexipage]xml file. Error: All Component Failures: 1. flexipages/APTS_Quote_Record.flexipage -- Error: The ...
0
votes
0answers
20 views

is Sharing rules get recalcuated on deployment of Same OWD

I have one repository where i have OWD for account,contact and some other custom objects which is same as in salesforce org. Is Sharing rules getting recalculated if I deployed the same OWD. Please ...
0
votes
0answers
21 views

Notification bell does not display after deploying to sandbox using salesforce dx

We have used Salesforce dx to develop salesforce community and deploy. After retrieving the community files and deploy that into our target sandbox, the notification bell disappears. However, when I ...
0
votes
1answer
21 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
9 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
26 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
15 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
39 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
24 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
0answers
19 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
32 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
12 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
21 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
24 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
60 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
35 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
52 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
12 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
29 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
24 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
37 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
545 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
51 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
23 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
131 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
16 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
37 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
13 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
24 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
79 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
66 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
63 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
123 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
98 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
621 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
37 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
248 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....