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

Error: Unknown user permission: ManageSandboxes

When System Administrator profile is deployed through metadata, got the following error. Unknown user permission: ManageSandboxes Then I logged into my target organisation and checked Setup -> ...
0
votes
0answers
11 views

Deactivating duplicate rules then redeploying as active does not activate duplicate rules

I ran into this situation: I have duplicate rules in a sandbox. I deactivated them manually. In my local code repository, I have the duplicate rules version controlled in package.xml: <types>...
-1
votes
1answer
29 views

Custom settings deployment

I am new to the deploment and do not want to use the changeset concept as I need to make some changes to the metadata before deploying it to the org.So,can anyone please provide me the way to deploy ...
4
votes
1answer
47 views

Salesforce CLI deploy files with spaces failing

I am trying to deploy files to a non-source tracked org with the cli deploy command as follows: sfdx force:source:deploy -u [ORG] -p "force-app/main/default/layouts/Snapshot__mdt-Snapshot Layout....
0
votes
1answer
22 views

Unable to deploy contact object and custom setting

I am trying to deploy contact object field,email alert and custom setting but during deployment getting below errors. objects/Contact.object -- Error: Error parsing file: Element fields is duplicated ...
0
votes
0answers
29 views

Salesforce Deployment Process [closed]

I am new to SF so I want to ask, what is the recommended standard process for Salesforce deployment which should include Env, Git, Jenkins, auto deployments etc. Please share the standard way for ...
2
votes
1answer
29 views

Initial deployment of Community Cloud plagued by errors

We are attempting to deploy a brand new customer Community Cloud Site from a Sandbox to Production, using Change Sets, and are encountering some errors that have Salesforce Tier3 support scratching ...
0
votes
1answer
19 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
34 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
0answers
15 views

Regarding deploying code from one production org to another org

I tried creating a project with manifest.using the package.xml i've pulled all the data from the org1.then i authorized org2 and deployed the source into that org.my code is successfully deployed but ...
0
votes
1answer
28 views

How to deploy Quick Action Page Layout using change set?

How to deploy a create record Quick Actions layout using change set? I am deploying the quick Action using 'Action' Tag in changeset but i do not get the page layout of quick action. Only predefined ...
1
vote
1answer
36 views

Profile with Unlocked package is having issues

I have unlocked package with some profiles. As of now I cloned those profiles from Minimum access - Salesforce and Customer Community Plus Login and it doesn't contain any of the extra permissions. I ...
0
votes
0answers
20 views

VS code Package.xml not retrieving new components

I am trying to retrieve new components such as ApexClass through "sfdx retrieve source in manifest from org" on the package.xml (sample below), and it doesn't retrieve any new components ...
1
vote
1answer
33 views

Deployment Issues With Community License

I'm trying to deploy a community in an org and I'm getting these errors with these profiles... Customer Community Login User Profile In field: userLicense - no UserLicense named Customer Community ...
2
votes
2answers
41 views

Simple way to diff a file in local SFDX project against Production version with SFDX

Although we use git repos to track all our projects, I oftentimes want to do another check against a production file before I overwrite it with an sfdx force:source:deploy command (because as much as ...
0
votes
0answers
43 views

Ant validation/deployment errors using sessionId

I have a weird problem with Ant setup on CI. I have a script that fetches access token using JWT. The token is retrieved successfully, and when I want to use it with Ant deployment (switching in ant ...
0
votes
1answer
44 views

Can change set with warning still be deployed?

When during deploying change set to prod you get a warning like long-running apex test Can you still successfully deploy that change set or does the warning blocks it?
2
votes
0answers
133 views

Salesforce Community Migration : The label must be unique. Remove duplicates in routes/sfdcPage.json and try again

I am trying to migrate community from one salesforce environment to another. I am not able to migrate since I am getting the below error during the migration of the ExperienceBundle. The error message ...
0
votes
0answers
36 views

SFDX deploy error : Infinite Loop Detected

I am new to SFDX. I have been assigned to deploy a local salesforce directory to an org on salesforce. But I am getting the following error and there is no more details about the error. I tried ...
0
votes
0answers
27 views

Deploy with BitBucket pipelines and ant migration tool - commit hash of last successful build

I am using ant migration tool in bitbucket pipelines to deploy metadata into Salesforce instance. This pipeline runs for every commit pushed to master branch. The build process takes a considerable ...
0
votes
0answers
29 views

Error INVALID_CROSS_REFERENCE_KEY in test class when deploying to production

I'm getting this error System.DmlException: Insert failed. First exception on row 0; first error: INVALID_CROSS_REFERENCE_KEY, invalid cross reference id: [] Stack Trace ... This production org is ...
1
vote
0answers
68 views

Deployment error ThemeLayout's label must be unique

I am trying to use experience bundles in order to deploy communities from one sandbox to the other, so I retrieved the Experience, CustomSite and Network folder with package.xml in VSCode . But the ...
0
votes
0answers
50 views

Error deploying LWC in change-set. Programmer error: Cannot compare savepoints from two different transactions

I have two Lightning Web Components that consistently fail when I try to deploy them in a change-set. The two LWC are the only components being added in the CS and the error is consistent. Everything ...
1
vote
1answer
19 views

Ant salesforce.jar extensions

I was trying to find some informations about running scripts after ant deployment and I found this thread: Run some script on deployment That might be a silly question, but is the solution described ...
4
votes
1answer
53 views

Is it possible to partially deploy flexipages with Sfdx?

I'm currently struggling to get our Salesforce into a version control system with the "source" metadata format. And, of course, I want this repo to be deployable. After about 16 ours of ...
0
votes
2answers
51 views

SFDX - Will sfdx force:source:deploy supports destructive changes in future?

Do the SF team has a plan to support destructive changes with the source:deploy? Though we have several other option(source:delete, mdapi:deploy) to run destructive changes we can't have the completed ...
0
votes
1answer
26 views

Deploying production org configuration to new dev org

I'm trying to copy over all the metadata(config, workflow, objects, etc...) from a production org to an unrelated empty dev org however I'm running into issues with the deployment. I had to wild card ...
2
votes
1answer
23 views

When a former employer or consultant installed a managed package which can't easily be identified, how can I get the package Id?

I've recently joined a company with several manage packages that are deeply integrated into our solution. Before we can deploy any meaningful subset of metadata to a scratch org it is absolutely ...
0
votes
0answers
21 views

Deleted a connected app from a managed package. Now all prior versions of the package won't install

We deleted a connected app that was part of our managed package yesterday, since we no longer use it. This has caused installing any previous versions of our package and any patch we build to fail ...
0
votes
0answers
17 views

Cannot deploy Feed Tracking for Event Custom Fields

We have created a couple of Activity Custom fields and we have enabled Feed Tracking for them in the Event Feed Tracking section. As far as I can tell, in order to deploy Feed Tracking for a field, ...
2
votes
1answer
26 views

Does tests in unlocked packages execute when deploying unpackaged apex code to production?

I'm sorry for the cryptic title. I'm curious what tests are forced to run when deploying to production, if that production org contains unlocked packages. Lets say we have the following test classes ...
0
votes
1answer
29 views

List of Elements that are editable in Salesforce Production Environment

Is there an article or a document by Salesforce where I can find a comprehensive list of elements or types that can be modified in Salesforce Production Environment? Thank you!
0
votes
0answers
29 views

Lightning Email Template Deploy: How do I get the Lightning Email Template Folder Id?

I have Lightning Email Templates that I need to deploy to 13 orgs, and rather than recreate them manually in each org I've extracted them with Data Loader, and now I need the Public FolderIds from ...
0
votes
1answer
18 views

Full validation in change sets still needed in unlocked package installation?

My team would like to gradually replace change set deployment model with unlocked packages. I did some experiments and found out that installing package in an org is somehow like running partial ...
1
vote
2answers
52 views

List of all deployments for audits, going back at least a year

For audit reasons, I need to produce a list of all deployments in our production org, including both change set deployments and API deployments. The Deployment Status page in Setup shows the necessary ...
2
votes
0answers
17 views

Metadata zip created via force:mdapi:convert fails during deploy due to 3rd party namespaces

We have a working DX project and are trying to deploy our code to full copy via sfdx force:mdapi:deploy command. Creating a zip file works fine, sadly the deployment fails with error message: force-...
0
votes
1answer
33 views

Deploy failed because of Metadata.Operation.retrieve

everyone! I have following part of code: When I validate code during deployment I get errors. Errors are - 'System.ListException: List index out of bounds: 0' on line 77. When I try to use this code ...
0
votes
0answers
31 views

i am getting error when deploying test class to production, but not failing in sandbox [duplicate]

error when deploying /* * @Description - This test class is to provide test data for AccountTrigger & AccountTriggerHandler * This Test class Also Tests The Trigger Logic On After Update To sent ...
0
votes
2answers
33 views

How to deploy Source Format Git Branch into non-scratch org using jenkins?

How to deploy Source Format Git Branch meaning SFDX format into non-scratch org or full copy sandbox or production using jenkins?
1
vote
2answers
291 views

Error parsing file: 'RecordAfterSave' is not a valid value for the enum 'FlowTriggerType'

I am trying to deploy the Flow-meta.xml file using vs code with salesforce dx to my scratch Org. I am getting the error 'Error parsing file: 'RecordAfterSave' is not a valid value for the enum '...
0
votes
0answers
14 views

How to create package for an Einstein Search layout based on the profile

Anybody have an idea about how to create a package for an Einstein Search layout based on the profile. I have referred a below URL for package but not getting the expected result. https://developer....
1
vote
2answers
2k views

Getting “Required field is missing: assignNextValueToReference” when deploying flow change set

I've created a flow in my sandbox environment and I'm trying to deploy it to the production environment via a change set, but I'm getting the following error: Required field is missing: ...
0
votes
0answers
40 views

Lead Source standard field deployment issue

I have added couple of new values to Lead Source picklist field on Lead object which automatically reflects these new values in Lead Source field in Person Account object(have enabled Person Account ...
0
votes
0answers
24 views

SFDX force:source:convert and deployment won't push up new components

I was following the Trailhead for Updating and Deploying my Managed Package. I am a bit confused though on how exactly I'm supposed to deploy. I'm at the point where I have my Package org and my ...
0
votes
1answer
28 views

Attaching namespaces to mdapi object before deploying to a sandbox org?

I am currently deploying my Salesforce code to a qa sandbox environment with the mdapi (sfdx force:source:convert -> sfdx force:mdapi:deploy). However, we need the object and pages and etc when ...
0
votes
1answer
82 views

Failed to save Lightning Component - Value too long for field

I'm getting the following error When I deploy my codebase. It shows Value too long for field: Source maximum length is:131072. I could able to find the solution. Is there any configuration change ...
2
votes
0answers
26 views

Running into error Invalid field:Contact__c in related list:Foo__c.Account__c when deploying Account layout

Custom object Foo__c has master-detail relationship with object Account through field Account__c. Custom object Foo__c also has master-detail relationship with object Contact through field Contact__c....
0
votes
1answer
38 views

Add Images to a Live Agent that is embedded in an external Website

I am trying to add images to a live agent deployment that is embedded in an External Website. The images are stored in Static Resource and I have set the Cache-Control as Public. If I put the live ...
2
votes
1answer
81 views

Deploy Process Builder as Active - Test Coverage Requirement Clarification

We're looking at activating the setting to deploy active processes and flows using the Metadata API. When looking at the requirements, Winter 19 release notes says: When you deploy an active ...
1
vote
1answer
23 views

Question: Change Set Tool that Displays component dependencies

Is there a way that Change sets or Ant Builder can detect dependencies missing from the change set component list and give a more informative error message about which components are missing from ...

1
2 3 4 5
25