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
0answers
17 views

Deployment Settings between Developer & Partial Sandboxes

I'm trying to set up deployment settings between a Developer and a Partial Copy Sandbox. I have the Change/deploy change set permissions checked in my profile. In deployment settings, I've checked the ...
-1
votes
2answers
39 views

invalid fullname, must end in a custom suffix ( for ex. __c )

I m getting error invalid fullname, must end in a custom suffix ( for ex. __c ) when deploying changes via Github (2 custom fields on , one on lead another on the Opportunity )to another sandbox. Also ...
0
votes
1answer
32 views

Deployment error - The AppMenu called 'AppSwitcher' is standard and cannot be deleted on pushing to scratch org

I am trying to do a simple push of my vscode to my scratch org using sfdx force:source:push -u test-zqrn4ol3ypft@example.com and I run into this error Type Project Path Problem Error force-app\main\...
0
votes
1answer
45 views

Invalid field:SOLUTION.ISSUE in related list:RelatedSolutionList when deploying to scratch org

I have retrieved my entire metadata from the dev org and tried pushing it to my scratch org that I created using org shape sfdx force:org:create -f config/project-scratch-def.json --durationdays 2 --...
0
votes
1answer
48 views

Unsupported metadata that cannot be deployed thru Metadata API

I'm in the process of deploying metadata from one org to a completely unrelated org that is downgrading from Unlimited license to Enterprise. I've read the documentation on the unsupported metadata ...
0
votes
0answers
37 views

Duplicate List Views After Deployment

Every now and then, our users report that some list views get duplicated, and this usually occurs after a deployment. Our list views are tracked in source control and deployed by a deployment pipeline....
0
votes
2answers
36 views

Is this correct way of tackling Code Coverage scenarios?

If someone asks, there are n Apex classes with varying code coverage, some less than 75 & some greater than. What will happen while deployment? So the answer would be - (For Apex) all lines ...
2
votes
3answers
312 views

How to prevent accidental config changes made directly in Production?

Too many times we've had developers (as well as our release manager, who also dev's) inadvertently make a change directly in Production because they had the Prod org open alongside their dev org in ...
3
votes
1answer
70 views

How do I set "enableHistory" to "true" on a managed object in a scratch org?

I'm trying to run the following code: cci task run deploy --path force-app\main\default\objects\ExpensivePackage__Their_Custom_Object__c --org my_scratch_org_alias Against an ...
1
vote
0answers
12 views

RDKit not working on Heroku

I want to deploy a Flask app on Heroku that uses the RDKit package. I installed it with the requirements.txt and it worked fine, but since the new version rdkit-pypi==2021.9.2 it doesn't work anymore. ...
1
vote
0answers
32 views

sfdx.exe deploy approval process fails with "The approver null has an invalid type. Replace PreviousApprover with a valid enumeration value."

I am working with sfdx Trying to deploy a changed approval process from my sandbox to production I am getting the approval process with no problems with this command: sfdx force:source:retrieve -m ...
0
votes
1answer
49 views

sfdx.exe deploy WorkflowRule fails with "not found in zipped directory"

I am working with sfdx Trying to deploy a changed workflow from my sandbox to production I am getting the workflow with no problems with this command: sfdx force:source:retrieve -m WorkflowRule:...
0
votes
0answers
40 views

Ways to upload code and other metadata to Production

What are the best options to deploy metadata from Sandbox to Production? Our installation consists of many installed managed packages, custom objects, fields and a lot of Apex code. We had used ...
0
votes
1answer
22 views

Unmanaged custom object tab already exists, package upgrade cannot create another tab

I am trying to upgrade managed package in salesforce and I got the following error: Type: Installed Package Error: (ObjectA__c) Unmanaged custom object tab already exists, package upgrade cannot ...
0
votes
1answer
34 views

Using metadata api to deploy to production org

I used the sfdx force:mdapi:retrieve --retrievetargetdir force-app -k manifest/package.xml command to pull down the source metadata from a production org. The retrieval process successfully ran and ...
0
votes
1answer
34 views

Migrating metadata to a brand new org

I'm working on migrating metadata and data from one org to a clean brand new org. The purpose for this migration is because we are moving from unlimited to enterprise edition and making this change ...
0
votes
1answer
44 views

Unknown type specified in package.xml

I have the following package.xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> &...
0
votes
0answers
16 views

Is it possible to deploy profiles and permission sets and skip the not found dependencies?

My question is: Is it possible to deploy profiles and permission sets and skip the not found dependencies? Problem: The profiles and permission sets that I want to deploy are quite big and they always ...
0
votes
0answers
19 views

Retrieve source from org not grabbing files - VS Code

I have a Sandbox that I working with. I have created a new folder on the desktop 'Working_San', I create a project 'Standard Project Template', and then I authorize the org. I am able to sign in ...
0
votes
0answers
42 views

Failed to deploy source to org

Given: I am trying to deploy helloWorld project but its unable to deploy project and giving errors listed below.Instead of getting ended with exit code 0 I am getting Deploy Errors Create ...
0
votes
1answer
20 views

Deployment issue with deleted package references "Only components in the same namespace as the organization can be created through the API

I have package originally and deleted that in source org and trying to do deployment to the target org after deleting without that package references but still its referencing and giving deployment ...
0
votes
0answers
17 views

Deploy unpackaged community to namespaced scratch org | community may have components with namespaces

We're looking to shift from non-spaced to namespaced scratch orgs for Development purpose. However there are few issues coming with community deploy. Is there any way to deploy community to namespaced ...
0
votes
1answer
42 views

Gitlab pipeline: What sfdx command can I execute to do the same that Quickdeploy does in Salesforce Deployment Status Setup page?

I have a pipeline in Gitlab that the last step is only to push in production. But there's no need to execute all the tests again once the previous step/stage already did it. The previous command does ...
3
votes
0answers
147 views

SFDX: Deploy Source to Org failed to run - File or folder not found

Ok, I have my VScode setup to deploy to my org on save - I've done this TONS of other times, I have it setup the same way as always. I'm hooked up to an org, I can retrieve source from org, I can ...
-2
votes
1answer
26 views

Why isValid is true but failed to deploy with error 'Dependent class is invalid and needs recompilation'?

Why isValid = true but even though still failed to deploy with error 'Dependent class is invalid and needs recompilation'? When I run query Select Id, Name from ApexClass where isValid = false it ...
1
vote
1answer
102 views

sfdx force:source:deploy throws "INVALID_OPERATION: testLevel of NoTestRun cannot be used in production organizations"

I am trying to deploy config only changes (only a permission set change) and while running: sfdx force:source:deploy -x manifest/package.xml -u Prod I get the error: INVALID_OPERATION: testLevel of ...
0
votes
0answers
34 views

Survey Deployment via Package.xml &/or with Managed package

I have few pre-defined Surveys configured in my scratch-orgs. Want to move the same further in other environments. As per metadata coverage site - https://developer.salesforce.com/docs/metadata-...
1
vote
1answer
416 views

How to resolve "Required field is missing: name" when deploying Flow?

I am deploying a flow using SFDX using metadata format. Here's the relevant package.xml entry: <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap....
1
vote
0answers
98 views

How to deploy experience bundle and sitedotcom from one sandbox to other sandbox?

We are trying to push experience bundle, sitedotcom , network , site via azure devops to another sandbox and other environments. The problem we face is everything looks fine in the git branch. But ...
0
votes
0answers
16 views

Not able to deploy Flow with Survey Action

I am trying to deploy a lightning flow with a survey action in it. I have included survey action in the same package explicitly still I am getting the following error : Error sf-mdapi-deploy/flows/...
-2
votes
1answer
84 views

Method does not exist or incorrect signature...?

I'm trying to deploy/validate a class but getting this error, even though the class is working in the sandbox. Method does not exist or incorrect signature void buildHTTPRequest(String,String,String,...
0
votes
0answers
16 views

Field Validation Error while deploying Einstein Dashboard

I have a dataflow called "Market_Dataflow". While deploying this dataflow in lower environments, it got validated and deployed without any error but while deploying into Production, we were ...
0
votes
0answers
20 views

Profiles deployment & Ant [duplicate]

This may be a noob question but please point me in the right direction. I'm interested to know how does the profile object is deployed so that it doesn't overwrite the parts that are not deployed. For ...
1
vote
1answer
127 views

Can't find Custom Metadata Records in Change Set Components

I have Custom Metadata Records, the Type being in an unlocked package, which I want to add to an Outbound Change Set. I have all Custom Metadata Types enabled for my Profile (even necessary?), but ...
0
votes
0answers
20 views

How to enable MultipleNavigationMenu permission?

I'm trying to extract the NavigationMenu metadata from Salesforce so I can deploy the Object tabs on the Navigation Bar via one of the Salesforce CI/CD tools. One of the support agents told me I ...
0
votes
0answers
37 views

"Type name already in use" error when deploy to org

When I'm trying to deploy my class from one sandbox to another via Copado I'm getting "Type name already in use: {myClassName}" error. Error is throwing in Test class. It points class and ...
0
votes
1answer
17 views

How to change Salesforce Sites Default behavior when user isn't logged in without setting up new domain

I have a site. It's been deployed into the sandbox I'm working in and production via copado. I've not set up any domain for either. The site works almost perfectly. They have asked me to change from ...
0
votes
0answers
19 views

adding an existing user to my sales app

scenerio: .......both user A and B are on salesforce...... user A runs a little Ad agency, user B requires the help of User A, as a mentor. My Question: why can't it be possible for user B to invite ...
0
votes
1answer
37 views

VS Code: deployed duplicate fields?

I needed to add 100 fields in a sandbox. I saw that VS Code showed the fields as xml under \force-app\main\default\objects\This_Object__c\fields\field1__c.field-meta.xml Thinking myself clever, I ...
0
votes
0answers
28 views

How can I remove or replace literal SF IDs generated in report metadata?

I've created a new report based on a custom report type that includes a related field via lookup. The report works great, but the report metadata contains a literal SF ID which makes deployments fail ...
0
votes
2answers
199 views

Deployment of LWC causes unknown duplicates error in lwc subfolders

my team and I are trying to deploy an LWC (tried to both a scratch org & a dev org) using the following command: sfdx force:source:deploy -p "force-app/main/default/lwc/internal/lwc/...
-1
votes
1answer
54 views

Can't create aura definition bundle if there is already a lightning component bundle with the same name and namespace

*** Deploying with SOAP *** MDAPI PROGRESS | ██████████████████████████████████████░░ | 41/43 Components === Component Failures [2] TYPE FILE NAME ...
0
votes
1answer
26 views

Deployin Profiles in Salesforce [duplicate]

Since we can't deploy only profiles in a change set and that it requires at least one component with that profile, I've been wondering if when deploying the change set are all profile permissions ...
0
votes
1answer
34 views

Transfer app from a scratch org

I've developed a flow app that includes: custom objects and custom page layouts and record types screen and autolaunched flows approval process process builder So, I did it in my scratch org. What ...
0
votes
2answers
127 views

Deployments across orgs that are different versions

I am working in an environment where my Dev sandbox is API 53.0 and my destination QA sandbox is API 52.0. I use the metadata api to deploy changes but I am running into some frustrating issues when ...
2
votes
2answers
124 views

Update active flow via sfdx

Is it possible to change the status of an active flow to inactive via sfdx? I tried it with sfdx force:data:record:update and following query: SELECT ActiveVersionId, MasterLabel, DeveloperName from ...
9
votes
4answers
5k views

Problem when deploying FlexiPages on Winter '22 org --> "The 'xxxx' component instance doesn't have an identifier specified."

When deploying a FlexiPage to a Winter'22 org I am facing this error: "The 'xxxx' component instance doesn't have an identifier specified." How can I fix it?
1
vote
0answers
45 views

UNABLE_TO_LOCK_ROW error on user object triggered by platform event trigger only during deployment of destructiveChanges.xml

We have a platform event trigger that fires when users login. It fires hundreds of times per week and does not throw any errors. Three times in the past week, it has thrown an UNABLE_TO_LOCK_ROW ...
3
votes
0answers
292 views

Payload Error - Unknown type name 'CustomFieldTranslation' specified in package.xml

I want to deploy / retrieve CustomFieldTranslations for any object to a Sandbox, but receive an error: Unknown type name 'CustomFieldTranslation' specified in package.xml I tried to deploy via path, ...
0
votes
1answer
46 views

Change set - What's deployed with my object

I have a question regarding change set: I need to deploy a standard object using change set and I was wondering what gets deployed if I just include my object in my change set, I know that when we use ...

1
2 3 4 5
29