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
20 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
21 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?
4
votes
1answer
80 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
1answer
24 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 ...
5
votes
3answers
231 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
92 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
66 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
108 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
539 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
263 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
429 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
739 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
2k 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
794 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
608 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
667 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
532 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
47 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
403 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
804 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
137 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
385 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
387 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
864 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
654 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
637 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
379 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
1k 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 ...
43
votes
4answers
17k 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 ...