Newer Version Available
Field Service Org Setup
Define and assign the required permission sets.
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
Create a permission set that applies the permissions required to enable Lightning web
components to users with the permission set.
- From Setup, enter Permission Sets in the Quick Find Box and select Permission Sets.
-
Click New.
- For Label, enter Field Service - LWC Offline.
- For Description, enter Assign to Field Service Mobile users to give them permission to run LWC actions.
- For License, select Field Service Mobile.
- Click Save.
- In the Find Settings box, enter Access Lightning Web Components in Field Service Mobile and click it.
- Click Edit.
- Select the Lightning SDK for Field Service Mobile and Custom Applications for Field Service Mobile. checkboxes.
- Click Save.
Assign the Permission Set to a Mobile User
Assign the permission set that enables Lightning web components to users who must use or
develop LWCs.
- From Setup, in the Quick Find box, enter Users, and then select Permission Sets.
- Select the permission set that’s assigned to the mobile user. See Give Users Access to the Field Service Mobile App. For the quick start, select your name as the mobile user.
- Click System Permissions, and then click Edit.
- Enable Lightning SDK for Field Service Mobile and Custom Applications for Field Service Mobile.
- Save the permission set.