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
2
votes
1answer
33 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
34 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 ...
0
votes
1answer
179 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
110 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
1answer
309 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
365 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 ...
2
votes
1answer
1k 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
545 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
527 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
578 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
409 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
44 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
264 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
580 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 ...
2
votes
0answers
126 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....
0
votes
0answers
339 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
321 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
765 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
511 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
568 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
371 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
971 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 ...
39
votes
4answers
13k 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 ...