Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Field Service Org Setup
Lightning web components for LWC Offline-enabled mobile apps is an opt-in feature. To enable it for your org, you must define and assign the permissions in the steps provided below. These are required to access and run LWCs within the Field Service mobile app. (While not technically required to develop LWCs, you’ll have a hard time developing components when you can’t run them.)
.
Define a Permission Set for Your Org
- From Setup, enter Permission Sets in the Quick Find Box and select Permission Sets.
-
Click New.
- For Label, enter Field Service - Lightning Data Service.
- For Description, enter Assign to Field Service Mobile users to give them permission to use features that use Lightning Data Service.
- For License, select Field Service Mobile.
- Click Save.
- In the Find Settings box, enter Lightning SDK for Field Service Mobile and click it.
- Click Edit.
- Select Lightning SDK for Field Service Mobile and save your work.
Assign the Permission Set to a Mobile User
- From Setup, in the Quick Find box, enter and select Permission Sets.
- Scroll to the permission set you created, in this case Field Service - Lightning Data Service, and click on it.
- Click Manage Assignments, then Add Assignments.
-
Select the users you’d like to assign this permission set to.
- Click Assign.
- On the Assignment Summary screen, click Done.