Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

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
0 votes
0 answers
26 views

Salesforce Apex: Pipe symbol (|) is converted to the ascii code | when retrieving a string that contains that character from the database

I have a text string that includes a "|" character, stored in a custom setting in Salesforce. When querying for this custom setting with Apex, the "|" character gets replaced by ...
homer onix's user avatar
1 vote
0 answers
37 views

Child component need to re render after value changes in parent component

I have 3 components. Grand Parent --> Parent --> Child. When ever data changed in Child LWC I need to Re-render the Child LWC which is inside Parent LWC. I have tried GET SET methods also. But ...
Aryan's user avatar
  • 27
1 vote
0 answers
42 views

How to use custom labels in LWC that is used in standalone LWR SPA NodeJS module?

I am trying to create LWR SPA project that consisted by LWCs. I have created new LWR SPA with command : "npm init lwr@latest" The steps was set project name - lwr-project. Select Type - ...
user149845's user avatar
0 votes
1 answer
20 views

How to pass selected record Ids from related list to flow URL?

I created a custom button in related list in salesforce. Using ids I tried to retrieve the selected records but nothing is retrieving back
Subhasini V M's user avatar
1 vote
0 answers
72 views

Unable to remove "Complete this Field" on Cancel button click from lwc input type

In LWC, there are multiple input fields but input types are combo box & text, and a few of them are required. Below is the html code <lightning-combobox class ='validateClass' data-...
Arunangshu Pal's user avatar
-1 votes
0 answers
37 views

How to Implement the rate limiting in the forget password

Can you please guide me, How to Implement the rate limiting in the forget password number of password reset emails to 5 per hour per email address. Set up a verification mechanism to track the number ...
Chittu Kala's user avatar
0 votes
0 answers
20 views

Is there a way to retrieve translation for only one field?

We can retrieve object translation using sf project retrieve start -m "CustomObjectTranslation:Custom_Object__c-de" But what if I want to retrieve translation only for particular fields, ...
afphultl's user avatar
0 votes
0 answers
20 views

Uninstalling a Package

I have a package installed in my Salesforce org. I also noticed growing numbers of SOQL queries. I would like to know if removing the package would affect any existing records and is there a way to ...
Ashley's user avatar
  • 1
0 votes
0 answers
15 views

CumulusCI: Error while creating 2GP Beta Package (fr: Not available for deploy for this organization)

I am trying to build a managed package using CumulusCI. I am getting below error: Error: fr: Not available for deploy for this organization Any pointers how can I debug this issue? I do have a fr....
nica's user avatar
  • 1,400
0 votes
0 answers
31 views

Formula validation on Field service lightning mobile app

I am trying to validate a number field on the FSL app which should accept only 10 digits and check for the format of mobile numbers like '1234567890' or '(123) 456-7890'. Following all the rules and ...
kumar's user avatar
  • 1
1 vote
0 answers
39 views

Getting Error "(1): The requested resource does not exist" while creating sandbox through Salesforce CLI

Getting Error "(1): The requested resource does not exist" while creating sandbox through Salesforce CLI sfdx org create sandbox -f config/dev-sandbox-def.json --target-org DevHubOr --wait ...
Pronit Agrawal's user avatar
1 vote
0 answers
27 views

Untangling my org

Over these years, I have done numerous mini projects in my DE. To manage my changes better, I would like to split my org into multiple unlocked packages. However I intend to manage all the packages in ...
sgshankar's user avatar
2 votes
1 answer
40 views

Import Sandbox with Test Data for non developers

The use case here is that we want to import sandbox with test data having parent child relationship in a single go. One way to do it would be to use sf commands - sf data import tree --plan Account-...
Aditya M's user avatar
  • 420
1 vote
1 answer
21 views

Salesforce Connected App (sfdx)

I have a question regarding including a Connected App in a managed package, when this app is installed on multiple orgs does the Connected App keep the Original consumerKey? or is a new one generated ...
ravent's user avatar
  • 35
-1 votes
0 answers
33 views

Trying to view/download attachment from experience site getting - site is temporarily unavailable

From Community page Iam upadling the file and that storing attachments in attachment object. After that I also want to update a custom url type field in custom object. The value will be a direct link ...
SK2889's user avatar
  • 919
0 votes
1 answer
50 views

Account.SalesforceCustomer field missing

Getting an error: "Account.SalesforceCustomer Custom Field -Could not resolve standard field's name." when deploying to scratch org What feature should be enabled for this field to appear on ...
Serhii Klevchuk's user avatar
1 vote
1 answer
90 views

2GP managed package:version:create No such column xxx on entity

I get the following error when I try to create a 2GP version using SF CLI. No such column 'Mynamespace__Opportunity__c' on the 'Mynamespace__Contract__c' entity. If you're trying to use a custom field,...
Paco's user avatar
  • 21
1 vote
1 answer
56 views

Scratch Orgs with Account Engagement (Pardot) package basic setup, advice needed

I'm looking to setup Scratch Orgs on the project that is using Pardot. But currently struggling with setup. I used Prod org shape as a baseline and then tried to install Account Engagement Managed ...
ytiq's user avatar
  • 4,545
2 votes
0 answers
41 views

Invalid class name value in 2gen packages when running tests in vsCode

We are creating a 2nd gen package in Salesforce. When we try to create a new version with code coverage, so it can be promoted, I get an error on some test files. But a few things happen: If I run ...
Dorgaldir's user avatar
0 votes
0 answers
45 views

Salesforce tooling API. Add new value for picklist (depending on the record type)

Situation: There are 11 picklists on the Account, the values of which vary depending on the record type The API request returns me 5 picklists how can I addnew picklist value for record type from ...
Sergey Chernov's user avatar
2 votes
1 answer
29 views

Creating 2GP package version error: FlowDefinition entities not supported

When creating a 2GP package version, I get the following error. These entities are not supported: [FlowDefinition] I ran into this same error a long time ago, but I can't remember the details of how ...
Craig Carpenter II's user avatar
0 votes
0 answers
32 views

sf scanner run dfa is scanning files not included in --target

When running the following command: sf scanner run dfa --target "force-app/main/default/classes/ActionItemTriggerHandler.cls,force-app/main/default/classes/ActionItemTriggerHandlerUtility.cls&...
Matty's user avatar
  • 101
2 votes
0 answers
38 views

How to use regex pattern with replaceWithEnv in replacements property in sfdx-project.json before deploying or creating package?

LWC js file content: import FIELDS from '@salesforce/schema/namespace__XYZ__c.namespace__Status__c'; sfdx-project.json: "replacements": [ { "glob": "file_path", ...
Ashish Rajbanshi's user avatar
0 votes
0 answers
37 views

Change color of Edited cell in lightning-datatable LWC

May I know How to change the background color of edited cell in lightning-datatable ? By default when we edit an editable cell in lightning-datatable it highlights in Yellow. I want to change this to ...
HarshVardhan Gowda's user avatar
3 votes
1 answer
81 views

How to retrieve the Network Access IP ranges via SFDX?

I would like to retrieve IP ranges from Network Access via SFDX but I don't how I can retrieve this? I don't see this as an option anywhere from the Salesforce Object Reference doc.
Andy Hitchings's user avatar
2 votes
0 answers
27 views

Command 'SFDX: Launch Apex Replay Debugger with Current File' resulted in an error

Summary Issue launching an Apex Replay Debugger session with a downloaded apex log. Steps To Reproduce: VSCode Command Palette - SFDX: Get Apex Debug Logs VSCode Command Palette - SFDX: Launch Apex ...
Chirag Paliwal's user avatar
0 votes
0 answers
20 views

How can I retrieve a list view for CMTD that is part of a managed package?

There is a managed package called CMTD__EnhancedRelatedList__mdt. It's quite popular package used to customise related lists. I have put together a few list views for the CMTD records that are needed ...
vio's user avatar
  • 61
1 vote
1 answer
62 views

Error While Updating an Custom Address Field using flows

Whenever the Opportunity record is created, the custom address field should be updated with the account billing address, but while being created, I'm getting the error: "This error occurred when ...
Tharun Kumar A's user avatar
0 votes
0 answers
32 views

Unable to authorise an ORG in VS Code

Getting an error as below when trying to authorise an org. In VS Code - Error (1): Invalid client credentials. Verify the OAuth client secret and ID. Error authenticating with auth code due to: retry ...
HG_'s user avatar
  • 125
0 votes
0 answers
28 views

While Retriving the Resource from the Org in VS Code Facing SFDX command Error regarding sfdx.retrive.component

I am trying to retrive the resource from the connected Org in VS Code. While clicking on the retrive button vscode is showing me the error like this: Error running command sfdx.retrieve.component: ...
Bhavesh Tilvani's user avatar
0 votes
0 answers
55 views

LWC lightning-badge in cell of lightning-datatable

I am trying to place one or more lightning-badges inside the cells of my lightning-datatable. I've been successful in using icons instead of cells, but I haven't been able to find a solution for ...
user3643040's user avatar
3 votes
1 answer
118 views

where to find the ancestor version of a package?

When a new package version is created, an ancestor version is associated with it. Now, after several releases, we want to roll back some changes and we need to know the ancestor version associated ...
dev4life's user avatar
  • 520
0 votes
0 answers
25 views

2GP sfdx project structure strategy

We have multiple 2GP managed package coming out of our current monolith 1GP package. which is a better salesforce 2gp project structure strategy, multiple package directory in same sfdx project versus ...
TariqueH's user avatar
2 votes
3 answers
759 views

Issue while Authorize an salesforce org in VS Code failed, due to Invalid request method: OPTION

I have installed VS code, Salesforce CLI with extensions, and Java. I have created the project. After that, I tried to authorize an org in vs code. But I faced the issue as Starting SFDX: Authorize ...
Madhavan p's user avatar
0 votes
0 answers
22 views

SF_TARGET_ORG seems empty during deployment, why?

In my connected app, I want to set the <oauthClientCredentialUser>scratchOrgUserName</oauthClientCredentialUser> to my current user during deployment. Therefore I use the replacement ...
itsmebasti's user avatar
  • 6,457
0 votes
1 answer
51 views

Is there a way to change the lightning input placeholder color?

message-when-pattern-mismatch="First Name accepts only characters(a-z)" message-when-value-missing="First Name is required" class=&...
Yuqi Sui's user avatar
0 votes
0 answers
17 views

Salesforce Mobile SDK - Error Installing frocehybrid

Getting below error while installing Forcehybrid for creating hybrid App using Salesforce Mobile SDK. Missing tools. Installed sfdx is less than the minimum required version (6.0.0). Please upgrade ...
narra sushma's user avatar
1 vote
1 answer
142 views

How to show dependent picklist based on controlling field in Lightning data table

My component showing Controlling picklist and dependent picklist values as expected. But when i edit Controlling picklist then dependent picklist showing all values not related to the Controlling ...
Afrose ahamed's user avatar
1 vote
0 answers
51 views

SFDX: Trying to source push omniscript files gives File or folder not found error

When I source push omniscript files for the first time to my scratch org, the deploy succeeds. If I make some changes to the file and push it again to same scratch org. I always end up in getting ...
Ishanu Dhar's user avatar
0 votes
2 answers
52 views

Packaging Reports containing field to field comparisons

When attempting to package a report that contains a field to field comparison is shows the unique Id of the field in the metadata as opposed to the field API name. This means that it cannot be stored ...
Jack McGrady's user avatar
1 vote
1 answer
67 views

Rollback(Back Promote)Changes through SFDX-Git-Delta deploy

Branching Strategy: In our project we have 3 main branches: Main, UAT & QA & we are using SFDX-Git-Delta plugin (SGD) deploy to promote incremental changes. Developers promote changes to ...
Rose 's user avatar
  • 123
0 votes
0 answers
24 views

Retrieve enhanced List views for Flows via metadata API?

Currently, whenever we retrieve an object via sfdx, whether custom, standard or cmtd, it will retrieve the list views too. However, I cannot seem to find the correct metadata folder or xml which ...
vio's user avatar
  • 61
0 votes
1 answer
135 views

How can I refresh or disable source tracking in particular sandbox or scratch org?

I know that I could set source tracking to disabled when I create a sandbox or scratch org, but if I already have created sandbox or scratch org created with source tracking enabled and now I have ...
Patlatus's user avatar
  • 17.1k
0 votes
1 answer
45 views

sf auth:jwt:grant hanging - no terminal output

I have been working on creating a CICD pipeline with my developer org and github actions. I have done the following: Connected app created Profile added to connected app with API permissions. User ...
smedium's user avatar
0 votes
1 answer
96 views

How to Add Contact Id into JSON Payload for Apex Testing

I am trying to test a wrapper class for a platform event/platform event trigger flow and I am not sure how to add a contact record Id I created earlier in the test class to the JSON string. Update The ...
Diego Delgado's user avatar
3 votes
0 answers
44 views

Why I can not retrieve Case.RecordTypeId as custom field in package.xml in VScode?

I am trying to understand where i can find/locate the help text added for Case.RecordtypeId field on case in my package(VScode). I am trying to retrieve it with record type and object, but I can not ...
Mrinal Sharma's user avatar
5 votes
1 answer
767 views

Getting "An unexpected error occurred while preparing endpoint: C-9999" while (second generation) packaging this morning

Anyone else getting this gack error today when creating a managed package version? An unexpected error occurred while preparing endpoint: C-9999. Please contact Salesforce Support and provide the ...
Keith C's user avatar
  • 136k
1 vote
0 answers
40 views

How to add html content to html layout in LWR

After creating the LWR project I updated the lwr.config.json to point to .html template for the route "/". After I update the contenet template to a .html file too as bellow { "...
Sameera Silva's user avatar
1 vote
2 answers
92 views

Get All the Reports Metadata Backup

Want to get all reports metadata from Salesforce, tried with VS code Org Browser, but it doesn't get me all the Reports. SELECT Count() FROM Report fetches 10000+ Reports Appreciate any help/...
RKM's user avatar
  • 517
0 votes
1 answer
87 views

In Success Toast Message we are getting record id instead of record name and it happening only for success toast message not for delete toast message

In Success Toast Message we are getting record id instead of record name and it happening only for success toast message not for delete toast message Could you anyone guide on this ? Added two images ...
Arjun's user avatar
  • 3

1
2 3 4 5
58