Hi everyone!
I have currently a requirement to navigate the users from a push notification to a LWC. According to this help article, this is possible since the latest winter release
https://help.salesforce.com/s/articleView?id=release-notes.rn_fieldservice_264_mobile_push_lwc.htm&release=264&type=5
We have a record-triggered flow which basically informs via custom notification that the users timesheet was denied. If the tech in FSL App clicks on that notification, it should lead to a LWC which displays the rejected timesheet (so not the standard Timesheet view)
In my flow, I have edited the following in
target page reference:
{
"type": "standard__component",
"attributes": {
"componentName": "c__timesheetdetail"
},
"state": {
"c__id": "{!
Record.Id}"
}
}
timesheetdetail is the name of the LWC I want to navigate. It has lightning__tab in its js-meta.xml file.
I have also set up a lightning component tab in setup as "Timesheet_Tab" and tried this many times.
Both solutions do not work and I fail to understand why. When I test it in sandbox, nothing happens when clicking on the notification.
Am I missing something?
Best regards
Dave
Heiko Lindner (Privat) Forum Ambassador
Sorry to say, but I cannot help here. I would log a case. If everything is right configured, I would check, if the latest SFS App has been installed on the mobile device. In addition pls. check if all permissions has been assigned to the logged in user.