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 votes
1 answer
42 views

Rollback After Deployment Developer Edition

Are there any ways to rollback after deployment for Developer Edition? Besides we'll keep a back up. I would love to discover more. Thank you
Pam's user avatar
  • 107
2 votes
1 answer
117 views

Deploying Event Layout : Invalid field:NAME in related list:ManyWhoRelatedPeopleList

I'm deploying a Page Layout for Event from GitHub to my integration org. The deployment fails with this error: Invalid field:NAME in related list:ManyWhoRelatedPeopleList The relevant XML from the ...
cropredy's user avatar
  • 71.3k
0 votes
0 answers
112 views

How to setup a DX Project Workflow to customize Production

I am trying to understand the workflow of creating a DX project from an existing Production Org so that I can port over all metadata to a DevHub and ScratchOrg in order to make customization. I am ...
Ricardo da Silva's user avatar
1 vote
1 answer
141 views

Unable to install unlock package, invalid key error?

I am unable to deploy unlocked packages created with SFDX/CLI . I am receiving the "The package version is not fully available. If this is a recently created package version, try again in a few ...
chandan agarwal's user avatar
0 votes
0 answers
402 views

How do I resolve this deployment "fatal error?"

I receive the below "fatal error" running a deployment to a dev sandbox that includes destructive changes. The error occurs after tests run: EntityObject can not be initialized with null ...
parkerbbrown's user avatar
1 vote
0 answers
116 views

Error when deploying Geolocation field - no such column

I have an Apex class that allows me to calculate distances between two records using a geolocation field as these are required when using the DISTANCE function. Everything is great until I am trying ...
Jan Tonnet's user avatar
5 votes
1 answer
294 views

Can't find Apex Jobs that are blocking deployment

I am trying to delete a couple of old unused Apex Classes in our Production. Every time I try to delete all or one of them I get the following error message: "This apex class is referenced ...
Florian's user avatar
  • 53
1 vote
1 answer
484 views

Where can I find Field History Tracking metadata for Activity object?

I have set some fields for field history tracking on Task object. The standard field metadata files have <trackHistory>true</trackHistory>. The custom field for Task was created in the ...
Ian's user avatar
  • 11
0 votes
0 answers
108 views

Is "Organization-Wide Email Footer" available as metadata?

We use "Organization-Wide Email Footer" functionality. Is it available as metadata to move changes to higher environments or this should be done as a post-deployment step? Note: I couldn't ...
Akif's user avatar
  • 15
0 votes
0 answers
175 views

Sandbox Deployment Error - NotificationTypeConfig: record_collection_share is an invalid notification type

We are getting the following error when trying to deploy our project codebase into some sandbox provided by the client: Error NotificationTypeConfig: record_collection_share is an invalid notification ...
wesaw's user avatar
  • 3,020
0 votes
1 answer
200 views

Deploy Metadata with Apex Testing Error

I am trying to deploy Omniscript which is stored in a zip file inside a static resource. I am following this documentation here. Here is the code - ` public class MetadataDeploymentCurl { public ...
Chinmay Agrawal's user avatar
0 votes
1 answer
187 views

Permission Set X of Type PermissionSet failed to deploy due to In field: application - no CustomApplication named standard__Work found

While deploying I am getting this error Permission Set X of Type PermissionSet failed to deploy due to In field: application - no CustomApplication named standard__Work found I understand that the ...
V S's user avatar
  • 56
0 votes
1 answer
126 views

get metadata as *.object, not folder structure

How do i retrieve metadata, as .object files? Currently what i do is: use workbench or Package xml Generator to create a package.xml like this <?xml version="1.0" encoding="UTF-8&...
Luis Aguiar's user avatar
1 vote
3 answers
327 views

Salesforce Marketing Cloud CI/CD Deployment Tools

I see there are limitations with the Package Manager and Deployment Manager while deploying the SFMC code from Dev to QA regions etc. Can someone please advice if there is an Automated Deployment ...
Venkat's user avatar
  • 21
0 votes
0 answers
89 views

Error deploying or retrieving source for <LghtningMessageChannel> by manifest folder

I have to deploy a messagechannel folder where there is a tag <LightningMessageChannel>which I have to add at the manifest folder and at package.xml. Now when I am deploying the below error is ...
SOMANKAR CHAKRABORTY's user avatar
9 votes
3 answers
7k views

VS Code deploying takes too long

Deploying any updates via VS Code salesforce extension can take 5-10 minutes. Restarting of VS code helps for 2-3 first deploys and then the issue comes back. Deployment Status at org says, that ...
Vadzim Brazevich's user avatar
1 vote
1 answer
904 views

Package Manager / Deployment Manager in SFMC

We are thinking about migrating the SFMC instance to a new instance because of the location of their servers. Can deployment and package managers be used for deployment across separate SFMC instances (...
Juraj Reško's user avatar
0 votes
1 answer
525 views

Sandbox Expiration Email

As per Salesforce documentation, users with Manage Sandbox permission will receive a notification email before sandboxes get deleted due to inactivity or being locked for a certain period of time. ...
DevelBase2's user avatar
3 votes
1 answer
932 views

Invalid IOS url - Experience Bundle Site.com Deployment Error

Deployments were working fine before: All of a sudden I am now getting an error message of "Invalid IOS url" when trying to deploy my ExperienceBundle site. It points to the metadata file as ...
Vin Tang's user avatar
0 votes
1 answer
605 views

In the ReportFolder metadata, what does the sharedTo reference when sharing to a User?

I'm trying to deploy a singular Report and Folder. When I deploy I get an error saying The user, group or role is not associated with a valid group. for the Folder. As a result my report fails as well ...
dBeltowski's user avatar
  • 3,038
0 votes
0 answers
296 views

Error in embedded service config when I try to deploy it

When I try to deploy my bot I have this error: EmbeddedServiceConfig/chat_test.EmbeddedServiceConfig -- Error: In field: U#745.cff (CustomLabel) - no CustomLabel named ...
Vincenzo Picarelli's user avatar
1 vote
1 answer
135 views

Why would SFDX interpret Customfields as EmailServicesFunctions (project deploy preview on a scratch org)?

I created a scratch org, and I plan to deploy a basic schema to it. Being rather new to sfdx, I first run a sfdx project deploy preview, and the cli outputs me the weirdest thing: it seems to ...
Werlin's user avatar
  • 13
0 votes
0 answers
140 views

How to deploy a flow that uses SCV_Outbound_Call action?

Using this command: sf project deploy start --ignore-conflicts to deploy a flow to a scratch org fails with this error: SCV_Outbound_Call (Action) - The action type "SCV Outbound Call" can't ...
scodan's user avatar
  • 1
0 votes
1 answer
770 views

Apex Test Failures when trying to deploy

I'm getting a "Apex Test Failures" when trying to validate my Change Sets before I deploy. Failure Message: All the Components: I'm not sure why I'm getting these error messages, because I ...
Pinto's user avatar
  • 128
0 votes
1 answer
365 views

How to deploy einstein bot spanish translation on production or higher sandbox environment

I deployed einstein bot file higher sandbox environment. I can see einstein bot successfully deployed but spanish translation are not deployed and it is not visible in bot. Can anyone let us know how ...
Guest's user avatar
  • 19
-1 votes
1 answer
50 views

How to get information which tests are required for specified scope

our deployment pipeline works on diff. So every time only differences between source and target branch are deployed to environment. We are wondering if there is possibility to run only required tests ...
kamil Walo's user avatar
0 votes
0 answers
98 views

Campaign page related lists not deployed

I need to add ListEmail, LandingPages, MarketingLinks, and MarketingForms as related lists to the campaign page layout. However, I don't see any changes after the Copado deployment. I committed ...
user2023's user avatar
0 votes
0 answers
91 views

Erro "Os métodos definidos como TestMethod não suportam callouts para serviços da Web" ao implantar classe/trigger

Olá! Estou com problema ao implantar em produção uma trigger que foi atualizada, e ao executar o teste obtenho o erro a seguir em dois métodos que não possuem qualquer integração. "Os métodos ...
Camila Roque's user avatar
0 votes
1 answer
381 views

Deployment of Vlocity Insurance Product Configuration

Is there any way from where we can deploy Vlocity Insurance Industry components like Vlocity Attributes Category, Vlocity Attributes, Child Products (Coverage Spec/Insured Party/Insured Item), root ...
Abhishek Mavani's user avatar
-3 votes
1 answer
114 views

Is it possible for an apex classe to update code of another apex class at runtime? [closed]

Currently, I am trying to update specific references in my apex code with something else, for example, changing all variables having name as LOG to Log, I know it can be done via vs code's replace all ...
Anant666's user avatar
0 votes
1 answer
253 views

/metadata/deployRequest API deployment status: No package.xml found

I'm trying to deploy an Apex Class using Postman and the /metadata/deployRequest API. I get a 201 response, but when I check the deployment status, I see the error "No package.xml found". ...
Brandon DeMatteis's user avatar
0 votes
1 answer
108 views

Can we deploy Apex Trigger Handler class from one sandbox to other without its Test Class in Copado?

I have modified, one single line in an Apex Trigger Handler and i need to deploy to another sandbox without its test class, So may i please know how to deploy this in Copado? Thanks, Vidya
Vidya's user avatar
  • 1
1 vote
1 answer
146 views

Is there a way to clone a Profile via API?

When using Salesforce UI, it's possible to clone a Profile. This is handy, because we can clone the Minimum Access - Salesforce Profile which includes almost the bare minimum permissions. However, ...
Fabien Taillon's user avatar
0 votes
2 answers
76 views

How to get rid of different object dependency from unlocked package

I have created unlocked package with all of necessary meta data. The problem is I've test class which content code with different object fields and to create package it's asking to add those fields in ...
whoisnilu's user avatar
  • 115
0 votes
1 answer
58 views

Deploy error: No such column 'EnhancedLetterheadId' on entity 'EmailTemplate'

During upgrading a sandbox environment I receive deploy error: Dependent class is invalid and needs recompilation: Class msf.MySalesforceClass: EnhancedLetterheadId, ^ ERROR at Row:11:Column:6 No such ...
PieterJacob's user avatar
0 votes
0 answers
579 views

Error parsing file

I am having difficulties deploying reports and dashboards from dev org to another dev org. After retrieving the metadata ( report folder , dashboard folder, reports and dashboards) i want to deploy by ...
Alpar.Balo's user avatar
1 vote
0 answers
725 views

Failure to deploy Experience Cloud Site with Metadata API - no network named XXX found

I'm following the Salesforce documentation Deploy Your Experience Cloud Site with the Metadata API. I am using a simple site created from the Customer Account Portal Template as a test case before ...
Mark Hansen's user avatar
1 vote
2 answers
142 views

Does CumulusCI help with the deployment of per version layout and flexi-page changes?

I'm wondering what the best way to use CumulusCI is to deploy changes that managed package upgrades usually skip. The common problem areas are: Layouts Flexipages Picklist values We package daily ...
Keith C's user avatar
  • 136k
0 votes
1 answer
645 views

Deploying reports: columns-field: Invalid value specified: BUSINESS_DURATION

In my CI/CD pipeline, when I deploy from Org A -> version control -> Org B after developing a report in Org A, I get the following error for the report in question columns-field: Invalid value ...
cropredy's user avatar
  • 71.3k
0 votes
0 answers
93 views

Coding error when deploying with ant migration tool

I am trying to deploy using the ANT Migration Tool to a test environment before pushing this file to the master branch. However, when running the "ant deploy" command I get the following ...
Alexis Perez's user avatar
0 votes
0 answers
75 views

Apex test is successful except during deployment

I have an Apex test that tests a trigger handler. The test works as expected when running in vs-code. It also works as expected when ran via Setup -> Apex Test Execution. It fails however when ...
Eric's user avatar
  • 11
0 votes
2 answers
386 views

Unable to deploy a report folder with ant

Hello, I try to deploy a report folder (not reports inside because sharing is modified) by using Ant but I get an error message: Error parsing file: Element {http://soap.sforce.com/2006/04/metadata}...
Oupat's user avatar
  • 733
2 votes
1 answer
321 views

"Must include..." error deploying an existing Digital Experience into a Spring '23 scratch org

The error I'm seeing today deploying experiences metadata into a Spring '23 scratch org is: Object pages for the abc__Def__c object must include a details, a list, and a related list page. To deploy ...
Keith C's user avatar
  • 136k
0 votes
2 answers
227 views

Flow section headers

I have a flow which has sections. Each section has a header which works completely fine. When we promote this flow to another sandbox section headers are getting removed from flow. Please provide ...
Coder's user avatar
  • 11
2 votes
1 answer
409 views

Test class error during validation (INSUFFICE_ACCESS_ON_CROSS_REFERENCE_ENTITY)

I'm a new developer who's never done this before. There is a test class with 100% code coverage in the sandbox org. I put test class and original class in the sandbox outbound change set and validated ...
Yeonbi Ji's user avatar
-1 votes
1 answer
299 views

Error Deploying to Sandbox

Have you ever faced this kind of issue? is there a workaround for this? I haven't changed any of the files listed in those errors, the error message is not helpful at all.
Marteen Munevar's user avatar
0 votes
1 answer
475 views

Operating Hours Holidays causing deployment error for BusinessHours.settings

We are implementing Salesforce Scheduler and have encountered a serious issue with our automated deployments following the implementation of the Operating Hours Holidays functionality. When these ...
Callum MacErlich's user avatar
1 vote
2 answers
169 views

Can translation languages be activated/deactivated with the Metadata API?

For existing translation languages, some of them can have an inactive status as below: There is a Translations Metadata Type that doesn't have any Status or IsActive tag. At first deployment, any new ...
Fabien Taillon's user avatar
0 votes
0 answers
116 views

Does validating a deployment impact application performance?

Earlier today, I was using Copado to validate a change set to UAT sandbox that included ~40 apex classes and running code coverage for all of them. Within the same 30 minute time period that the ...
Michael Sobczak's user avatar
1 vote
1 answer
590 views

External Credentials in git

I have set up a Named Credential with a linked External Credential following the instructions here The External Credential has a linked Permission Set with 2 Authentication Parameters, username and ...
NickJ's user avatar
  • 670

1
2
3 4 5
33