Questions tagged [dev-hub]

A dev hub org is an org that exists to manage other orgs. It is one of the features of the Salesforce DX project. The dev hub allows someone in the org to see all orgs that are being managed for the deployment lifecycle in Salesforce DX.

Filter by
Sorted by
Tagged with
1
vote
1answer
63 views

cannot turn on dev hub and create scratch org

I download the developer edition and log in with a partner license given by Salesforce to my company. However, I cannot follow the partner development guide when it mentions dev hub and scratch orgs. ...
0
votes
1answer
28 views

Is it possible to link a namespace frome a developer org to a developer hub

We currently have an unlocked package with a namespace linked to a developer edition hub since at the time we where not aware of the limitations. Since we have the limitation to only do 5 package ...
0
votes
1answer
368 views

ERROR: We can't query your org. Getting this error after Authorize a Dev Hub

so, I'm pretty new to salesforce development and I got this error while trying to Authorize a Dev Hub, I already enabled the Dev Hub and I couldn't find anything anywhere to solve this error. Also, I ...
4
votes
1answer
293 views

"ERROR running force:source:push" when doing "cci task run dx_push" to a Developer edition org

I am doing trailheads https://trailhead.salesforce.com/en/content/learn/projects/quick-start-lightning-web-components/create-a-hello-world-lightning-web-component?trail_id=build-lightning-web-...
1
vote
1answer
39 views

SFDX: Having multiple project config files (one per dev hub) and switching between them dynamically when creating package version

We would like to switch between different dev hubs in our sfdx 2gp project. E.g. we have one dev hub representing our BPO org (for major releases) and couple free registered dev hubs to play around ...
1
vote
2answers
84 views

How to authentication a Dev Hub from a VS Code hosted via GitHub CodeSpaces

GitHub recently released CodeSpaces which allows you to run VSCode in the cloud, which I believe the up coming Salesforce Code Builder will be based on. I am trying to get it to work on my Chromebook, ...
0
votes
0answers
28 views

Scratch org creation if failing with these 2 symptoms today - why? [duplicate]

The failures are occurring for both our Continuous Integration (CI) builds and out interactive creates. The CI output is: Run sfdx force:org:create -f config/project-scratch-def.json -a scratch-org -...
1
vote
1answer
94 views

Can I add an LWC component from Scratch Org to a managed package?

I am a newbie and I am faced with the following task: to set a namespace prefix for my organization, as well as to create a managed package, develop an LWC component and add it to a managed package. I ...
3
votes
1answer
363 views

SFDC CLI - Connected Status - Unknown

Suddently my orgs are with connected status unknown, like the image below, even though I can authorize my DevHub Org without any problem I could not find any possible solution: Even with a new ...
0
votes
1answer
127 views

Dev hub in Developer org is this possible

Is it possible to turn on Dev hub in a developer org?. I want to make an unlocked package to install in a production org with several packages where my package should communicate to another package, ...
0
votes
0answers
54 views

cannot see enable evergreen function development in salesforce dev hub

We want to Enable Evergreen Function Development in the salesforce dev hub, But not able to find the enable option Please assist.
1
vote
1answer
62 views

Unlink Namespace Dev Hub

Obviously you can link a namespace to a Dev Hub, but is it possible to unlink a namespace from a Dev Hub and link it to a new one?
0
votes
1answer
24 views

Link Namespace window throwing an error

When I click the "Link Namespace" button, it pops up a new window and then give this error: Is the only way to resolve by contacting support?
5
votes
1answer
337 views

Can I configure different Devhub orgs per SFDX project?

I have multiple Devhub orgs. One belongs to my employer. Others belong to external companies that I do consulting work for via my employer. The latter includes Devhub orgs that define the packaging ...
0
votes
2answers
34 views

Same user id in scratch org as in Devhub

In my DevHub there is a Apex class that gets return value of an HTTP request based on the Id of a user that runs that Apex class. I would like to bring this to a scratch org. How can I have users of ...
7
votes
3answers
1k views

Organize Managed Package Dependencies with Unlocked Packages

I build Managed Packages (with namespaces) for my ISV customers. I use external libraries and Open-Source frameworks like fflib or apex-domainbuilder and find dependency management gets more ...
5
votes
2answers
115 views

Dev Hub for open source?

Has anyone being able to create a maintain a Dev Hub for open source project? I'm considering that scenario and would like the options other have already used. One option I can think of is to use a ...
2
votes
1answer
134 views

Setting up dev hub for sfdx

From the documentation on Salesforce site: https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.get_started_local_dev_setup It is mentioned that in order to use local ...
0
votes
1answer
302 views

How to create manage package using developer edition with Dev Hub enabled

I have already enabled my Dev Hub on my developer edition and using this environment to create scratch orgs with Visual Code. Now we want to create a managed packaged from this developer edition but ...
1
vote
1answer
1k views

Ability to enable Dev Hub / Unlocked Packages for Partner Developer Edition Org

I'm using a Partner Developer Edition org to develop features for a managed package (which resides in a different org). According to the Winter '19 Release Notes, Developer orgs should have the Dev ...
0
votes
1answer
481 views

How to get non-SFDX folder structure in VS Code in Dev Hub enabled Org?

We have enabled Dev Hub in our org but we are not using Salesforce DX. Since Dev Hub is enabled, when we create projects, we get SFDX folder structure. But when we do code merge, our code repository ...
4
votes
2answers
643 views

User can create DX Unlocked package but not a version

When creating a DX Unlocked Package version from a DevHub org and user with Second Generation Packages Enabled (1h ago) sfdx force:package:version:create -p "myapp" -x -json I get the following ...
5
votes
2answers
2k views

How do I view a list of packages installed in a DevHub org using the SFDX CLI?

When I run: sfdx force:package:installed:list -u DevHub (where DevHub is the alias of my production org, which IS enabled as Dev Hub and also has 2GP enabled) I receive this error: ERROR ...
3
votes
1answer
4k views

Scratch org: how to retrieve metadata

Scratch org: how to retrieve metadata I am probably missing some concepts, but this are the steps that I have follow to create a new scratch org from a developer edition org. Created a new dev org ...
6
votes
2answers
1k views

Do I need to enable Dev Hub in my PROD Org?

I want to adopt Salesforce DX development. Do I have to enable Dev Hub in my Prod Org, or can I activate it in a new Developer Edition, do my development in scratch orgs and eventually deploy the ...
1
vote
0answers
780 views

Authentication into Dev Hub does not work in CLI

I type in Salesforce CLI the following command: $ sfdx force:auth:web:login -d -a DevHub My browser opens up a login form. I pick the org which has Dev Hub enabled. Then in browser I am getting ...
2
votes
1answer
839 views

How do we use DevHub when developers should not have accesss to Production data?

We are getting our feet wet with DevHub. It seems that for our developers to be able to use it we need to give them accounts in our Production org. However, our developers are outside contractors, and ...
0
votes
2answers
741 views

Scratch ORG versioning with GitHub

Our company wants to use the benefits of SDFX's scrath orgs for versioning and deploying to our GIT repository. Once we install the CLI I can see I need to login using the command sfdx force:auth:web:...
0
votes
1answer
62 views

All org info lost every time after computer reboot

so I can connect to the DevHub, spin up scratch orgs without any issue. And when I ran sfdx force:org:list, everything is listed as it should but every time after I reboot my (work) computer, sfdx ...
4
votes
2answers
614 views

How to utilize Devhub for Managed Package development?

I'm trying out the capabilities of DevHub, in order to get product development from DE to DX org. This Trailhead helped me learning Devhub and DX+CLI functionalities. I'm thinking of a way to migrate ...
0
votes
1answer
1k views

Unable to Authorize Hub Environment with JWT

I'm getting the following error when attempting to authorize a Hub environment to use Salesforce DX. I've set the variables including the path to the server.key. Also, I'm attempting to authorize from ...
3
votes
0answers
186 views

ERR_CONNECTION_REFUSED on DX DevHub trial org

I'm not sure what I'm doing wrong, but I signed up for a DevHub trial org, got the verification email, clicked the verify link and immediately got a This site can’t be reached [domain].my.salesforce....
0
votes
0answers
423 views

Dev Hub in Partner org

I have a partner Org where Environment hub is setup. I couldnt see the Dev hub option in the org. I know that it is available in: Salesforce Classic and Lightning Experience Dev Hub available in: ...
3
votes
1answer
505 views

What are the options for cross-org use of a dev hub?

We (a salesforce development and support team) have several orgs, with varying schemas for varying companies with some cross-org work. I've seen a fair few of the dreamforce videos (none of which have ...
2
votes
1answer
967 views

Can a developer create scratch orgs without a login on the Dev Hub org?

Dev Hub can only be enabled in Production, right? At least I don't see an option to enable Dev Hub in a Sandbox. My concern: does every developer need an active user account on Production to be able ...
9
votes
1answer
949 views

Does enabling Dev Hub disable anything else? Can I turn off Dev Hub?

I am looking at that Dev Hub feature and how well scratch org development mirrors what I do currently in Sandboxes and metadata API deployments. It'd be nice to pilot the feature, but if it is ...
1
vote
1answer
715 views

Managed package in sfdx scratch org

How do I install managed package in scratch org? Probably, I need to make use of sfdx force:package:install -i <package id> -k <installation key>. But I do not want to purchase package ...
0
votes
1answer
392 views

Can Dev Hub be enabled if we are on Salesforce Classic?

We have a big, existing org with tons of Visualforce and Apex and we are very, very far from being able to enable Lightning Experience. The question is, can we enable Dev Hub to start experimenting ...
7
votes
3answers
2k views

Which Salesforce License is required to use Dev Hub (beta)?

Today I've tried to enable the new Dev Hub for some of our Developers. Dev Hub itself is working only for me as I am using a Salesforce license with the Profile System Administrator. Since the Devs ...
52
votes
5answers
36k views

Removing old hub org, or non-scratch org from Salesforce DX org list

In the Salesforce DX pilot, every pilot participant was given a temporary dev hub org. These orgs expired, were destroyed, and sent back to the matrix in advance of the open beta. I had an existing ...