Here's my use case... As we develop our new case management system, Support will still need to use the legacy/classic/console view for some tasks, but if they see a Case in the legacy view they'd like to open in the new Lightning app, is there a way to initiate an event to the new Lightning App from an Apex controller?
For example, putting a custom button on the legacy Case page layout called "Open in new system", and they could press that to have that Case open as a new tab in the new Lightning app.
Assuming the button was invoking a method in an Apex controller, is there any way to initiate an event to the Lightning App? For example, sending an event to the Lightning app with the Case ID as an attribute, and then it could act on that event by opening a new tab?
I could maybe see a way to do this if Lightning Data Service and force:record was in place, because I could have a custom object record for each user, modify it when they click on something, and then have the Lightning Component react accordingly to a change in that record.
But without something like that that causes the Lightning app to react to a purely server-side change, I'm not sure if this can be accomplished?
I could use a similar approach and just have the app query for any changes periodically, but it would have to be fairly frequent (like every 5 seconds or so), which seems too chatty.
Any ideas appreciated. Thanks!