Use these supported programmatic navigation actions in your Lightning web components
intended for use in the Field Service Mobile app.
Each Salesforce mobile app implements support for the navigation service independently,
which results in some differences in available navigation actions. The following
PageReference types are supported by the LWC navigation service when used in the Field
Service Mobile app.
You can implement a surprising number of different navigation actions with this
PageReference type. The following are examples of navigation actions, and the
PageReference used to implement them.
Navigate from LWC to a Native Screen via Deep Link
Create a navigation action that moves from a LWC to a screen native to the Field
Service mobile app.
There’s a wide range of targets available for deep linking into the Field Service
mobile app. See Deep
Linking Schema for the Field Service Mobile App in the Field
Service Developer Guide for available URL formats.
Navigate to a Quick Action via Deep Link
Create a navigation action that opens a quick action, including quick actions built
with LWCs.
Open Salesforce Mobile App via Deep Link
Open Web Page
Create a navigation action that opens a screen that displays an external web
page.
Open Email App
Create a navigation action that opens the device’s native email client and pre-fills
the addressee and subject lines.
Open Phone App
Create a navigation action that opens the device’s native phone app, and dials a
phone number.
Open Message App
Create a navigation action that opens the device’s native SMS or message app, and
pre-fills the recipient phone number.