11

I see that the Salesforce DX pilot program has finished; is there a way to take a look at Salesforce DX now (June 2017)?

(Also see What is Salesforce DX? on this forum.)

My specific question... We've had problems lately with namespace related bugs in our managed packages. We do our development in non-namespace orgs and namespace bugs have leaked into our managed packages (e.g. Visualforce page name-based logic breaking when the namespace prefix is present). Do the scratch orgs that are part of Salesforce DX allow a namespace to be nominated so they can simulate the packaging org in the sense that developers can fully test their code with a namespace present in a scratch org?

0

1 Answer 1

10

You specify the namespace in the scratch-org's configuration file when using the org creation command. You must first associate the packaging org with your Environment Hub Org before you can use the namespace parameter, and the namespace must match the namespace prefix in the packaging org. I can't share specific details, but the answer is, yes, you will be able to use namespaces in your scratch orgs, which will ease spinning up new orgs and deploying changes to your packaging org.

1
  • 1
    Public beta is expected to go live on 28 June, 2017. There will be instructions for how to enable the dev hub org in one of your orgs, along with an alternative to sign up for a dev hub trial org if you want to trial before you turn it on.
    – pchittum
    Jun 21, 2017 at 15:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .