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.

315 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
716 views

Ant Migration Tool: INVALID_OPERATION - INVALID_OPERATION:Too many files in zip

Now I'm trying to deploy bunch of custom objects to my Developer Org. using Ant Migration Tool. All these custom objects are from our Production org, and the final goal is to setup CI in our ...
2
votes
0answers
197 views

Creating a BusinessProcess through Metadata API deployment

I needed to create a new Business Process the other day, and I decided to try using a deployment with the metadata api. After deploying, when I went into the ui, all of the configurations seemed ...
2
votes
1answer
400 views

How to specify managed package test class name during deployment?

I have the following ant task: <target name="deployUnpackagedCheckOnly"> <sf:deploy username="${sf.username.prod}" password="${sf.password.prod}" sessionId="${sf.sessionId}" ...
2
votes
1answer
615 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 ...
2
votes
1answer
530 views

Cannot Deploy Field: Picklist value is too long for the max size of 40

I'm trying to do a deployment on to a sandbox and I'm getting an odd error: Picklist value is too long for the max size of 40 As far as I know this limit has been removed for some time and confirm ...
2
votes
0answers
309 views

Dependent class is invalid and needs to be recompiled

I have written a controller extension and am having difficulty deploying it to production. The extension allows a flow embedded in VF to finish on a Case record created during the flow. The error I ...
2
votes
1answer
81 views

AppExchange application contents appears outside of Referenced Package folder in Eclipse

I have a number of applications installed in my org, and majority of them appear in the folder 'Referenced Packages' in eclipse, except for some. They appear outside of the folder 'Referenced Packages'...
2
votes
1answer
298 views

Getting “Managed Package Patch Modification” Exception - when nothing has been modified

We are getting the following error when attempting to deploy an UN-changed version of an AuraDefinitionBundle to one of our Patch orgs using the Force.com Migration Tool: UNKNOWN_EXCEPTION: Managed ...
2
votes
0answers
522 views

how to deploy field set to Production contained in managed package after adding some more fields?

Can anyone let us know how to deploy field set to Production contained in managed package after adding some more fields in it as this field set is not visible in components of outbound change set?
2
votes
0answers
392 views

Metadata for assigned Home Page Layouts

I've just created a customised Home Page Layout and assigned it to a couple of profiles. I now want that assignment to be deployable to other sandboxes via metadata. Is this possible? Or does this ...
2
votes
0answers
26 views

How can we tag deployments using Metadata API?

When we deploy the code changes using changesets, we can see the name of the deployment. The picture is not very clear, but you can see the Docusign changes. How can we tag our deployments via ...
2
votes
0answers
105 views

Errors in production use while deployment/validation is running

During the validation or deployment of a change set, you cannot edit Salesforce metadata. I understand why this is necessary. But sometimes, users cannot edit some records during the validation or ...
2
votes
1answer
45 views

Regd deployment

We've to change data type of a pick list field to multi select. But this field is already being used in multiple classes. I'm just curious about the impact during production deployment as changing ...
2
votes
0answers
127 views

Button script wasn't updated from the change set

Some time ago I deployed change set to the production - 1 button and 4 validation rules. Now I have noticed that despite deployment status was "Deploy: Succeeded", button code wasn't updated (but ...
2
votes
1answer
354 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 ...
2
votes
1answer
45 views

Permission on Profile on different section between 2 orgs

Issue Assume 2 different orgs: Org A and Org B. Trying to move the metadata from Org A to Org B but having some hickups. Mainly on the profile level where we have the following: Org A: permission "...
2
votes
1answer
1k views

Unable to find valid certificate path to requested target

I am trying yo deploy my application from developer org to newly purchased enterprise edition org. For this I am using eclipse to deploy my developer org project to sandbox. But I'm not able to ...
2
votes
1answer
196 views

Deployment Status

I have 1 custom object that I deploy via Change Sets. Result: Deployment Status page, component count = 1 I deploy same custom object via ANT Result: Deployment Status page, component count = 17 ...
2
votes
0answers
533 views

Not able to create custom fields using deploy() call

Im trying to create a new custom field using metadata api, deploy() call. I'm using this code Also I have followed this question My directory structure is like this components.zip --package.xml --...
2
votes
1answer
391 views

Run All Test Classes ( My Namespace vs All Namespace)

My Namespace : Only local classes that aren't from managed packages appear in the list All Namespace: All the classes in the organization appear, whether or not they are from a managed package. I ...
2
votes
0answers
204 views

Force.com IDE - Use Stored Passwords to Deploy to Server - Now that it's Open Source, we could do it

I was very happy to read this great article by @PeterKnolle about the Force.com IDE is now Open Source and the ability to let us extend and improve this tool: http://peterknolle.com/extending-the-...
2
votes
0answers
621 views

'Unable to lock row' error when deploying changesets to PROD

I am facing with this weird problem while running test classes or performinh changeset deployment.Many of our tests involve creating Products and Pricebook Entries. In order to use a product in an ...
2
votes
0answers
67 views

Salesforce Deployment techniques for one to many distributions of code

I have developed a connector code to send updates from Salesforce using apex and REST based APIs to my external website. Now i have to deploy the changes. How can i make this code available for all ...
2
votes
2answers
1k views

Apex test is slow during deployment, but fast any other time

I have a test that takes about 5 minutes to run during production deployment. If you just click "run test" or run it from execute anonymous, it's not slow at all (a few seconds). Is there a way to ...
2
votes
0answers
78 views

namespace problem migrating Reports & Dashboard

I have a problem moving Reports & Dashboard from my Dev Org to Production Org which has "Different Namespace". If deployed with eclipse it reports Error of namespace. Source Org:- DEV Org ...
2
votes
0answers
320 views

Deploying metadata to Group Edition

I'm attempting to deploy a page-layout with the ant-migration tool to a Group Edition org, however, when I do so using the <sf:deploy> call, the system attempts to run the unit-tests, and throws ...
1
vote
0answers
34 views

SFDX deploy ECONNRESET

During a sfdx deploy, the CLI launched a random exception: ERROR running force:source:deploy: read ECONNRESET Build step 'Execute shell' marked build as failure Someone has an idea of the problem? ...
1
vote
1answer
30 views

Can I deploy higher version process builder from sandbox to lower version in production?

I have a process builder with version8 in sandbox and want to deploy to prod which already having its version1.I have a doubt that will it deploy or not because another team deploy from sandbox to ...
1
vote
0answers
31 views

ERROR While running sfdx force:source:deploy command

I am getting an error while running: sfdx force:source:deploy -u Sandbox -x pathToPackage.xml My deployments were just fine but after I did a sfdx force retrieve from a sandbox then I started to get ...
1
vote
1answer
33 views

Validate deployment archive locally, i.e. without SF org

Is there any way to validate SF deployment archive locally, i.e. without triggering deployment to SF org? The tool I'm looking for should be able to detect invalid references in Apex class, Aura ...
1
vote
0answers
68 views

Salesforce deploy error flow: The processMetadataValues entry for TriggerType has an invalid value

I am trying to deploy to a scratch org, but it fails on 4 flows with the following error: The processMetadataValues entry for TriggerType has an invalid value. The current method of deploying is ...
1
vote
2answers
81 views

Retrieve Standard Picklist Value Sets using package.xml

There are standard picklist fields like Premium Frequency on Insurance Policy object in Financial Services Cloud package. We have added some new picklist values for this field. However, we are not ...
1
vote
0answers
13 views

Sfdx project with typescript build process

I have an sfdx project. Some components are using typescript and require compilation as part of the build process. Building these files in my project dirties the directory with these transient js ...
1
vote
1answer
27 views

Blocking deployments initiated via sfdx/ant

I have removed Modify Metadata Through Metadata API Functions permission for my user with hopes that removing this permission I can avoid any deployment using sfdx/ant. This didn't help. I can still ...
1
vote
0answers
62 views

How to deploy Commerce Cloud code (SFRA version) using jenkins?

We need to deploy SFRA code to development and staging instance. Earlier for pipeline version, we had used Jenkins plugin i.e "OSF Builder Suite For Salesforce Commerce Cloud Deploy" to deploy to ...
1
vote
0answers
52 views

How to rollback metadata changes using Jenkins and bash script

I am working on a project in which I have to rollback the metadata components which we have deployed into destination org using Jenkins. Does anyone have built this kind of project / Scenario. Steps ...
1
vote
1answer
30 views

Can't edit an active bot version

We are deploying Einstein Bot component from an org to other org by using Ant Migration Tool. The same component already exists in the target org and is active. So when we are doing this we are ...
1
vote
1answer
151 views

Error deploying flows: Required field is missing: actionType

I need to fetch components from sandbox and deploy them back to sandbox after a refresh. First I tried with Eclipse force plugin: Restoring sandbox components1 I can fetch all needed components, but ...
1
vote
0answers
17 views

Validate LMA/FMA Before Publishing To AppExchange

Is it possible to validate that your LMA/FMA code functions correctly before you ever upload a package to the AppExchange? I have an existing, released managed package that I need to try using LMA/...
1
vote
0answers
83 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 ...
1
vote
0answers
22 views

Batch fails to deploy

I have a batch that I uploaded into Production successfully on July 20th and then a change to that batch on July 27th, both with no issues. I needed to make another change to that batch today, so I ...
1
vote
1answer
35 views

Do Apex tests (have to) run as part of the deployment when we deploy Processes and autolaunched Flows?

When you have enabled the setting 'deploy processes and flows as active' you need 75% of Processes and Autolaunched flows to have at least some Apex code coverage. The documentation on Running Apex ...
1
vote
0answers
38 views

Password lost from named credential in unlocked package

I have created an unlocked package. The unlocked package contains named credential. The unlock package process creation when failed when there was no in the file. So, I had to add actualPassword in ...
1
vote
0answers
175 views

SFDX deploying Contact Sharing rules on a fresh deployment

I'm trying to deploy a Contact sharing rule into a new scratch org and I get following error. Deploying sharing rule xxxxx not supported for object Contact since it's org wide default is '...
1
vote
1answer
67 views

DX retrieve metadata folder for deployment - folder self destructs

I'm attempting to retrieve metadata from my sandbox org in order to deploy to production. I've been doing this over the past month or so using the following commands in my VSCode terminal: export ...
1
vote
1answer
307 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 ...
1
vote
1answer
40 views

Problem deploying package using Ant migration to a new org

I am trying to deploy a new package from my test org to new org. But I am running into some issues due to one standard field in Account object. Field is IsCustomerPortal this field is created when ...
1
vote
0answers
675 views

Deploy Source in Manifest to Org - ended with exit code 1 and no response in problem tab

I have a local Salesforce DX project with a package.xml manifest file. The project has been authorised against a fresh developer org. I want to deploy all my local code in one go, so I am using the ...
1
vote
1answer
267 views

Errors while running job through cloudbees, on the org the deployment succeeds

We have are using cloudbees to deploy to salesforce using ant. While deploying to an org we get the following error, but if we check on the sandbox, the deployment actually proceeds. Because of the ...
1
vote
1answer
277 views

Migrating a communities from Sandbox to PartialCopy

I'm trying to deploy a Partner community from a sandbox to a partial-copy, but I receive this error: The page "/event" for Menu Item "Event" must be published, begin with a / character, and ...