You need to sign in to do that
Don't have an account?
chfosli
How to get Field Service Dispatcher/Resource license in scratch org
We need "Field Service Dispatcher", "Field Service Mobile" and "Field Service Scheduling" license in scratch org in order to utilize the FSL managed package.
We have tried to install the FSL managed package in a scratch org, and set up FSL, but we are stopped when trying to create the permission sets for Dispatcher and Resource, as we are missing the Field Service Dispatcher and Resource licenses in the scratch orgs.
Is there any way to include these licenses in scratch orgs, for example through the "features"-property in the project-scratch-def.json file? When you add the feature FieldService you only get the Field Service Standard licens.
We have tried to install the FSL managed package in a scratch org, and set up FSL, but we are stopped when trying to create the permission sets for Dispatcher and Resource, as we are missing the Field Service Dispatcher and Resource licenses in the scratch orgs.
Is there any way to include these licenses in scratch orgs, for example through the "features"-property in the project-scratch-def.json file? When you add the feature FieldService you only get the Field Service Standard licens.
All Answers
Try below in your project-scratch-def.json file.
Review below link.
https://salesforce.stackexchange.com/questions/195844/activate-field-service-lightning-feature-in-a-salesforce-dx-scratch-org
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
Vinay Kumar
Finally, you have to open the org and go to FSL Admin > FSL Settings > Permission Sets to generate all of the perm sets. You might encounter some bugs here, but there are workarounds like so: https://trailblazer.salesforce.com/issues_view?id=a1p4V0000003vypQAAThen you have to install the two FSL managed packages:
Then you should be set. I haven't tried this with an Enterprise edition yet because I couldn't add more than 1 FSL license there for some heretofore unknown reason.
I was able to create a scratch org with FSL features and added 5 licenses of FSDispatchUser, FSMobileUser, FSSchedulingUser to a developer org.
Just ensure you update the features and settings in the definition file in the Config folder within your project file.
Why can I find zero information about FSL re: how to manage particulars using SFDX and the CLI?
This is the first page I've found with critical details after nearly a week of searching
@Brian Watts 21. We have been working 2 years now with FSL, SFDX, Scratch orgs, etc. If you need some tips, just contact me or post a new question on this forum.