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
15 views

Using ANT to migrate picklist updates

I have a picklist with 3 values: A, B, D. In my Sandbox X, I edited 'D' to be 'C' both value and label. This made all existing records using 'D' to now show 'C'. When I deployed the picklist from ...
1
vote
1answer
27 views

Unable to deploy community: no Network named MySItes

When I am trying to deploy my experience cloud site to clean scratch org I get following errors: Error sdx_sourceDeploy_pkg_1627387377741/networkBranding/cbMySites.networkBranding ...
1
vote
1answer
13 views

Strange error when I want to deploy community to scratch org. Is it sfdx bug or I missing something?

When I trying to deploy community to my scratch org I receive following error. Template that I use is Build Your Own and has route service-not-available by default. Error force-app/main/default/...
0
votes
0answers
8 views

Duplicate permissions in permission sets are deleted when using SFDX deploy

For example, if I have <classAccesses> <apexClass>APX_someClass</apexClass> <enabled>true</enabled> </classAccesses> in my foo.permissionset-...
1
vote
1answer
13 views

“Unable to handle Aura Definition 'XYZ/XYZ.js': deftype not supported”. What does it mean?

I am trying to deploy an Aura component, which is a wrapper for a LWC, using Visual Studio, but I am unable to. Visual Studio tells me: 14:31:10.125 Starting SFDX: Deploy Source to Org === Deploy ...
0
votes
1answer
15 views

Use current version of manage package in org when deploying via Salesforce CLI

I have this folder/file in my dx project: foundation/main/default/installedPackages/HealthCloudGA.installedPackage-meta.xml The file HealthCloudGA.installedPackage-meta.xml contains the following: &...
0
votes
1answer
28 views

Value of sfdcLoginUrl in sfdx-project.json doesn't seem to matter

I'm working on a Salesforce Lightning App project in Visual Studio Code (w/ Salesforce extension), and when I right click on a file and choose "SFDX: Deploy This Source to Org", it deploys ...
1
vote
1answer
33 views

Error during validation of change sets: “Required field is missing: pageOrSobjectType”

I'm having trouble with the deployment of a lightning app through change sets. This is the error I am getting: Required field is missing: pageOrSobjectType So I went through the source code of the ...
0
votes
1answer
19 views

How to deploy Custom Label Translations

I have created about 80 custom labels and translated then to French. After deploying the Custom Labels via salesforce change set to Production, I found the translations did not get deployed. Is there ...
0
votes
0answers
23 views

Error deploying Message Channel

I have created a message channel in VS Code. When I attempt to deploy from the package.xml file I receive this error: "No source backed components present in the package". When I attempt to ...
0
votes
0answers
18 views

Is it possible to deploy Einstein Email Insights configurations between orgs with change sets and/or Gearset?

Is it possible to deploy Einstein Email Insights configurations between orgs with change sets and/or Gearset? If so, what are the objects/configurations called?
0
votes
0answers
27 views

INSUFFICIENT_ACCESS when attempting to delete LWC from org with destructiveChanges.xml

I am attempting to delete an LWC from a developer org, as the system admin. I had the LWC in a managed package, and have the ability to remove it. However, when I try to delete the LWC with ...
0
votes
0answers
18 views

SDFX source push with package dependency

I have recently used sfdx force:mdapi:convert to convert to SFDX. Now when I try to sfdx force:source:push I run into problems. (I have redacted the namespace of the dependency managed package, and ...
0
votes
1answer
30 views

What is the sObject for storing Change sets in Salesforce?

Working on Package related to deployment in salesforce, wanted to understand where changeset is stored at the backend in salesforce. Please help me understand this, thanks in advance.
0
votes
1answer
21 views

Validation Error on Inbound Change Set - What am I missing?

I'm getting Validation Error on Inbound Change Set for this page, but I've tried both closures it asks for and I get the same error every time when promoting to prod. Element type "input" ...
0
votes
0answers
10 views

Content Detail pages host Salesforce CMS content. I don't want these pages

When deploying a digital experience via Metadata API I am receiving the following error: Content Detail pages host Salesforce CMS content. If you want content on the B2B_Pharma_Store1/views/newsDetail....
0
votes
1answer
25 views

Lightning Knowledge Summary field retrieval not possible

I am trying to retrieve Knowledge__kav Object "Summary" field but not able to, I want to remove HelpText of Summary field and then deploy it, is it possible? <types> <members>...
0
votes
1answer
35 views

Getting code coverage error for class deletion (metadata xml) on deployment

When trying to delete a class together with its test class, I will receive a code coverage error (0% out of 75%) for both classes, the normal as well as the test class. How to reproduce: Assume I ...
1
vote
2answers
39 views

SFDX Prod Deployment attempting to run tests that have been deleted

I recently removed a trigger and an apex class from my Sandbox environment, along with the tests for these files. I am attempting to deploy to my production instance, but when I do the deployment ...
0
votes
0answers
10 views

Deploy ListView with CORE.USER.ALIAS column

Using sfdx, I've retrieved metadatas form a sandbox org and I try to deploy those in a scratch org. In severals ListView of different objets, there is a reference to CORE.USERS.ALIAS, CORE.USERS....
1
vote
2answers
37 views

Experiences deployment fails with “Component names can only contain alphanumeric characters, hyphens, colons, and underscores.”

trying to migrate a community from one sandbox to another. Using SFDX and VSC. I do have ExperienceBundle enabled in both. When I run this command: sfdx force:source:deploy -p force-app\main\default\...
1
vote
3answers
53 views

Why Can't I deploy In-App Guidance From Change Set?

I'm having trouble deploying an active in-app guidance via a change set (dev to partial). In the change set, i've selected 'Prompts' as what to deploy, and I've included the assets that I've used (...
1
vote
1answer
19 views

How do I destroy apex classes in production if there are dependencies in both the pre and post deployment state?

I ran into an issue recently while trying to retire a project that shared an org with another project. To give an idea of the scope we are going from nearly 3000 unit tests to just over 400 after the ...
0
votes
0answers
24 views

is there an API to get current/finished deployments? [duplicate]

I checked Salesforce APIs and only found a method for deploymentStatus(Id deploymentId). Does someone know how to do similar functionality to the Deployment Status page, where you can see past ...
1
vote
1answer
26 views

How to deploy Einstein Discovery Model and Stories with Metadata deployment (ant)

What I need to do if I want to deploy Einstein Discovery Model , which all components do I need to Pick in my package.xml
3
votes
1answer
47 views

How to securely deploy secret key in custom metadata - 2GP Managed Package

I have recently created a managed package and I am preparing it for security review and final deployment. In the code I need to sign JWT used to authenticate against external API, for this purpose I ...
0
votes
0answers
25 views

Redirect client custom domain URL to My org URL

My client has a custom domain (e.g. abc.mycompany.net), from that URL they want to get redirected to our SF my domain page URL (https://mycompany.my.salesforce.com/) . We have tried updating their ...
0
votes
1answer
20 views

The approval process references the workflow action FieldUpdate OwnershipField_Update, which doesn't exist for the Account object

While trying to deploy an approval process I get the following error: The approval process references the workflow action FieldUpdate OwnershipField_Update, which doesn't exist for the Account object
-2
votes
1answer
41 views

I'm getting these in deployment error, how to solve them ? I'm just confused where to start?

I go them during deployment, I don't know where to start how do I fix these? - Error in GlobalValueSet component 'Country': CustomField not found. - Error in RecordType component 'Lead.Lead_Germany':...
1
vote
1answer
26 views

Error on Experience Cloud filter during deploy (Account.Id on standard Chart component)

We are trying to push our Experience Site (using ExperienceBundle with mdapi) and are getting this error with the standard component. Seems like there was a similar issue that affected changesets: ...
0
votes
1answer
62 views

Copado vs Flosum [closed]

Are there any good comparison between Copado Vs Flosum ? I understand that there are individual choices around these tools but I am looking for a platform which maximizes the developer productivity. ...
1
vote
1answer
31 views

Single Org : Org vs Packaged Development Model for Greenfield Project [closed]

We are going to start a new greenfield project and we have identified that we will have single org model deployed with multiple apps built on it for different business units in organisation. One of ...
4
votes
2answers
64 views

Push upgrade app for second generation packages?

Based on the Scheduling Push Upgrades and the Push a Package Upgrade documentation, while Salesforce UI to schedule push upgrades is available for first generation packages (1GP), for second ...
1
vote
3answers
148 views

Variable does not exist: User.statecode when deploying Apex class

I use the following code in order to retrieve the list of configured states in the org. private static List<String> getStateList() { List<String> stateList = new List<String>(); ...
0
votes
1answer
58 views

Deployment Error: We couldn't retrieve or load the information on the field: Record.OwnerId

The changeset deployment is for a lightning record page, but it's a detail of a master-detail which is also in the deployment. I know that a detail does not have a Record.OwnerId, because it uses the ...
2
votes
1answer
64 views

Authorized an org in VS Code but not getting “Deploy this source to org” option

I authorized an org through VS Code, but at the bottom left it still says "No Default Org Set" rather than the org alias. I did this by running: sfdx force:auth:web:login --setalias ...
0
votes
1answer
18 views

PermissionSet deployment Error: Permission Query All Files depends on permission(s): Read All BackgroundOperation, Read BackgroundOperation

I'm getting following error while deploying source with SFDX into sandbox. This error happens without any changes to any permission set. Permission Query All Files depends on permission(s): Read All ...
0
votes
0answers
29 views

How to completely delete Flow from Org with destructiveChanges? [duplicate]

I'm trying to completely delete Flow from my Org (all versions etc.) with destructiveChanges. However, when flow is added to destructiveChanges, I get the following error: Insufficient access rights ...
0
votes
0answers
56 views

VSCode sfdx deploy error after authorizing: Error authenticating with the refresh token due to: expired access/refresh token. Able to retrieve

I'm experiencing an issue where I can authorize an org from VSCode, but can not deploy to the org. Interestingly enough, I can retrieve from the org - when I type in the command from the terminal, not ...
0
votes
2answers
66 views

Best Practices for Change Set and Deployments

If we built an entire web of objects and tons of flows and apex code that goes along with them. Would it make sense to split this into 2 pieces. The first one containing only the object and fields, ...
4
votes
1answer
106 views

Deploying community using sfdx throws an error

I have a community, added dashboard component to the page and retrieved it. Then when I try to deploy it I receive following error: Warning unpackaged/experiences/Partner_Portal1 Partner_Portal1 ...
0
votes
2answers
66 views

Deploying Connected App - Copado Deployment error “consumer key is already taken” Unable to upload correct yaml file [duplicate]

I am trying to deploy a connected app to higher orgs through Copado but am getting the error as "Consumer key is already taken" and so for that am trying to create a yaml and upload it in ...
0
votes
0answers
21 views

Can you deploy inactive picklist values using changeset?

I am aware and it specifically says in the Salesforce Documentation here that you cannot deactivate active picklist values with a changeset BUT, can you import INACTIVE values from sandbox to prod to ...
0
votes
1answer
41 views

Help with concept question - Production Org versus Production Environment

I am working through Focus on Force questions while preparing for Advanced Admin exam. Can someone explain why the first answer is correct and the 2nd is not. Apex tests are only required to run ...
0
votes
1answer
25 views

How to clone business units in marketing cloud?

I have multiple business units in the marketing cloud. Is there any way to clone one business unit data like(journey, data extensions, contact, and contents) to the new business unit?
0
votes
2answers
97 views

Deploying changes to Community/Experience pages

What's the best practice for deploying changes to Experience/Community pages from sandbox to prod? In this case, we've changed some pages in sandbox and meanwhile others have been changed in prod. ...
0
votes
1answer
28 views

validate multiple directories in one deployment with the Salesforce CLI

I use this command sfdx force:source:deploy -p ./foundation/,./sales,./marketing -c because I have my metadata organized in 3 different folders. When I run this command, the Salesforce Cli does 3 ...
1
vote
0answers
84 views

ActionId dependency in deploying Page Layouts

I am trying to deploy changes from a a github branch into a Salesforce Sandbox but keep getting the following error(s): Case-ACH Bounce Layout Page Layout 0 0 The ActionId specified was invalid ...
0
votes
1answer
66 views

Ant deployment: Error: Unknown user permission: AIViewInsightObjects

I'm trying to deploy the admin profile from ant successfully. My package.xml is such as : <types> <members>Admin</members> <name>Profile</name> ` I am deploying ...
1
vote
0answers
31 views

Unable to deploy change set to production [duplicate]

After the new realease our developer sandbox changed its API version to 52.0 but or production org still at 51.0 . When we try to send our change set to procution org, we keep receving this error ...

1
2 3 4 5
28