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.

339 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
52 views

I'm getting a 404 on my heroku app because heroku cannot access the static js files that it built

So, I had a heroku build issue yesterday, that I managed to sort of get past (at least I'm no longer getting any build errors on my heroku deploy). However, now, I'm having a new issue. When I ...
0
votes
1answer
61 views

Invalid reference FullCalendarJS of type resourceUrl in file fullCalendarJs.js

I am trying to deploy to my dev org a custom calendar lightning component https://github.com/Gurenax/sfdx-lwc-fullcalendarjs. I have copied the code but the problem is when i try to deploy it i get ...
0
votes
0answers
35 views

Deploy Standard Object Picklist Values to Scratch Org. API version 48

I'm getting dependency errors when I attempt a test deployment Lead.Status picklist values to a scratch org using force:mdapi:deploy (API 48). The pickilst values are in LeadStatus.standardValueSet-...
0
votes
1answer
210 views

Unknown type name 'SurveySettings' specified in package.xml

I have retrieved source with a package.xml which includes following segment <types> <members>*</members> <name>Settings</name> </types> <version>...
0
votes
0answers
19 views

Ignoring listViews from the deployment Pipeline

We are trying to ignore listViews from our deployment pipeline by adding listViews to .forceignore files. When I test to deploy a Case listview by making a test change, I could see, it tries to deploy ...
0
votes
0answers
25 views

Is there a way to do 75% org wide coverage checking before I check-in my codes to a sandbox?

Is there a way to make Sandbox like Production that will prevent the deployment with full validation if the overall coverage is under 75%? I am building CI/CD in GitLab and have a sandbox for UAT and ...
0
votes
0answers
23 views

Want to delete custom fields of Goal and Metric standard objects from manage package beta version

I created a manage package. I didn't require custom fields on Goal and Metric standard object. I want to remove it from manage package. I don't require Goal and Metric standard object in my manage ...
0
votes
0answers
42 views

Change Set Successfully deployed, no changes

I had made some changes to the picklist values on the "Event" object (which is tied to a global action), and other minor changes. The changes have successfully deployed to the production from the ...
0
votes
0answers
16 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
47 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
47 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
67 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
36 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
50 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
228 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
120 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
53 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
76 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
17 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
51 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
63 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
210 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
137 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
84 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
15 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
25 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
67 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
1k 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
96 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
53 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
217 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
20 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
16 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
45 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
131 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
116 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
199 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
420 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
305 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
83 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
1answer
39 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
1answer
171 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
499 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
39 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
71 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
49 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
939 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
2answers
308 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 ...

1
3 4
5
6 7