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

How do I add ContactPointAddress.PreferenceRank field?

Hi I am comparing a sandbox to production and noticed that two additional fields are present on the Contact Point Address object in the sandbox. Preference Rank Usage Type I don't think they are ...
1
vote
0answers
16 views

SFDX force:source:deploy with -x parameter not deploying all components in package.xml

I've just encountered a very troublesome issue using sfdx with the -x parameter to deploy components using only the ones listed in package.xml I have a one big sfdx project folder where I retrieve all ...
0
votes
0answers
21 views

Channel Program object is not available in scratch org

I'm creating a Scratch Org. Following is my command. sfdx force:org:create -f config\project-scratch-def.json --setalias My-Scratch-Org --durationdays 30 --setdefaultusername --json But then once the ...
3
votes
1answer
55 views

Is there a way to change deployment settings using sfdx or on scratch org creation?

The deployment settings (Setup > Deploy > Deployment Settings) contain a Boolean "Allow deployments of components when corresponding Apex jobs are pending or in progress" which ...
0
votes
1answer
94 views

Invalid property [enableActionsInNative] in component [force:highlightsPanel] when deploying

Came across these two errors when deploying my first change set. I've read another thread where it says to delete your highlights panel, but I'm not sure how to do that. Do I delete the highlights ...
0
votes
2answers
47 views

how to deploy quote templates in salesforce, I think we can't deploy using changesets? Is there any alternate ways to deploy? [closed]

https://trailblazer.salesforce.com/ideaView?id=08730000000irFdAAI Could you please share your thoughts on this, with out manual creation any other possibilities to deploy quote templates Thanks
5
votes
1answer
85 views

Deployment is failing due to “weird” character

Our admin created a new picklist field (Client_Temperature_Status__c) on the Account object and the values added are actually emojis selected using the Emoji Picker on Windows. Here are the values ...
1
vote
0answers
19 views

Issues deploying child standard object

I havea problem. I am trying to deploy a bunch of stuff to a sandbox, and getting ControlledByParent is not a valid sharing model for Asset Problems are: Assets absolutely accept “Controlled By ...
0
votes
2answers
35 views

Trigger test coverage is 0 on deploy to production

I have the below trigger to update certain records when a form record changes status to submitted. It simply checks the status of the form, makes the updates on the other records and then commits the ...
0
votes
2answers
57 views

SFDX Lightning Page Deployment Issues Property 'itemInstances' not valid in version 47.0 [duplicate]

I trying to deploy my package while validating changes salesforce given this error "Lightning Page Property 'itemInstances' not valid in version 47.0" do you guys have any insight for these ...
0
votes
1answer
33 views

Retrieve record type label's translated value

I have translated record type label name in translation workbench but not able to retrieve it in package xml. record type is not coming in below xml: * CustomObjectTranslation How can I ...
0
votes
0answers
20 views

Help deploying lightning component from git clone

I'm new to git and trying to deploy some lightning components to my developer sandbox for testing. The git page is: https://github.com/CharlesHGong/lightningRelatedListWithFilter In vscode, I believe ...
0
votes
0answers
15 views

Admin.UserCanEditFieldPermissions error while deploying using Bamboo

Error: "profileName", line 0: Error Admin.userCanEditFieldPermissions Having trouble finding information about the above error when deploying Profiles using Bamboo. The deployment in ...
0
votes
0answers
35 views

Profile Metadata Missing

I am retrieving Profiles and custom fields with Package.xml, But there are fields permission missing. *<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <...
1
vote
1answer
130 views

Property 'itemInstances' and 'processOrder' not valid in version 48.0 error when deploying in Production, even though Production is 49.0

When trying to deploy the converted metadata using VS code sfdx force:mdapi:deploy deploy to my Production Org and I get the error Property 'itemInstances' not valid in version 48.0 and Property '...
1
vote
1answer
39 views

“Unsupported attribute …” error when deploying VF Email template with ANT

I spent an entire day trying to figure out why I got this error in my deployment but could not figure out why. So I hope someone here could shed some light on this. This is the error I got. I don't ...
0
votes
0answers
12 views

Heroku app is using old js file instead of github updated file

I pushed the changed js and html file to github. Heroku is auto-deploying with github's new file. But when I browse the app, the html files are updated but js files are not update old files. The ...
2
votes
1answer
41 views

How to Deploy Org Wide Sharing with DX

I'm trying to change Lead sharing from Public Read/Write/Transfer to Public Read. However when I add the code below to the definition json file and deploy, nothing changes. Can anyone help? "...
0
votes
1answer
62 views

How can I change the version of a Flexipage through SFDX?

I am trying to deploy a flexipage that was modified in our repo, but the target sandbox is giving me this error: Property 'itemInstances' not valid in version 47.0 Based on what I could find in ...
0
votes
0answers
41 views

Deploying lightning web component from VScode to sandbox takes more time

I am trying to deploy lightning web component from VScode to the sandbox using the command SFDX:Deploy Source to Org. It was working fine previously but for the past 2 days, deploying is taking more ...
0
votes
1answer
14 views

How to retrieve the Type field on the Event object?

Type is a standard picklist field on the standard object Event and I want to retrieve the field as I made a modification to the picklist values but I am unable to retrieve it when I retrieve the event ...
1
vote
0answers
24 views

How to Deploy Inactive Duplicate and matching rule

Before Data migration, we perform some pre-steps to migrate the data (data from source to destination Should be same) Deactivating duplicate and matching Rules is one of the steps we perform as the ...
0
votes
1answer
31 views

error ANT deploying flow which uses Winter '20 features

I edited and tested two flows in my SB that they now use the new Flow winter '20 feature whereby in 'Get Records' step I am letting SF automatically define the record variable (getCandidateQnRecord) ...
1
vote
1answer
30 views

Aura Component with LWC: Failed to resolve import [closed]

We are trying to deploy an Aura component that houses an LWC that utilizes templates with the return on the render() method. The component works fine by itself but when we add it to an aura component ...
0
votes
0answers
10 views

I deploy an application to Heroku and it get publish to an http url instead of an https

I have an application that when I deploy it to heroku it gets published to an HTTP instead of an HTTPS url. In the https url appears an old version of the application, and I don't know how to remove ...
0
votes
1answer
63 views

Validation error while deploying a quick action on Case object

I am deploying a quick action on case object using VS Code but I am getting the below validation error and I am not able to remove this error :- Case.Email_Random_Name Action 0 0 Required fields ...
1
vote
1answer
67 views

Retrieve and Deploy Custom Fields with Profile FLS settings via SFDX

Is there a simple way to use the sfdx CLI to retrieve and deploy new custom fields from one org to another? Use case: Someone creates new custom fields in Production and want to deploy them easily to ...
0
votes
1answer
20 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
20 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
35 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
62 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
31 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 ...
2
votes
1answer
52 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
0answers
36 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
1answer
56 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
17 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
78 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
56 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
30 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
34 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 ...
3
votes
2answers
67 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
52 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
1answer
210 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
50 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
42 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
32 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 ...
2
votes
0answers
116 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
93 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 ...

1
2 3 4 5
26