-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error shape/settings/FieldService.settings FieldService Not available for deploy for this organization #376
Comments
issue resolved after deleting AppData\Local\Temp\shape\settings in my machine. |
This issue still exist. deleting AppData\Local\Temp\shape\settings is just workaround. i was able to reproduce the issue and find the actual root cause. Background: package_1 (depends on FSL)
create scratch org Scratch org will be created. Package_2
create scratch org Everytime we create a scratch org cli is not deleting Temp\shape folder. As a result shape generated for package_1_org was not cleared. when package_2_org creation is attempted, new shape is added to the existing folder where all the settings exist and causing the problem. WorkAround: |
@manisfdcsfdx thank you for reporting. @rrmehta2 can you take a look at this issue? |
Hi @clairebianchi and Rohit - I too am having apparently the same problem. Other features enable correctly but not this one. Pure speculation but I'm wondering if the activation is checking for full FSL licence (which we don't have) and hence refusing to activate work orders? All the other features I can enable in the scratch org definition (which is using shape) and after creation I can log in via UI and enable this one. Just not through the definition. Thanks!! scratch org def: |
Same happened to me using |
Any update on this? |
Hi @jonathanwiesel , @manisfdcsfdx was right. I had a problem with OrderManagement, but I use this setting on another project. And when I deleted the setting from AppData\Local\Temp\shape\settings I stopped getting this error. |
Hi @Vladislav987, indeed that's a feasible workaround, I mean if there's an update on the resolution of the real issue, since the CLI shouldn't be trying to use a setting that is not specified in the supplied scratch org definition file |
Confirming that this issue still exists as I have just encountered it. |
@Caitlyn-Mills Is this occuring in macOS as well? |
@Aravindh04 Yeah that is where I had the issue |
I couldn't repro this on latest sf. |
Summary
Scratch org creation failed in latest version of CLI
Steps To Reproduce:
use below scratch org definition
Run below CLI command:
sfdx force:org:create -f config/project-scratch-def.json -s -d 7 -a testcreate
Expected result
Scratch org should be created without any issue
Actual result
scratch org creation failed with below error
Error shape/settings/FieldService.settings FieldService Not available for deploy for this organization
Additional information
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli/7.54.4-8ff9ba9cc5
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
@oclif/plugin-autocomplete 0.1.5 (core)
@oclif/plugin-commands 1.2.3 (core)
@oclif/plugin-help 2.2.3 (core)
@oclif/plugin-not-found 1.2.3 (core)
@oclif/plugin-plugins 1.7.9 (core)
@oclif/plugin-update 1.3.9 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.0.7 (core)
analytics 1.7.1 (core)
dependencies-cli 2.0.1 (link) C:\Plugin\dependencies-cli
generator 1.1.2 (core)
salesforcedx 48.10.1 (core)
├─ @salesforce/sfdx-plugin-lwc-test 0.1.5 (core)
├─ salesforcedx-templates 48.8.0 (core)
└─ salesforce-alm 48.10.0 (core)
OS and version:
Windows 10
The text was updated successfully, but these errors were encountered: