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
1
vote
2answers
2k 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. ...
1
vote
1answer
466 views

Invalid property [enableActionsInNative] in component [force:highlightsPanel] when deploying

Came across these two errors when deploying my first change set. I've read another thread where it says to delete your highlights panel, but I'm not sure how to do that. Do I delete the highlights ...
0
votes
1answer
24 views

Error while deploying profile

When trying to deploy profile to sandbox via CLI, I am facing error: You may not turn off permission Read All ContactEncounter for this License Type. The profile is standard Sales Insights Integration ...
6
votes
7answers
939 views

Error deploying to org: “Cannot read property 'success' of undefined”

When Deploying anything from VSCode I get the same error everytime. I have created a new project in VSCode using SFDX. I am able to authorize and retrieve from org, but anytime I deploy I get the same ...
0
votes
0answers
30 views

How to test code coverage for Unlocked Packages when data cannot be inserted?

I am running into an issue related to SFDX packaging and was hoping you could help me. To provide some context: I am using the ServiceChannel object for some tests related to PendingServiceRouting, ...
5
votes
2answers
292 views

Why is SFDX deploy throwing a false warning/error regarding forceignore v2 and double asterisk wildcard? (**\.*)

The message warns about **\.* even though that isn't present in the forceignore file. (node:436) Warning: The .forceignore file doesn't adhere to .gitignore format which will be the default ...
0
votes
1answer
25 views

How do you migrate specific Community pages from one sandbox to another?

We can deploy community pages according to https://help.salesforce.com/articleView?id=networks_migrating_from_sandbox.htm Is there a way to deploy few pages without deploying all pages. e.g. specify ...
0
votes
0answers
21 views

SalesforceCommerceCloud-service-cloud-connector(B2C) deployment issue

SalesforceCommerceCloud-service-cloud-connector(B2C) deployment issue Hello Eveyone, I am reaching out for help with SalesforceCommerceCloud-service-cloud-connector(B2C) https://github.com/...
0
votes
1answer
24 views

Code Coverage Failure Your code coverage is 73%. You need at least 75% coverage to complete this deployment [duplicate]

I did run all tests in my sandbox and also tried to run them each individually - the overall avg code coverage is around 88%. However, when i try to validate my change set in prod, it is throwing an ...
7
votes
2answers
6k views

Run Specific Tests with Ant Deploy specified by command line or file

When deploying with ant you have the option to specify which tests to run, e.g. <target name="deploy"> <sf:deploy username="${sf.username}" password="${sf.password}" ...
1
vote
2answers
34 views

How to deploy FlexiPage with error: Invalid property [enableActionsInNative] in component [force:highlightsPanel]

We have made many changes via Lighting App Builder to Lighting Pages (FlexiPages). When we try to deploy these changes using Gearset, we get the error: Invalid property [enableActionsInNative] in ...
1
vote
1answer
308 views

How to set org wide default home page through metadata api? Not for specific app or profiles

This question has been asked by few previously and i see the answers are not pointing to the correct scenario I am having a need to deploy a new lightning home page and set it as default for the ...
0
votes
1answer
859 views

ant deploy unable to find valid certification path to requested target

I'm connected to a corporate network and getting this error when trying to deploy to salesforce using Ant. Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find ...
3
votes
1answer
2k views

Ant profile deployment - You cannot deploy to a required field Object_Name__c.Field_Name__c

I am getting the below error when I am trying to deploy a new profile: You cannot deploy to a required field Object_Name__c.Field_Name__c. I saw the solution posted here: Force.com IDE profile ...
0
votes
2answers
188 views

SFDX Lightning Page Deployment Issues Property 'itemInstances' not valid in version 47.0 [duplicate]

I trying to deploy my package while validating changes salesforce given this error "Lightning Page Property 'itemInstances' not valid in version 47.0" do you guys have any insight for these ...
3
votes
0answers
26 views

Error “permissionsets/MYPERMSETNAME'S.permissionset — Error: insufficient access rights on cross-reference id” when deploying using ANT

We are currently using Azure Pipelines as our tool for CI/CD. For our Deployments, we are currently ANT and everything was working fine until we added "Permission Sets" and "Profiles&...
0
votes
1answer
28 views

Can we add lwc component's dependency on a custom object of 3rd party apps?

I am trying to make an lwc component for a specific 3rd party ( app exchange app ) so that they could easily add our components in their app from UI builder. For that I am using targets and ...
1
vote
0answers
19 views

Deploying EmailServicesFunction metadata file

I have created an Email Service Function which looks something like below: <?xml version="1.0" encoding="UTF-8"?> <EmailServicesFunction xmlns="http://soap.sforce.com/...
0
votes
0answers
16 views

Metadata migration

I migrated the custom metadata type from lower to higher environment but I am unable to view any records. Is it anywhere related to profile access issue.
0
votes
1answer
17 views

Tried validating changeset and got one error

While validating changeset got this error. Please help me out
2
votes
2answers
526 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\...
2
votes
1answer
426 views

Deploy Approval Process using Mavensmate

I'm trying to deploy an approval process to another production org using Mavenmate deploy to server. My problem is that the approval process I'm trying to deploy has an assigned user in the approval ...
6
votes
1answer
292 views

What determines the permissions for a profile deployed with change sets?

Question For a new profile created in a sandbox and deployed with a change set it'll carry with it the settings for all other metadata in the change set plus all settings that aren't specifically ...
0
votes
0answers
11 views

Move objects , code etc from sandbox to Dev org [duplicate]

Is there a way we can move Objects, profiles, Apex, LWC etc from a company provided partial sand box to Dev Org? When I googled I am seeing lots of Answers also but what I feel is if there is any ...
0
votes
1answer
31 views

How can I transfer service cloud customizations from an Enterprise Developer Sandbox org to an Unlimited Developer Sandbox org?

I have created and customized a service console app in our developer sandbox org which is an enterprise edition and want to put it in a scratch org for further customization. After that I would deploy ...
0
votes
1answer
24 views

Channel Program object is not available in scratch org

I'm creating a Scratch Org. Following is my command. sfdx force:org:create -f config\project-scratch-def.json --setalias My-Scratch-Org --durationdays 30 --setdefaultusername --json But then once the ...
4
votes
1answer
3k views

Report Type – Ant Deployment Errors (Invalid Field Name & Duplicate Value Found)

I am trying to deploy Reports and Dashboards via Ant tool. I get this error for Report Type reports/JMT_Reports/Expiry_and_Renewal_Status.report -- Error: Invalid field name: Lease_Unit__c$...
2
votes
3answers
102 views

Unable to deploy OpportunityLineItem.Name to production org from sandbox

I have what looks like a standard field OpportunityLineItem.Name in my sandbox. When I compare the sandbox with the production org using Gearset, it identifies the field is missing, but won't let me ...
0
votes
2answers
27 views

Copy METADATA from Developer Edition to Scratch ORG

I'm trying to move the metadata from developer edition or say to Scratch ORG. What are my options in order to do the above? I'm thinking the following but I'm not sure if this is the best practice to ...
0
votes
1answer
60 views

Cannot deploy flow, Getting error 'Screen component 'ComponentName' is missing a type mapping 'T'

I have created a flow screen component that work for multiple object. In the flow, I have created a collection variable. I have created an LWC component that uses the collection variable. When I try ...
0
votes
0answers
30 views

Deploying a Sales Cadence to another org

I would like to know if it is possible to deploy an active sales cadence to another org using outbound changeset or if the only possible way is to create the same sales cadence in the other org?
0
votes
0answers
24 views

Sharing Rule Deployment Error: Picklist value does not exist

I'm trying to deploy sharing rules via CI/CD but the break builds with the error:  Picklist value does not exist I do not reference any picklist values, so I'm a bit confused as to what caused this ...
2
votes
2answers
753 views

Can We Create a Change Set via a Package.xml?

Is it possible in Workbench to create a changeset in the target sandbox using a package.xml? See, we are going to deploy 300 components from a UAT sandbox to a PRE-PROD sandbox without recreating the ...
7
votes
1answer
919 views

Incremental/Partial Deployment using SalesforceDX

Is there any way to have a continuous integration in place that does Incremental/Partial Deployment using SalesforceDX. So that only the components that are changed are deployed, instead of a full ...
0
votes
1answer
54 views

How do I add ContactPointAddress.PreferenceRank field?

Hi I am comparing a sandbox to production and noticed that two additional fields are present on the Contact Point Address object in the sandbox. Preference Rank Usage Type I don't think they are ...
1
vote
0answers
38 views

SFDX force:source:deploy with -x parameter not deploying all components in package.xml

I've just encountered a very troublesome issue using sfdx with the -x parameter to deploy components using only the ones listed in package.xml I have a one big sfdx project folder where I retrieve all ...
0
votes
1answer
835 views

How can I resolve the deployment error “Error: Permission Edit Self-Service Users depends on permission(s): Edit Contact, Read Contact”

When attempting to deploy a profile with the "Edit Self-Service Users" permission enabled, I am encountering an error: Error: Permission Edit Self-Service Users depends on permission(s): Edit ...
3
votes
1answer
64 views

Is there a way to change deployment settings using sfdx or on scratch org creation?

The deployment settings (Setup > Deploy > Deployment Settings) contain a Boolean "Allow deployments of components when corresponding Apex jobs are pending or in progress" which ...
2
votes
1answer
648 views

“Destination organization must be different from the Project Organization” error message

I have been using Force.com IDE to deploy my code to my org and every now and then I get the error "Destination organization must be different from the Project Organization". I found this article ...
1
vote
3answers
744 views

Bulk data upload in salesforce with duplicate check

I want to upload 1000 Account and Contact records to salesforce. I am not sure how many of them are duplicate. I cant use data loader as it will check the duplicate records in batches, so it will not ...
1
vote
2answers
58 views

how to deploy quote templates in salesforce, I think we can't deploy using changesets? Is there any alternate ways to deploy? [closed]

https://trailblazer.salesforce.com/ideaView?id=08730000000irFdAAI Could you please share your thoughts on this, with out manual creation any other possibilities to deploy quote templates Thanks
5
votes
1answer
94 views

Deployment is failing due to “weird” character

Our admin created a new picklist field (Client_Temperature_Status__c) on the Account object and the values added are actually emojis selected using the Emoji Picker on Windows. Here are the values ...
1
vote
1answer
1k views

Error In Deploying LWC

I'm trying to deploy my code but when It's not updated in custom components Kindly advice what's the issue and can you advice also the difference between working on scratch orgs and non-scratch orgs ...
0
votes
1answer
36 views

Retrieve record type label's translated value

I have translated record type label name in translation workbench but not able to retrieve it in package xml. record type is not coming in below xml: * CustomObjectTranslation How can I ...
1
vote
0answers
21 views

Issues deploying child standard object

I havea problem. I am trying to deploy a bunch of stuff to a sandbox, and getting ControlledByParent is not a valid sharing model for Asset Problems are: Assets absolutely accept “Controlled By ...
0
votes
1answer
59 views

How delete class from Production that doesn't have code coverage

I have two classes on production org that is like a default class (supersort and TrialCustomerPortalHomePageController), but does not have code coverage at all. So because of that I'm not able to even ...
0
votes
2answers
35 views

Trigger test coverage is 0 on deploy to production

I have the below trigger to update certain records when a form record changes status to submitted. It simply checks the status of the form, makes the updates on the other records and then commits the ...
2
votes
2answers
645 views

How to pull Connected App Settings for Permission Set

I have a permission set that has connected apps assigned, but I am unable to view them when I pull down the metadata. I've tried using MavensMate and ANT. Is there something I'm missing?
35
votes
5answers
18k views

Object Deploy fails with: “duplicate value found: <unknown> duplicates value on record with id”

When I try to redeploy an object that exists in source and destination orgs, the deploy fails with the cryptic and useless error message: duplicate value found <unknown> duplicates value on ...
1
vote
2answers
780 views

Migration between unrelated orgs

Hi I will have to migrate code,reports and metadata between 2 unrelated orgs and I have concerns regarding few components. reports I remember having problems while deploying report folders. I had to ...

1
2 3 4 5
26