Questions tagged [sfdx]

41 questions
0
votes
1 answer

SSL decryption not generating the begin type correctly

My context is that I am using jwt token flow to connect to SF in bitbucket pipeline. I have been able to correctly generate a certificate and key etc as required. I tested the key it is working fine. Next step was to add security, and did not wanted…
vanessen
  • 1,125
  • 1
  • 12
  • 19
0
votes
1 answer

sfdx force:auth:web:login - reuse session on cron (MacOS)?

Here is a simple script that detect if I am authenticated #!/bin/bash if [[ $(sfdx auth:list | grep -c "my_org.my.salesforce.com") -eq 0 ]]; then echo "sfdx not authenticated, please run : sfdx force:auth:web:login -s -a orgname" # echo…
JulienG
  • 88
  • 5
0
votes
1 answer

Reorganize files in Salesforce DX project

We have an existing salesforce 2GP package that follow the default directory layout with components in main/default. I would like to break that up into feature folders, but I am not able to move files for existing components and push that. When I…
0
votes
1 answer

VS code Hidden folder permission denied

Visual Studio code is not able to open files or folder within hidden folders. If I go to the file within the hidden folder .sfdx and try opening the file sfdx-config.json then Vs code opens with below…
0
votes
1 answer

Unable to Authorize org in VSCode. SystemError: A system error occurred: uv_os_gethostname returned ENOSYS (function not implemented)

Salesforce. Unable to Authorize org in VSCode. SystemError: A system error occurred: uv_os_gethostname returned ENOSYS (function not implemented). sfdx force:auth:web:login --setalias testorg --instanceurl https://login.salesforce.com…
0
votes
1 answer

SFDX Authorize an Org failed to run

When running the VSC>SFDX command "SFDX: Authorize an Org", I am getting the error: "SFDX: Authorize an Org failed to run" (I am using VSC on a Mac). VSC>Terminal>Output displays the following messages: Starting SFDX: Authorize an Org 20:03:10.886…
Eduardo
  • 95
  • 3
  • 14
0
votes
1 answer

Jenkins Job to run SOQL query

I'm trying to get a Jenkins job to run sfdx force:data:soql:query commands in order to migrate configuration data sets between our production org and our sandboxes after a refresh. Certain configurations do not persist on a refresh so we need a way…
Finnster
  • 87
  • 3
  • 16
0
votes
1 answer

Running sfdx force:auth:web:login on jenkins job

I have a Jenkins job to deploy metadata to a given org. This is meant to be used as a first time setup method for new metadata. I have a jenkinsfile that can run the sfdx commands, and I'm trying to run force:auth:web:login. agent none …
0
votes
0 answers

how to avoid duplicated record while json import+ salesforce sfdx

I would like to import contact records but i see some of the duplicate records are inserting. I know there is a option to avoid the duplicating is "External ID" through importing wizard. But here, i'm importing the data using JSON but not sure how…
RKCY
  • 4,095
  • 14
  • 61
  • 97
-1
votes
1 answer

VS Code Regex search to remove references based on containing text in string

I am attempting to remove all references of a managed package that is going to be uninstalled that spans throughout code base in VS Code I have using a query to find the field permissions but am wondering if there is a way to search for the…
ForrestFairway
  • 133
  • 1
  • 11
-1
votes
1 answer

vsCode can't retrieve/deploy anything

Working with Salesforce, org is authorised, everything works fine until it doesn't and there's no error code or anything. In the morning I retrieved a few files I had to change, 10 minutes later when I needed to retrieve another one, it kept…
1 2
3