Questions tagged [salesforcedx]

Salesforce DX is a broad reaching project touching a number of different features including: Salesforce CLI, Force.com IDE 2.0, support of standard developer toolsets, and Packaging 2.0. Since fixing unsupported Metadata API types is also a part, some MDAPI posts could be tagged, too.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
21 views

AuthCodeExchangeError

I am trying to find my Bearer token within our sandbox. When I use the CLI, I get an error "AuthCodeExchangeError". When I use my Developer site, all works fine. Not sure why the CLI ...
Randy Kroeger's user avatar
-1 votes
1 answer
25 views

.SFDX folder creates subfolder 246 and many subfolders which are totally useless

I was trying to sync my salesforce project to OneDrive, and while syncing I saw .sfdx folder creating and uploading a 246 subfolder which again had 100s of subfolder containing apex files like ...
ibrabbit's user avatar
0 votes
1 answer
47 views

updating from sfdx-cli to sf

I've set up actions that run on deployments in git. These scripts use the sfdx commands to deploy and various other functions. Now I want to move them from sfdx and to the new sf cli. Is there a ...
akarnid's user avatar
  • 1,964
-1 votes
0 answers
51 views

How to get a new access token after Expiring current access token in salesforce React-Native?

I am developing a hybrid app using Salesforce react-native. When the access token expires I must handle the re-login process. I want to get a new access token after it expires the current access token ...
Nipuna Sachith's user avatar
-1 votes
1 answer
34 views

Upload Metadata into Salesforce from GitHub

There is a GitHub repository with metadata such as tabs, custom objects with fields, apps, etc. What is the best approach to upload that metadata from GitHub into the SF Sandbox org? Thank you in ...
BB0202's user avatar
  • 11
0 votes
1 answer
28 views

How can I create 2GP package version including FSL permissions

I'm using FSL Dispatcher Permissions and FSL Dispatcher License in test class for a scenario to cover code in my apex class. It worked fine when running the test class. But when doing a package ...
Man0har1919's user avatar
-1 votes
0 answers
23 views

Not able to see debug logs for class which implements commercepayments.PaymentGatewayAdapter salesforce OMS

I have created Adapter class in salesforce using Example Adapter classes provides on git. It captures and returns the payment as expected. But if requestType is commercepayments.RequestType....
mayur pardeshi's user avatar
0 votes
1 answer
35 views

force:apex:test:run throws error in CI: "No tests were able to be executed on the org. Please verify that the source code has been pushed correctly"

Upon attempting to run Apex tests via CI using command "force:apex:test:run" in a packaging org, I get the following error: "An unknown exception occurred. No tests were able to be ...
Andrei Migachev's user avatar
0 votes
1 answer
31 views

sfdx cli - Unable to create scratch org | Error authenticating with JWT- invalid assertion

we are having some issue starting today (22 Nov) Everything was working till date. Starting today morning we are unable to create new scratch org. sfdx CLI command we run sfdx force:org:create -f ...
Sagar Thoriya's user avatar
0 votes
1 answer
40 views

Why can't I authorize my sandbox in my SFDX environment?

I have a recently refreshed sandbox built against our production org. I need to authorize my SFDX environment so I can push the source code to it. I've executed these shell commands: % sf org login ...
Chuck's user avatar
  • 877
1 vote
1 answer
34 views

compactLayout removed from .object-meta.xml after "sf project retrieve start" or right click "SFDX: Retrieve source from org" 2GP

I'm building a package to eventually put on the app exchange. I've set up a dev hub, created a developer site with a namespace and configured visual studio code. I created my components in visual ...
Andy's user avatar
  • 23
1 vote
0 answers
25 views

Second Generation Beta Package Creation is failing in Github Action

I'm trying to create a 2nd Gen package using Github Action (workflow dispatch Action). After I deployed and run the workflow it gave me an error while uploading the new package: The error is on the &...
Oubayda Samrouth's user avatar
0 votes
0 answers
30 views

SF CLI: What time zone is the Time in CreatedDate for the package version create list command?

sf package version create list --created-last-days 0 --target-dev-hub MyDevHub --status Error --json The returned JSON includes, among other things, a time stamp that looks like this: "...
Arthlete's user avatar
  • 4,855
-1 votes
1 answer
29 views

How the field BusinessHoursId in Case record gets populated [closed]

In my org, I have two different Business Hours: Default(it is the default one) FS-Default Both are active. I have couple of RecordTypes in the Case object. Now, I need to populate field ...
shashi anand's user avatar
-1 votes
0 answers
36 views

How to create a custom button on the Screen flow to determine user clicked the button or not?

Hope everyone is enjoying the day! I am a new starter in Salesforce. I have a Flow which is cancelling the record. Scenario: The Flow will be called via quick action button on the detail page of the ...
Alik Smith's user avatar
0 votes
1 answer
37 views

Unable to retrieve my managed package zip from my package development org (developer org - devhub)

I am trying to retrieve my managed package zip from my package development org (developer org - devhub) using the below command sfdx force:mdapi:retrieve -u myDevHubUser -p MyPackageName -r ~/Desktop ...
Arif's user avatar
  • 72
0 votes
1 answer
54 views

Does it make sense to use ProfilePasswordPolicy metadata in an sfdx project?

When I interactively modify the "Password Policies": in a couple of profiles in my scratch org and then run: sfdx force:source:retrieve -m ProfilePasswordPolicy zero .profilePasswordPolicy ...
Keith C's user avatar
  • 135k
0 votes
0 answers
40 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
-2 votes
0 answers
40 views

How can i avoid the outbound messages url being modified in ci/cd process using .gitignore or .forceignore? Is it possible to use that?

we have the outbound messages that should not get updated in our entire ci/cd process. Can we use .gitignore and if so, what can a sample file looks like? Thanks
siri nandan's user avatar
1 vote
0 answers
49 views

Ignore SCRT2 Integration User Permission Set

I'm trying to .forceignore SCRT2 Integration User permission set but it's not working and keeps being retrieved. If I add the same entry to .gitignore its removed from source control. Any idea why it ...
jonny-harte's user avatar
0 votes
1 answer
91 views

Cannot deploy report type on Group Member object

I have created a report type on the Group Member object in a scratch org and pulled it into source control. When I attempt to push it to another scratch org, I get the following error: "...
jfraser's user avatar
-1 votes
1 answer
77 views

Disable notification bell

I know that it is possible to disable notification bell for entire org, Go to Setup Select Salesforce notification Uncheck Enable in-app Notification and Enable push notification. But,Is it possible ...
SFPR's user avatar
  • 1
1 vote
1 answer
38 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
  • 101
0 votes
1 answer
343 views

Issue while Authorizing Org to VS Code though two of my org are already connected to VS Code

Can anyone please help?! I am unable to do Authorize org with VS Code. I have two orgs that are already authorized with VS Code, but I am not able to authorize a new org. It's throwing an error though ...
Puja's user avatar
  • 1
2 votes
1 answer
423 views

Test class in managed package is failing with Internal Salesforce Error: 415122577-6508 (-1655455180) (-1655455180)

When Managed package metadata is deployed to a scratch org and tests are run by automated pipeline, one of the test method in a test class is failing with following error "Internal Salesforce ...
Vasudev Pai's user avatar
6 votes
2 answers
802 views

sfdx push Error - Custom Index - property 'booleanIndexedValue' not valid in version 56.0

When we try to push our existing code into the scratch org we are getting below error, =============================================================================== ──────────────────────────────────...
Sagar Thoriya's user avatar
0 votes
0 answers
44 views

Scratch Org Error while Creating

Can't create scratch org from org shape: The org shape version is outdated. Recreate the org shape and try again
Satyam 's user avatar
2 votes
1 answer
78 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
45 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
0 votes
1 answer
322 views

How to retrieve List View buttons using SFDX?

I am trying to retrieve the list view buttons settings from my Lead object but am unsure of how to capture this using VSCode Org or SFDX. It is under Custom Objects > Leads > List View Button ...
Deployment Failure's user avatar
0 votes
0 answers
50 views

LWC internal server error after clicking a button

During updating a count value after clicking a button getting some internal server error problem. error details and component details given below kindly check and help me if you found something ? ...
Basha's user avatar
  • 5
0 votes
1 answer
61 views

Issue in new CLI command, package version create

After updating to the new CLI version, unable to create new package version. I am not getting any error, in a few seconds it's saying as created but actually it's not creating anything. Let me know ...
Ragul's user avatar
  • 1
0 votes
0 answers
151 views

VS Code Retrieve and Deploy Commands are not working from command palette/right click menu while working great from Terminal commands

Getting below error when I Retrieve or Deploy any component in my VS Code - Error deploying or retrieving source: The file or directory that you tried to deploy or retrieve isn't in a package ...
sunil gupta's user avatar
1 vote
1 answer
269 views

"sf project deploy start" hits "isomorphic-git error"

Every other day I try to deploy some metadata (sf 2.11.8, PowerShell) and fail like this: > sf project deploy start --metadata ApexClass:Foo Error (1): An internal error caused this command to fail....
Felix van Hove's user avatar
1 vote
2 answers
29 views

Is there any limitation on the number of dependent packages we can create with one main 2GP package?

I have created 2GP managed package and now we are looking for to create a dependent package. So, I would like to know if there any limitation of how many dependent package we can create with same 2GP ...
Sagar Thoriya's user avatar
0 votes
1 answer
106 views

Why is the checked attribute variable's value switching not updating the checkbox UI in LWC?

I have two input field of type checkbox in my record-edit-form <lightning-input-field variant="label-inline" field-name="...
Salesforce Learner's user avatar
-3 votes
1 answer
30 views

Authorizing Salesforce Dev Org From VS Code

When I am trying to authorize my dev org in VSCode, I am getting the below error? Is anyone facing the same issue?
Sudipta Deb's user avatar
  • 1,261
0 votes
1 answer
51 views

what is the reason for data not entering the journey in sfmc while data entered in sfmc synchronized data extension?

When creating a record in salesforce data synced in synchronized data extension but not entered into journey
Test SFMC's user avatar
-1 votes
2 answers
399 views

how to overcome salesforce CLI slowness?

Salesforce extensions are taking ages to load in VS-Code. CLI team is releasing updates 5 times in a month, Not sure each release has went through performance testing before release ? After update I ...
Ragul's user avatar
  • 1
0 votes
0 answers
23 views

Intent Set Deployment

Is there a way to deploy Intent Set from dev to production with all the existing utterance present in it.If it's possible can you share me an example of the package we need to create for that or if ...
Arka Kundu's user avatar
-2 votes
1 answer
200 views

Not authorizing sandbox in VS code

I am getting error while authorizing sandbox in VS code. Earlier I was successfully authorized old sandbox but now it is giving error. After Users\PJ20912 I am not able to see path in my computer. Can ...
Varsha Yadav's user avatar
1 vote
1 answer
125 views

"No package ID was found in Dev Hub for package ID: <ID>"

Getting "No package ID was found in Dev Hub for package ID: " When trying to execute. sfdx force:package:version:create -p "Alias" -d force-app --wait 10 --installationkeybypass -a ...
shamikh's user avatar
  • 13
0 votes
1 answer
55 views

Missing Workspace and Builder action links in a Digital Experience deployed via an ExperienceBundle in a scratch org

Deploying an existing Digital Experience into a new scratch org this morning is hitting the problem normally addressed like this Add a Digital Experience site member if either the 'Manage' or '...
Keith C's user avatar
  • 135k
0 votes
0 answers
30 views

How to add tab to CustomApplication on parent managed package

I have a managed package in the Salesforce app exchange and I am beginning to develop "add on" managed packages as well that all have dependencies on the original managed package. I was ...
Tyler Edwards's user avatar
0 votes
1 answer
122 views

Retrieving Managed Package Components

Is it there anyway to retrieve managed package components like aura components and lwc? I tried using VS Code but managed package components were not retrieved. I tried retrieving all LWC & Aura ...
code234's user avatar
  • 147
1 vote
0 answers
267 views

Change text color in header of Lightning Data Table (LWC)

I am trying to change the text color in a lightning data table (LWC), and I'm not having any luck. I've read several posts about changing the background color of the headers in a lightning data table, ...
Luke's user avatar
  • 9
0 votes
0 answers
26 views

DX: Unlocked Package - override packaged formula field locally, but keep packaging the "original" formula field

Package description I am trying to create an unlocked package (e.g. package1), which adds multiple formula fields to the Opportunity object. Part of those formulas calculate the Opportunity's Revenue ...
Andrew Stopchenko's user avatar
0 votes
1 answer
47 views

Deploy a new LWC to a namespaced scratch org which references Apex methods belonging to a package which shares the same namespace

Context We have an unlocked package with a namespace (call it XYZ) that contains public @AuraEnabled methods in a number of our Apex classes. When developers need to work on new features for the ...
AJW's user avatar
  • 3
0 votes
2 answers
133 views

Salesforce packaging Error with no proper explanation

I am trying to create a package version and I started getting a error, which gives me no hints to what the problem is. packageVersionCreateResult = { "code": 1, "context":...
user853710's user avatar
0 votes
0 answers
35 views

Deploying shared EmailFolder with sfdx

I have an Email Folder I want to deploy with sfdx to another org. I did all of the configs in SF and pulled everything. I tried it with sfdx force source deploy -p app/default/email/test.emailFolder-...
user853710's user avatar

1
2 3 4 5
57