Skip to content

Commit 13b9243

Browse files
authored
Modify config/project-scratch-def.json (#37)
On branch update-project-scratch-def.json Changes to be committed: modified: config/project-scratch-def.json I received the following WARNING when I created a Scratch Org using the project-scratch-def.json. WARNING: We're deprecating OrgPreferenceSettings. We've added the settings to other metadata types in Winter '20. You can continue to use OrgPreferenceSettings until they are replaced by their corresponding settings in Spring '20. But why wait? Here's exactly what you need to update in the scratch org definition file. Replace the orgPreferenceSettings section: { "settings": { "orgPreferenceSettings": { "s1DesktopEnabled": true } } } With their updated settings: { "settings": { "lightningExperienceSettings": { "enableS1DesktopEnabled": true } } }
1 parent 413fbcc commit 13b9243

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/project-scratch-def.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"orgName": "apex-common-samplecode",
33
"edition": "Developer",
44
"settings": {
5-
"orgPreferenceSettings": {
6-
"s1DesktopEnabled": true
5+
"lightningExperienceSettings": {
6+
"enableS1DesktopEnabled": true
77
}
88
}
99
}

0 commit comments

Comments
 (0)