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.

324 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
23 views

How do I initiate a call-out on metadata deployment?

Overview I would like to communicate with my team when I've deployed a change to production. For context, let's say I'm just need to make an outbound API call to my team's Slack channel, but please ...
2
votes
0answers
39 views

Is there a faster way to traverse your Outbound Changeset?

So I have an outbound changeset that contains more than 350 components. Now the changeset list only shows 25 components at one time and it would take me a million years to traverse all the way to the ...
2
votes
1answer
366 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 ...
2
votes
0answers
176 views

deploy LeadConvertSettings

I'm new to ANT. I've seen some great threads on how to retrieve LeadConvertSettings, but I'm wondering if it is possible to deploy changes so that specific custom fields are no longer "mapped" (e.g. ...
2
votes
0answers
403 views

Error when trying to deploy Lightning Page: “Error: You can't change a Lightning Page's associated template”

Relatively new to the SFDC world and I've come across this issue when trying to deploy Lightning pages to a new sandbox. When deploying my lightning page via workbench I get the following error: ...
2
votes
0answers
35 views

Profile Mapping when installing a managed package using Ant

When installing a managed packages via Ant, is there any way to map managed package profiles to profiles that already exist in the Salesforce org? I have the following profiles in the Salesforce Org. ...
2
votes
0answers
380 views

How to retrieve global value set values assigned to Task recordtype through metadata API

How do I, through the metadata, retrieve the picklistvalues assigned to a task recordtype, when the picklist is a global value set? I've tried with the following package.xml, however neither the ...
2
votes
0answers
48 views

Managed Package: Code validation against patch org before actual deployment there

After releasing main version of our managed package, we've decided to go ahead with bug fixing using patch org. It's well known that patch org doesn't allow any addition or removal of artifacts. But ...
2
votes
0answers
1k views

Limitation in Global Picklist while deploying via ChangeSet?

Is there any issue or Limitation with Global Picklist while its being deployed from One ORG to another. I had some Custom Fields and a Global Picklist field. I have written a Trigger on Case to ...
2
votes
0answers
2k views

Case Status new picklist value deployment error through metadata api

We are trying to deploy some new picklist values on the Case object, on the standard Status field. One of them is the value "On-Hold" included on a new Support process, called "Support" which we are ...
2
votes
0answers
538 views

Deployment Error – UIType isn't updateable for custom apps

Running into an change set deployment error I've never seen before: UIType isn't updateable for custom apps I've got just about all of the dependencies already deployed. And the only information I ...
2
votes
0answers
318 views

Deployment failed: Component Errors: Duplicate picklist value:Yes_or_No - No

Issue: When validating a change set of 300 items into production, I received one component error: API Name: Opportunity.New_Integrated_Payments_Customer | Type: Record Type | Line: 5028 | ...
2
votes
0answers
275 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
420 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
642 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
673 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
641 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
82 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
332 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
608 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
406 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
120 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
46 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
135 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
409 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
50 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
2k 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
209 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
556 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
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
659 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
68 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
81 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
322 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
22 views

Visual Studio Code Deploy Issue

I am trying to deploy an utility class by adding a small method. The method implementation is below. public static boolean isId(String strValue) { return strValue instanceOf Id; } When I try ...
1
vote
1answer
28 views

activateRSS Error while Deploying the Managed Package from one org to another using Workbench Salesforce

Using Workbench I retrieved the Installed package from the Org1 and then deployed it to another Org, but I am getting the error: Required field is missing: activateRSS Then I changed the version of ...
1
vote
0answers
102 views

ExperienceBundle: missing property renderPriority

I retrieved a ExperienceBundle and all the necessary dependencies from a sandbox and am trying to deploy to production. I keep having to manually add this renderPriority for a themed community. It ...
1
vote
1answer
259 views

Custom field reference problem in profileSearchLayouts metadata

In a sandbox I've created a custom object with some fields. In Lightning, I've created some Search Layouts for different community profiles. I've noticed that the metadata looks like this: <...
1
vote
1answer
63 views

Trailhead LWC Basics - ERROR running force:source:deploy: Deploy failed. - E_Bikes1 Not Available to Deploy for this Org

I am completing the Lightning Web Components -> Push and Deploy Lightning Web Component Files challenge and am getting the "ERROR running force:source:deploy: Deploy failed." error as many others on ...
1
vote
0answers
97 views

Not seeing changes to LWC after deploying via VSCode

I have a SFDX Force-App that contains all of my classes, lightning web components, objects, triggers, etc. I've uploaded this force-app to my sandbox and my changes in my lwc was there and looked good ...
1
vote
0answers
128 views

VS Code SFDX Salesforce CLI Deployment issue

From VS Code when trying to run below command sfdx force:source:deploy --manifest c:\temp_worspace\temp-folder\manifest\package.xml --json --loglevel fatal Getting below error ...
1
vote
0answers
113 views

Error while deploying flexipages xml

Am facing issue while deploying lightning page related changes to other org using [flexipage]xml file. Error: All Component Failures: 1. flexipages/APTS_Quote_Record.flexipage -- Error: The ...
1
vote
0answers
43 views

Unknown user permission: UseMySearch

Why am i getting this error while deploying my profiles into another sandbox. Please let me know hwo to solve this. i have tried verifying my components in the change set and everything looks fine
1
vote
0answers
442 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
45 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
1answer
37 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
231 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
0answers
31 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
2
3 4 5
7