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.

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

Trying to deploy Automatic Attachment Cloning trigger between two custom objects [duplicate]

I try to deploy a trigger from sandbox tp production but my test class does not fill the code coverage of the trigger it is supposed to check. I am new to Apex (or Java) & don't know what is ...
3
votes
0answers
59 views

VS Code deploy: Maximum call stack size exceeded

I'm trying to deploy code in VS Code to an org. I'm getting the following error. The package.xml is valid, as far as I can tell. Starting SFDX: Deploy Source to Org 14:57:24.268 sfdx force:source:...
1
vote
2answers
218 views

Code Coverage Failure trigger deploy on production

i have a code for trigger: trigger SendDisbursement on Opportunity (after update) { if (!System.isFuture()){ for (Integer i = 0; i < Trigger.new.size(); i++) { if (Trigger.old[i]....
1
vote
0answers
35 views

VS Code SFDX Salesforce CLI Deployment issue

From VS Code when trying to run below command sfdx force:source:deploy --manifest c:\temp_worspace\temp-folder\manifest\package.xml --json --loglevel fatal Getting below error ...
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 ...
1
vote
1answer
26 views

Dashboard deployment fails with Missing required fields: [ReportColumn]

I'm having an issue when deploying a dashboard from a sandbox to a production instance using Change Sets and the Salesforce CLI. Both result in the same error message: TYPE FILE ...
1
vote
1answer
23 views

Salesforce In - App Guidence

Please let me know if there is any way to deploy the in-app guidance in the Salesforce by creating the package XML from the lower org to higher org. In app guidance link: https://help.salesforce.com/...
0
votes
0answers
28 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 ...
1
vote
0answers
30 views

Unknown user permission: UseMySearch

Why am i getting this error while deploying my profiles into another sandbox. Please let me know hwo to solve this. i have tried verifying my components in the change set and everything looks fine
0
votes
0answers
13 views

How to track why community changes have been undone

My team has reported several times regarding their community changes have been overwritten (Changes which are there once but disappear after a certain period of time). Originally they though it was ...
1
vote
0answers
48 views

SFDX deploy ECONNRESET

During a sfdx deploy, the CLI launched a random exception: ERROR running force:source:deploy: read ECONNRESET Build step 'Execute shell' marked build as failure Someone has an idea of the problem? ...
0
votes
0answers
19 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
1answer
45 views

flow deployment error about api version

after launching this command from the visual studio code terminal : sfdx force:source:deploy --sourcepath .\force-app\main\default\ --apiversion 47.0 I receive the following errors: force-app\main\...
1
vote
1answer
33 views

Can I deploy higher version process builder from sandbox to lower version in production?

I have a process builder with version8 in sandbox and want to deploy to prod which already having its version1.I have a doubt that will it deploy or not because another team deploy from sandbox to ...
1
vote
0answers
16 views

Issue in deploying Lead Flexipage with Einstein IQ component [closed]

We are using Bitbucket Pipelines to do CI/CD with Salesforce using a Sandbox development model and the Salesforce CLI to retrieve declarative changes and to deploy. We have recently enabled ...
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 ...
1
vote
1answer
59 views

“The image asset used for Logo isn't shared with the organization” Error on Custom App deploy

I am deploying with sfdx a custom app that has a reference to a Content Asset (Logo) - even though the Logo is in the same package I keep getting the following error: The image asset used for Logo isn'...
3
votes
0answers
26 views

What causes leftover XML to exist in files when a component is deleted via the UI?

I've had interesting situation come up today when doing a metadata validation on a very large package. An error was occurring on a Page Layout where it was expecting that a QuickAction should also be ...
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
37 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 ...
3
votes
0answers
31 views

Is it possible to activate specific version of process builder(or flow) through API?

For the situation shown in the above picture, is it possible to activate a specific version of process builder(or flow) through API?
3
votes
1answer
78 views

Programmatically running “Quick Deploy”

After successfully completing a checkOnly deployment, is it possible to programmatically run the "Quick Deploy" action? Example: sfdx force:mdapi:deploy -d dist/my-pkg -w 5000 -c I don't see ...
1
vote
0answers
43 views

ERROR While running sfdx force:source:deploy command

I am getting an error while running: sfdx force:source:deploy -u Sandbox -x pathToPackage.xml My deployments were just fine but after I did a sfdx force retrieve from a sandbox then I started to get ...
1
vote
1answer
37 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
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 ...
1
vote
1answer
35 views

Validate deployment archive locally, i.e. without SF org

Is there any way to validate SF deployment archive locally, i.e. without triggering deployment to SF org? The tool I'm looking for should be able to detect invalid references in Apex class, Aura ...
1
vote
0answers
79 views

Salesforce deploy error flow: The processMetadataValues entry for TriggerType has an invalid value

I am trying to deploy to a scratch org, but it fails on 4 flows with the following error: The processMetadataValues entry for TriggerType has an invalid value. The current method of deploying is ...
0
votes
1answer
34 views

Deployment of destructive changes to production and tests execution

We need to remove trigger and apex test class for it from production org. We've already put together destructiveChanges.xml and are going to deploy it to prod org via ant migration tool. The question ...
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 ...
3
votes
0answers
149 views

LWC: File size restriction on js file

Today when deploying our code base we've run into the following error: lwc/orderGrid/orderGrid.js-meta.xml -- Error: Failed to save Lightning Component Resource [lwc/orderGrid/orderGrid.js] of ...
1
vote
2answers
111 views

Retrieve Standard Picklist Value Sets using package.xml

There are standard picklist fields like Premium Frequency on Insurance Policy object in Financial Services Cloud package. We have added some new picklist values for this field. However, we are not ...
0
votes
1answer
18 views

Session Setting in Profile through metadata

Is this possible to update session-setting in profile using metadata deployment i.e through package.xml.
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
1answer
48 views

Custom setting deployment

I have a custom setting called CAT_Custom into which i have a URL field called CAT_URL. I have different values for this URL field in both PROD and in STAGE environments. Now when i deploy this ...
4
votes
3answers
75 views

VS Code Deploying User Interface similar to MavensMate?

One of the things I loved about MavensMate was how easy it was to deploy Metadata from one SFDC Org to another. See image below - it allowed you to select which metadata types you wanted to deploy and ...
1
vote
1answer
36 views

Maintaining file/folder structure during outbound change set

I make/deploy my APEX and LWC components through VS Code and SFDX and recently ran into a problem where, when I went to deploy a lwc to another sandcopy, I noticed that the folder/file structure I had ...
3
votes
1answer
88 views

Classifying metadata into destructiveChangesPre.xml vs destructiveChangesPost.xml

I understand how both destructiveChangesPre.xml & destructiveChangesPost.xml work, but I'm wondering if it's possible to algorithmically classify metadata deletions between the two (theoretically; ...
0
votes
1answer
26 views

How to enforce code coverage using Salesforce Migration Tool (Ant) whilst targeting a sandbox?

I am preparing an Ant package to move code to production. However, many of the existing orgs tests are very out of date and are failing. At this point, my only option is to select tests that cover the ...
0
votes
0answers
59 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 ...
1
vote
0answers
15 views

Sfdx project with typescript build process

I have an sfdx project. Some components are using typescript and require compilation as part of the build process. Building these files in my project dirties the directory with these transient js ...
1
vote
1answer
40 views

Deploy Commented Out Apex Class

In my Sandbox i have Generated some Apex Classes from WSDL (Synchronous and Asynchronous as default). I have commented out all the async code because i do not use it for the time being, but i don't ...
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
1answer
23 views

API Version and Ant Deployment tool

The package.xml in my git repo has an API version near the bottom: <version>47.0</version> When I deploy to a development branch org, it's OK. When I retrieve from the branch org, there ...
0
votes
1answer
17 views

Heroku: running a MongoDB and Flask site, defined with Docker-Compose

I have a docker image that I've made using a single docker-compose.yml. It is a very simple Flask and MongoDB site, defined as such: version: '3' services: website: build: . ...