0

Thought i'd post this here given we are no longer in the preview window, whenever I request the MultiLevelMasterDetail feature in my scratch org definition file. Im greeted with

"ERROR running force:org:create: MultiLevelMasterDetail is not a valid Features value."

My Devhub is on Spring '20 Patch 10.4 and i'm running the latest version of sfdx on my mac.

Version: sfdx-cli/7.47.0-0e5d18732f darwin-x64 node-v10.15.3

{
  "orgName": "Buy Ethereum", 
  "edition": "Enterprise",
  "features":["MultiLevelMasterDetail"]
}
4
  • Do you have the most recent version of the CLI?
    – Rodrigo
    Feb 25 '20 at 17:44
  • Believe so i'm running 7.47.0-0e5d18732f
    – Crispy
    Feb 25 '20 at 17:46
  • Really weird... This looks like a known issue. if I were you, I would open a case with Salesforce. I have the most recent CLI version and still get the same error.
    – Rodrigo
    Feb 25 '20 at 18:04
  • That was also my initial assumption, thought I'd post it up incase I'd overlooked the obvious! I will leave it a few hours just incase someone has an epiphany or is able to confirm it as an issue. Failing that I will raise it with Salesforce.
    – Crispy
    Feb 25 '20 at 18:45
0

I tried creating with the below command:

sfdx force:org:create -s -f config/project-scratch-def.json -a multi-level-org

the definition file is

{
"orgName": "Multi Level org",
"edition": "Developer",
"hasSampleData": false,
"settings": {
    "lightningExperienceSettings": {
        "enableS1DesktopEnabled": true
    },
    "securitySettings": {
        "passwordPolicies": {
            "enableSetPasswordInApi": true
        }
    },
    "mobileSettings": {
        "enableS1EncryptedStoragePref2": false
    }
},
"features": ["MultiLevelMasterDetail"]
}
9
  • this didn't work for me.
    – Rodrigo
    Feb 25 '20 at 21:11
  • Agreed this doesn't work for me either, @Abhijith out of curiosity are you running the latest version of sfdx? If you type sfdx into the terminal it should print you the version number directly underneath.
    – Crispy
    Feb 25 '20 at 21:49
  • not sure why... the version i am using is: sfdx-cli/7.46.3 darwin-x64 node-v10.16.0
    – Abhijith E
    Feb 26 '20 at 13:02
  • Can you run an update and try again?
    – Crispy
    Feb 26 '20 at 19:15
  • @Crispy, did you reach out to SF on this? Any luck?
    – Rodrigo
    Feb 27 '20 at 17:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.