You need to sign in to do that
Don't have an account?

Link Namespace button is disabled
Hello There,
I am learning to use Salesforce DX. I set up the dev hub and trying to link namespace of my developer edition however, finding that the button itself is disabled The button name is - Link Namespace. Does anyone has went through such issue as well? Please, help me out.
Thanks.
I am learning to use Salesforce DX. I set up the dev hub and trying to link namespace of my developer edition however, finding that the button itself is disabled The button name is - Link Namespace. Does anyone has went through such issue as well? Please, help me out.
Thanks.
I'm unable to learn/experiment/try/test/verify the instructions described at https://help.salesforce.com/articleView?id=sfdx_dev_reg_namespace.htm&type=0
To get the Link Namespaces button to be enabled, I did the following:
- In My Domain, added a Domain to the Dev Hub org (e.g. foo-domain.my.salesforce.com)
- Waited for the confirmation email
- Logged out
- Logged in using the domain url (e.g https://foo-domain.my.salesforce.com)
- In My Domain, click 'Roll Out to Users'
- Logged out
- Logged in again (with the domain URL)
The button was now enabled in Namespace Registries. But, clicking it causes a 'Data Not Available' error:The data you were trying to access could not be found. It may be due to another user deleting the data or a system error. If you know the data is not deleted but cannot access it, please look at our support page.
Click here to return to the previous page.
Go to Setup->App Setup->Create->Apps
Click "New Connected App" button and set the following values:
Connected App Name: SalesforceDX Namespace Registry
Enable OAuth Settings - checked
Start URL: https://<your-full-my-domain>/environmenthub/soma-callback.apexp
Access your basic information (id, profile, email, address, phone)
Click Continue and wait up to 10 minutes before trying the Link Namespaces button. It took about 6 minutes for me.
The Link Namespace button should then open up to login.salesforce.com. Use your login for the dev org you want to link the namespace from. It will go through the OAuth cycle (verification code, then allow/deny access). Once the OAuth cycle completes, the linked namespace should be listed in the Namespace Registry for the Dev Hub org.
The button also only shows on the "All Namespace Registries" list view. If you do not roll out the domain to all user, it doesn't show in LE at all, but is disable in Classic until this is done.
In turned out that I didn't need to do that and I just had to wait a few minutes and try again. I don't think a new connected app is necessary, just a bit of patience after the domain is avaliable and the "Link Namespace" button is avaliable.