Prerequisites
Field Service Org Setup
iOS Simulator Setup
Android Emulator Setup
Workspace Setup
Create and Configure a Lightning Web Component
Previous Versions
Welcome to developing quick actions using Lightning web components (LWCs) in the Salesforce Field Service (SFS) mobile app. With custom quick actions, you can tailor your Field Service mobile app users’ experience to have easier access to viewing and updating information relevant to them.
This quick start guides you through the basic steps to create a custom record-specific quick action. It’s a hands-on tutorial, intended to guide you through the steps, developing your “muscle memory” for a specific development lifecycle. While you can just read it, you’ll get more out of it if you follow along on your own development system.
Ensure you’re ready for this tutorial by verifying that you have the right software installed and configured, and your org has Lightning web components enabled for mobile users.
Create a permission set with the Lightning SDK for Field Service Mobile permission, and assign this permission set to users who develop for or use Lightning web components in the mobile app.
During development it’s convenient to test your code in a virtual device. Use Xcode to create a device simulator, and install the virtual device build of your mobile app into it.
During development it’s convenient to test your code in a virtual device. Use Android Studio to create a device emulator, and install the virtual device build of your mobile app into it.
Set up your development environment, create a project to develop your LWC in, and connect your project to Salesforce.
Create and Configure a Lightning Web Component
In this section, you’ll create a basic component named demoLWCAction that displays a “Hello World!” message on the screen.