Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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

Custom setting deployment

I have a custom setting called CAT_Custom into which i have a URL field called CAT_URL. I have different values for this URL field in both PROD and in STAGE environments. Now when i deploy this ...
4
votes
2answers
47 views

VS Code Deploying User Interface similar to MavensMate?

One of the things I loved about MavensMate was how easy it was to deploy Metadata from one SFDC Org to another. See image below - it allowed you to select which metadata types you wanted to deploy and ...
1
vote
1answer
29 views

Maintaining file/folder structure during outbound change set

I make/deploy my APEX and LWC components through VS Code and SFDX and recently ran into a problem where, when I went to deploy a lwc to another sandcopy, I noticed that the folder/file structure I had ...
2
votes
1answer
55 views

Classifying metadata into destructiveChangesPre.xml vs destructiveChangesPost.xml

I understand how both destructiveChangesPre.xml & destructiveChangesPost.xml work, but I'm wondering if it's possible to algorithmically classify metadata deletions between the two (theoretically; ...
0
votes
1answer
21 views

How to enforce code coverage using Salesforce Migration Tool (Ant) whilst targeting a sandbox?

I am preparing an Ant package to move code to production. However, many of the existing orgs tests are very out of date and are failing. At this point, my only option is to select tests that cover the ...
0
votes
0answers
10 views

How to resolve deployment error: “Error: You may not turn off permission Read PartnerFundClaim for this License Type”

Using Salesforce Migration Tool (Ant) and whislst deploying a profile, I am getting this error: [sf:deploy] Component Failures: [sf:deploy] 1. profiles/My Custom Profile.profile -- Error: You may ...
1
vote
0answers
9 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
30 views

Deploy Commented Out Apex Class

In my Sandbox i have Generated some Apex Classes from WSDL (Synchronous and Asynchronous as default). I have commented out all the async code because i do not use it for the time being, but i don't ...
0
votes
2answers
19 views

Packaging changes to Standard Picklist Field Values

I'm trying to package changes (added Received) to the Status picklist field on the Order object. In the package.xml I have added the following: <types> <members>OrderStatus</...
0
votes
1answer
21 views

API Version and Ant Deployment tool

The package.xml in my git repo has an API version near the bottom: <version>47.0</version> When I deploy to a development branch org, it's OK. When I retrieve from the branch org, there ...
0
votes
1answer
10 views

Heroku: running a MongoDB and Flask site, defined with Docker-Compose

I have a docker image that I've made using a single docker-compose.yml. It is a very simple Flask and MongoDB site, defined as such: version: '3' services: website: build: . ...
1
vote
1answer
21 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 ...
0
votes
0answers
16 views

How To Delete Apex Class Using SFDX and RunSpecifiedTests

Using SFDX trying to delete single Apex Classes in Production. sfdx force:source:deploy -u [orgname] -l RunSpecifiedTest -m ApexClass:ClassName Error "TestClass Cannot Find ClassName" I ...
0
votes
0answers
11 views

getting Error-ERROR running force:org:create: The request to create a scratch org returned an unexpected status

getting below error while creating scratch org- ERROR running force:org:create: The request to create a scratch org returned an unexpected status I am using this command- sfdx force:org:create -f ...
1
vote
0answers
24 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 ...
0
votes
0answers
18 views

SFDX Package lookup filter deployment issue

I am trying to create an unmanaged package which has one custom object with lookup filter on a master detail field. <fullName>Contact__c</fullName> <externalId>false</externalId&...
0
votes
0answers
18 views

Mavensmate: Workaround for Client Identifier Error

We all know that Mavensmate was put to rest not too long ago but I've seen a few forums discussing the possibility of bring it back to life with a client identifier workaround? Can someone explain ...
0
votes
1answer
19 views

ANT Migration Tool deployment error: “Bad file: XML document structures must start and end within the same entity”

I know what this error means, but the XML I'm deploying (below) was generated by the Migration Tool after running ant retrieve, and every XML validator I've tried says it's valid XML, without typos. ...
0
votes
0answers
145 views

Invalid or missing required CSRF token when deploying metadata via Workbench

I am merging orgs and have the prepped all the package.xml files. I've also retrieved the metadata. When I deploy to the target org, I get this error message: 403 Forbidden Invalid or missing ...
0
votes
1answer
91 views

Getting a Deployment Validation Error “Unknown user permission: TraceXdsQueries”

I'm getting this issue, "Unknown user permission: TraceXdsQueries" when I try to validate our package in one of our sandboxes. This is the only remaining error in our package and we couldn't find any ...
0
votes
0answers
36 views

Deploying Custom IOS App to Publishing Service “failed to verify code signature” error

We have a custom IOS app we built using the salesforceMobileSDK with no issues. We just added ServiceKnowledge and ServiceCore frameworks via COCOA Pods. The app launches and runs fine directly ...
0
votes
1answer
19 views

Retrieve Case Action - Send Email Metadata in VsCode

I have made changes to the pre-defined field values section of Case Action:Email in my scratch org. Upon pulling, VsCode retrieves nothing. Can someone help? How should I commit this change and under ...
3
votes
2answers
1k views

Invalid property [hideChatterActions] in component [force:highlightsPanel]

Invalid property [hideChatterActions] in component [force:highlightsPanel] while we deploy the lighting pages from sandbox to production. How we can get rid this error ?
0
votes
1answer
54 views

Unable to deploy SiteDotCom: target org is running on an earlier version of Salesforce and can't accept the current file [duplicate]

I am trying to deploy a Salesforce Lightning Community from a Sandbox to Production. I've included the Network and SiteDotCom in the change set, but I am getting this error: Sorry, your target org ...
1
vote
1answer
41 views

Can We Create a Change Set via a Package.xml?

Is it possible in Workbench to create a changeset in the target sandbox using a package.xml? See, we are going to deploy 300 components from a UAT sandbox to a PRE-PROD sandbox without recreating the ...
0
votes
2answers
26 views

Remove an Action from Workflow Rule using Change Set

I have an existing Workflow Rule with 3 actions. I remove one action in a sandbox. Create a Chnage Set with only this Workflow Rule (not action I removed). Upload to Production. Check the source of ...
0
votes
0answers
44 views

View Flow Usage and Flow Event Data Permission is conflicting across orgs

I noticed today that a permission conflict is resulting in the failure of a deployment and we have no clear way to fix it. The standard admin profile in Production has the View Flow Usage and Flow ...
0
votes
2answers
32 views

Error while deploying new Public Group using ANT

I'm getting the following error while deploying into my Sandboxes using ANT: 2019-09-19T15:15:28.4944305Z All Component Failures: 2019-09-19T15:15:28.4945450Z 1. groups/Service_Desk_Users.group -- ...
1
vote
0answers
31 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 ...
0
votes
0answers
14 views

Need to change the Tab name in through metadata

I want to change custom tab name using metadata deployment. I have below Metadata where i have included Label but still its not reflecting <?xml version="1.0" encoding="UTF-8"?> <CustomTab ...
0
votes
1answer
26 views

Is it possible to deploy destructive change and new metadata in the same package.xml

Is it possible for exemple to deploy, in the same package, the action of destruct a field and create another in the same time? Or I need to deploy 2 differents packages in two times: - one to ...
0
votes
0answers
18 views

SFDX: Deployment Fails for report types with the following Error “Could not find field WhatCount in table Activity”

I have been trying to push in my repository code to my scratch org for almost 3 days now but every time I push it using the sfdx force:source:push -f -u <alias> command, I almost every-time ...
2
votes
0answers
24 views

Why Salesforce thinks I'm deploying a certain sharing model, while the metadata tells another story?

I have the account and contact object metadata files with the following sharing types: Account <sharingModel>ReadWrite</sharingModel> Contact <sharingModel>ControlledByParent</...
0
votes
2answers
143 views

Salesforce deployment using Ant and SFDX

Our project is in this format after using sfdx force:mdapi:convert -r src it converted to this which doesnt have package.xml Using sfdx force:source:convert converted project to this format with ...
0
votes
0answers
11 views

Error trying to deploy an unlock package

I installed a new unlock package version on a sandbox and I got this error: "​Controller ​'apex://OController' with public method must be in the same package as component 'markup://c:OLSFPendingTrans'....
3
votes
2answers
92 views

SFDX CLI initial deployment failure: chicken and egg?

Using the latest sfdx CLI version (sfdx-cli/7.22.0-de5c6ecff8 win32-x64 node-v10.15.3) I am now facing a problem with initial deployment (force:source:push) to a scratch org. Scenario: We have an ...
0
votes
0answers
13 views

Deploy cache partition to org without Platform Cache enabled

I wanted to deploy PlatformCachePartition Metadata to an org without having to enable or buy PlatformCache from Salesforce. The org would not use the PlatformCache just contain the pushed Metadata. Is ...
3
votes
2answers
196 views

When setting up Continuous Integration Job, should I deploy only changed files in commit or All files in repository? [closed]

I am setting up Continuous Integration and kind of confused as title says, whether to deploy only the components that are changed in the commit or all the components from repository? Some people ...
1
vote
1answer
90 views

How to deploy from sandbox to production with visual studio code?

I have read all documentation and don't fully understand how to move code (apex classes, visualforce pages) to production from a sandbox. Can someone give a full process user guide how to do that? ...
0
votes
0answers
50 views

Error while deploying using Ant - (ProfileName.userCanEditRecordTypeSettings error)

Our deployment started to fail with the following error. Has anybody faced the issue as well? I wasn't able to find much about it out there or here.... Thanks. deployCodeCheckOnly: [antlib:com....
0
votes
0answers
42 views

Quick Deploy via ANT Not Working - UNKNOWN_EXCEPTION: invalid parameter value

I am attempting to use the Quick Deploy functionality through the metadata API, using the Ant Migration tool, and it is not working for me. I have setup a Jenkins job that passes the sf.​...
0
votes
0answers
30 views

Removing controlling field values (picklist dependencies) during deployment

We have multiple orgs on which we are running deployments using jenkins and ant deployment tool. We have problem when removing dependencies during deployment. So basically I'm able to remove ...
1
vote
1answer
118 views

Azure DevOps with Ant for deployment questions

We are trying to implement our CI/CD with Azure DevOps (Pipelines) but we are facing a couple errors. Basically we were trying to created just one build.xml and one build.properties files and ...
0
votes
0answers
11 views

how can I see the (Deployed)package thrown trigger

Firstly I was write Trigger for my one a object its working And after i wanted to write for production but i learn its imposible i need the deploy Thats why I install ForceCode in Visual Studio Code ...
1
vote
0answers
18 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
39 views

Checking previous metadata deployments

So I'm playing with deploys using the metadata API and I have 2 questions. I noticed that when you deploy using metadata the deploy name in "Deployment Status" is just an Id, can I change the name? I ...
1
vote
1answer
87 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 ...
0
votes
1answer
56 views

infonot a valid enumeration for type class com.sforce.soap.metadata.deployproblemtype

While validating Package.xml from Force.com IDE to Salesforce org, I am getting error: infonot a valid enumeration for type class com.sforce.soap.metadata.deployproblemtype <?xml version="1.0" ...
0
votes
1answer
57 views

timed out error in salesforce dx when on office network

When I am using my office network I am not able to deploy code to any sandbox using salesforce dx it shows the timed out error and when I use sfdx force:org:list in CLI it shows all org's connected ...
0
votes
0answers
362 views

Send Email is disabled or activities are not allowed. Enable Send Email and allow activities, then try again

I'm getting the following error while deploying the case page layout to another org vi Copado. Deployment Error: [QuickAction Case.Custom_Email] Send Email is disabled or activities are not allowed. ...