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 [sf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 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
16 views

The scratch org is not ready yet (Status = New)

After running the command: sfdx org create scratch -duration-days 30 --wait 30 --username [email protected] the connection times out after a while and the following error is printed: The scratch ...
dev4life's user avatar
  • 510
4 votes
0 answers
21 views

Typescript and stubbing/ mocking a cli extension

I'm working on a SF cli extension. As recommended, it's written in typescript. I'm writing unit tests. I'm early on the learning curve for typescript and cli extensions for SF. I've been trying to ...
Kevin P's user avatar
  • 7,258
2 votes
1 answer
81 views

Is it possible to stop/clear/refresh the source tracking for a single file?

In scratch and Dev I have different Admin.profile field values and that is kind a catch 22. For some reason I have changed the Admin.profile in the scratch and now it is retrieved each time I do sf ...
Искрен Станиславов's user avatar
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
3 votes
1 answer
72 views

Not able to delete second generation unlocked package

I have accidentally created two packages and I want to delete one of them. I tried the below command. sf package delete --package "my-pckg" --target-dev-hub my-dev But it results into the ...
Rahul Gawale's user avatar
  • 12.2k
0 votes
1 answer
128 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
159 views

Issue Installing sfdx-plugin-source-read via sf plugins install

I hope this message finds you well. I am encountering an issue while attempting to install the sfdx-plugin-source-read plugin using the following command: sf plugins install sfdx-plugin-source-read ...
Emanuele Alfano's user avatar
0 votes
0 answers
56 views

How to request a pre-release DevHub?

While a pre-release org can be requested for Spring 24 through standard Salesforce signup https://www.salesforce.com/form/signup/prerelease-spring24/, these orgs do not allow to enable the API (to use ...
Manuel Moya's user avatar
0 votes
1 answer
36 views

Data command missing in sf CLI [duplicate]

I am not able see "data" in sf command CLI Can you help me why I am not able to see
Saravanan S's user avatar
0 votes
0 answers
23 views

Getting error while generating project template using SF v2

I am setting up a new machine and had to use the SF v2 cli. While I am trying to use: sf project generate --name myproject I get: Trying to copy from a source that does not exist: C:\Program Files (...
Maciej Zadworny's user avatar
0 votes
1 answer
482 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,842
0 votes
0 answers
70 views

how to setup sf cli in docker that run as anonymous user

i am installing cf cli in docker. it works fine when I run the docker as root. but when I run it as anonymous user: docker run -it --user 1001 sf_docker:latest bash and then executing: sf version it ...
user_pruser's user avatar
1 vote
0 answers
142 views

Leaflet is not working correctly in Mozilla Firefox browser when LWS is enabled in Salesforce

In Salesforce to show the map with pointers I created custom LWC and use Leaflet.js library but there is an issue with LWS and Mozilla Firefox. When LWS is enabled then in Mozilla Firefox browser ...
Ярослав Пажух's user avatar
0 votes
1 answer
375 views

Unable to run sf package commands after MacOS upgrade to Sonoma

No sure if it's local config or OS upgrade but my sf cli commands have been broken especially the packaging commands. When I run below command I get an error related to JIT plugin (I am assuming JIT ...
Json Bourne's user avatar
0 votes
1 answer
39 views

Not able to create version after adding 2GP Feature Parameters

I have a 2GP managed package where I added a feature parameter metadata file (Integer). I have created multiple versions of this project until adding the feature parameter metadata files. After ...
bswartz's user avatar
  • 27
0 votes
0 answers
25 views

Action to take to track all deleted records from production based on some criteria

As a sf SystemAdmin user with no role assigned in production, I got the backup before we run the batch in production to delete duplicate account contact and activities from production. I also exported ...
Ankit's user avatar
  • 19
-1 votes
1 answer
1k views

sf command is not installed on linux

H, I have followed instructions on this site to install sfdx on linux, which is working fine https://developer.salesforce.com/docs/atlas.en-us.242.0.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli....
user_pruser's user avatar
3 votes
1 answer
3k views

package is not a sf command?

Salesforce has recently deprecated the sfdx force:package:version:create command. sfdx asks us to use the package version create command instead. Running sf package version create, however, also ...
dev4life's user avatar
  • 510
1 vote
1 answer
528 views

Strategies to successfully create scratch orgs

Have noticed it can be very difficult to successfully create scratch orgs. Wondering if something I am doing is contributing that. Sometimes it works. Sometimes it doesn't. I have tried both of these ...
nstuyvesant's user avatar