Skip to main content

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
0 answers
19 views

Variable does'nt exist error while pushing the source code to the scratch org

I have tried to push the source code to my scratch org using this command sfdx force:source:push I'm getting component failures and deployment is getting failed below are the errors Variable doesn't ...
Kruteeka ms's user avatar
1 vote
1 answer
35 views

Check test covarage before push? I'm trying to deploy and execute staged Apex Classes tests before git push

I'm not SF expert. I'm helping another team to improve and apply some code standards. How to check the test coverage before git push? I'm trying to deploy and execute staged Apex Classes tests before ...
Свободен Роб's user avatar
0 votes
0 answers
24 views

Integration where 3th party uses SF API when receiving ID in URL parameter - Sandbox CI/CD

We have currently this integration setup: SF PROD - APPLICATION PROD SF UAT - APPLICATION UAT Both have their own clientid/clientsecret/securitytoken Now we want to work more with seperate sandboxes &...
userRR's user avatar
  • 126
1 vote
0 answers
30 views

Why are my SF CLI deployment errors in other language than English?

I'm trying to build an unlocked package and there are some errors received. I'm not concerned about the issues themselves though, the problem is that they are in German: [...] ...
Przemysław Długoszewski-Tamoń's user avatar
0 votes
1 answer
48 views

Unable to deploy due to Payload Error Invalid version specified on package.xml

I'm unable to deploy a simple LWC from a trailhead. (I'm copy/pasting the example code, couldn't get to the hands-on challenge) A list of things that I already tried: Changed the version on the ...
Juan Ignacio Carreño's user avatar
0 votes
0 answers
48 views

Flow deployment gack Please include this ErrorId if you contact support: 1045887962-82268 (39678550)

Above error I receive when deploying autolaunched flow to scratch org created from snapshot. Everything deploys correctly to scratch org created in traditional way. Even when source for snapshot is ...
patryk's user avatar
  • 655
1 vote
1 answer
24 views

Error buildpacks to deploy Lightning Web Runtime SPA standalone nodeJS project to Heroku

I am trying to deploy my standalone LWR SPA project to Heroku. I have created a project then connected to the LWR SPA project via command heroku git:remote -a my-application Then, I added a buildpack ...
user149845's user avatar
1 vote
1 answer
40 views

Problems deploying (brandingset) via VS Code

I have this package.xml: <types> <members>LEXTHEMINGTR2C2</members> <name>BrandingSet</name> </types> ... <types> <...
Bernardo Lira's user avatar
0 votes
0 answers
57 views

Cross Object Field on FlexiPage in 2GP Package Issue

Trying to version/validate a package and continually running into issues surrounding cross object fields on a flexipage. Something went wrong. We couldn't retrieve or load the information on the field:...
bblackinton's user avatar
1 vote
1 answer
80 views

How error `Flow Version Limit Exceeded, Details: You can only have 50 versions per flow.` can be avoided?

Looks like every time when a deployment happens on the environment using CI/CD process, a new Flow version is created, which leads to an error Flow Version Limit Exceeded, Details: You can only have ...
Patlatus's user avatar
  • 17.3k
1 vote
1 answer
77 views

CI/CD error for deployment of ConversationMessageDefinition

We have CI/CD error failures when we try to validate or deploy ConversationMessageDefinition src/conversationMessageDefinitions/ComForum.conversationMessageDefinition-meta.xml: Could not infer a ...
Patlatus's user avatar
  • 17.3k
0 votes
1 answer
105 views

Deployment Error while deploying Custom field

I m trying to depploying the custom field from one sandbox to another sandbox via git but unfortunatly geeting below error. i m verified the all field like profile permissions, etc etc but no luck. ...
BRAHMA REDDY's user avatar
0 votes
0 answers
49 views

Wave Analytics deployment error

I am facing error while running the dataflow. I have created an Analytics event monitoring app using template.I created a dashboard using datasets which were created with App. When I am trying to ...
sbv's user avatar
  • 1
2 votes
1 answer
50 views

Deploy entire Customizations, Flow, Apex etc from a Developer Edition org to a new Production org

We have been doing configurations, development, and automations in a Salesforce developer edition org independent of a production instance(not a sandbox). We have now just acquired a new production ...
Kele Saunders's user avatar
0 votes
0 answers
29 views

Unable to deploy simple APEX class due to test error from another plugin

I am helping a client to develop a custom LWC component, and I need a simple apex function to generate a list of records for me. Since getRecords from 'lightning/uiRecordApi' requires specific ids, ...
eforblue's user avatar
-3 votes
2 answers
25 views

ERROR [Profile System Admin] Permission ManageContentProperties depends on permission(s): CustomizeApplication

ERROR [Profile System Admin] Permission ManageContentProperties depends on permission(s): CustomizeApplication
Saravanan Kuppusamy's user avatar
0 votes
0 answers
96 views

Change set error validating the flow definition component

First of all I have 2 errors. 1.Error validating the changeset. -I have a flow I created but I'm getting this error message in changeset: "insufficient access rights on cross-reference id" ...
Saber's user avatar
  • 1
1 vote
0 answers
34 views

java.lang.NullPointerException error while Salesforce Deployment Experience Site

When i try to deploy ExperienceBundle to higher orgs I'm receiving the following error. No other details are available. How to overcome or find the exact issue in this case.
Vijay Sai Mahajan's user avatar
1 vote
1 answer
46 views

Why is Salesforce example for package.xml manifest files referencing http links instead of https links?

In Salesforce help article, all their links are referencing the http link like so : <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/...
compski's user avatar
  • 1,352
0 votes
1 answer
198 views

GackID on standalone audience deployment

Hopefully someone can help me out with a gackId that I've been receiving. An unexpected error occurred with gackId 1372102114-24728 (1131023739). Try again or contact your Salesforce admin for help. ...
TylerTwoForks's user avatar
0 votes
1 answer
65 views

error while deploying omniscripts using github action pipeline

im deploying multiple vesrions of same omniscripts from one org to another using meta data , but getting below while deploying . So want to know whether can we deploy multiple versions of same ...
Raju's user avatar
  • 11
1 vote
1 answer
474 views

duplicate value found: <unknown> duplicates value on record with id: <unknown> when deploying flow with custom error

When I attempt to deploy a record-triggered flow with a custom error message element to a UAT sandbox, the validation phase fails with the vague error: "duplicate value found: duplicates value ...
Kamyar's user avatar
  • 31
0 votes
0 answers
45 views

Access Static Resource Zip to then Deploy into Salesforce

I have a zipped folder containing Reports and their xmls, along with a "package.xml" uploaded into my Salesforce's Static Resources.` I'm trying to retrieve this Zip using StaticResource ...
Sam's user avatar
  • 1
0 votes
0 answers
20 views

How to Dynamically Reference Salesforce Campaigns for Environment-Independent Code

I'm developing Salesforce code that interacts with a specific campaign. Currently, I have the following snippet, but it is not environment-independent due to hardcoded IDs: if (opp.RecordType....
Mahmut Salman's user avatar
0 votes
2 answers
222 views

Is it possible to deploy by filename using the new CLI?

I have been using a command from the old CLI: sfdx force:source:deploy -p "/path/to/filename.cls" to deploy by filename. Is this possible using the new CLI? I do see an example of sf project ...
Z0q's user avatar
  • 91
2 votes
1 answer
284 views

sf project deploy preview shows conflicts, but files are identical

When I run sf project deploy preview it shows particular files as conflicted. However, when I run SFDX: Diff File Against Org, it shows as identical. What does it mean to have a conflict when ...
Z0q's user avatar
  • 91
0 votes
1 answer
106 views

Test Class Data Setup - Cant Access Data outside

Within my test class's "setup()" method, I am calling a class that creates and inserts Salesforce objects and the necessary related objects to create that object (if any). @TestSetup static ...
plowrey's user avatar
0 votes
1 answer
69 views

What would be the necessary changes when moving API from test to Prod?

When moving from testing to Prod we will begin using a Prod API site with a different URL. So some of the components which will need to be updated will include Named Credentials, Apex, and HTTP ...
Zoom_v's user avatar
  • 3,894
0 votes
1 answer
76 views

What is the metadata for "AI Applications" in this deployment error?

I'm trying to delete some fields from an org, and this error pops up saying that the field is being used somewhere: This custom field is referenced elsewhere in salesforce.com. AI Applications: ...
Renato Oliveira's user avatar
-1 votes
1 answer
194 views

Error message when deploy from QA to Production

I tried to deploy a flow from Dev to QA everything works fine but when i tried to deploy it from QA to Production I got this error message, can anyone please help me to resolve it?
Slim Chakroun's user avatar
2 votes
0 answers
125 views

Feature Flagging in Production for a non partner client. Possible?

This is more of a generic question about feature flagging in Salesforce. Our company currently uses LaunchDarkly for other applications, we are under the investigating process to see if it will work ...
Rodrigo's user avatar
  • 1,295
2 votes
1 answer
509 views

Connected apps deployment troubles in ApiVersion 59.0

After changing sourceApiVersion from 58.0 to 59.0 deployment of connected apps started failing with this error: Property 'isTokenExchangeFlowEnabled' not valid in version 59.0 Error points to this ...
SalesForceNewbie's user avatar
0 votes
0 answers
100 views

Knowledge__kav object's standard fields in Metadata API file issue

Is there anyone has tried to retrieve the Knowledge_kav object's standard fields via Metadata API before? Seems to me that it is not available for the Knowledge obj. When I use: <types> <...
Kenan Ce's user avatar
0 votes
0 answers
42 views

Deleting Lightning Component which is referenced previously in Community builder (currently the component is not in use) [duplicate]

I am trying to delete a component 'CategoryHeader' which is referred in Experience builder, geting the following error: **[LightningComponentBundle CategoryHeader] This component is found in 1 ...
BeginnerBuddy's user avatar
-1 votes
1 answer
142 views

Deploying profiles from sandbox with vs code sfdx and it overwrites all object permission

I am deploying with sfdx GitHub updated custom profile(originally cloned from System Admin profiles) and edited permissions(CRUD access) on ONE objects and field level. I retrieved metadata, but it ...
msul's user avatar
  • 1
0 votes
1 answer
116 views

Salesforce LWR Experience Cloud Deployment Error - "add a default owner for guest-user created records."

I am trying to deploy a experience LWR experience site, i added the network component to the change set and added all its dependencies. then i uploaded it to a sandbox and the site was successfully ...
Manik's user avatar
  • 1
1 vote
1 answer
795 views

Project command, project start --dry-run vs project validate

I'm trying to reach the reasons to use project validate instead of project start --dry-run. Due to, when using dry-run in project start, seems to have the same result of project validate. Project ...
Renan Queiroz's user avatar
1 vote
1 answer
170 views

Some flows not working on 2G managed package in Production Org

I've hit a bit of a snag and could use some insights. The Core Issue So, I've been working on this 2G managed package (API version 59) and finally got it released and installed in the production Org. ...
cpaesano's user avatar
0 votes
2 answers
356 views

Salesforce ListView Deployment Error

How to solve 'Invalid scope:mine' Deployment Error While Deploying Salesforce ListView Filter (ownerbased) using VS Code.
ashok shinde's user avatar
0 votes
1 answer
90 views

Method is available in sandbox but not in prod

I've composed an apex classes in sanbox, test classes as well. It works fine in sandbox. Now i wanna deploy to prod without using changesets and packages. a part of apex @testVisible protected ...
pincet's user avatar
  • 919
0 votes
1 answer
299 views

Unable to deploy experience cloud bundle with omniscript language settings

I get the following error when trying to deploy an experience cloud bundle via the metadata api to an org that has omnichannel components. We couldn't validate componentAttributes in .../views/theView....
Rob D's user avatar
  • 56
0 votes
1 answer
74 views

Apex - 0% Code Coverage!

I've developed a trigger that converts a currency field, Amount (i.e. $1,000) into words, Currency_text__c (i.e. One Thousand). This is achieved via Salesforce a 'FundingAwardTrigger' on the ...
Jean-Se's user avatar
  • 55
0 votes
0 answers
373 views

Issue deploying Sharing Rules via SFDX

I am trying to deploy metadata into a scratch org from source control. The deployment is succeeding without any errors, but only Account sharing rules are deployed. Sharing rules for custom objects ...
jfraser's user avatar
0 votes
0 answers
98 views

Deploying an Org Dependent Unlocked Package from Consultancy

We have a consultancy that may or may not update an org dependent unlocked managed package as well as a managed package. They made customizations on top of the package and we are trying to get all of ...
coinjar's user avatar
  • 23
1 vote
1 answer
170 views

Unclear deployment error An object 'parent' of type LightningComponentBundle was named in package.xml, but was not found in zipped directory

Try to deploy project on new scratch org sf project deploy start --ignore-conflicts --source-dir=./force-app --async --json And get unclear deployment error. "details": { "...
Siarhei's user avatar
  • 121
1 vote
0 answers
114 views

Cannot deploy a new picklist field to a scratch org due to error: "Duplicate label"

We are using scratch org validation as part of our CI/CD process. I created a new custom picklist field. When CI job deploys this field to a brand new scratch org the following error occurs: Metadata ...
Eduard's user avatar
  • 5,181
0 votes
1 answer
374 views

"object name is already in use" while deploying custom metadata

I have custom object with API name channel__c. I am trying to deploy custom metadata with API name as channel__mdt.it is throwing an error of "object name is already in use".
Sarjerao Pujari's user avatar
2 votes
2 answers
316 views

sfdx project:deploy:start misses files on deployment

It was recommended by sfdx to move from sfdx force:mdapi:deploy -d mdapi/ -u ... to sfdx project:deploy:start -d mdapi/ -o ..., however, I'm getting errors like: An object 'https_force_com' of type ...
Mariia Illarionova's user avatar
0 votes
1 answer
184 views

How to add profile with updated field permissions in package.xml?

I want to update a profile with some field level permissions and then deploy this on another sandbox. How can I add this in package.xml? Below is the sample XML Code for this: <?xml version="1....
coder123's user avatar
  • 129
0 votes
1 answer
86 views

Cannot deploy project due to missing type

I am currently trying to deploy my project, but are getting some errors which I am unsure how I should navigate. Error WebCart Invalid fullName, must end in a custom suffix (e.g. __c) It is ...
I am not Fat's user avatar

1
2 3 4 5
33