Hi everyone,
I’m currently trying to send a message from one view to another but I keep running into the 'No perspective session attached to this thread' error.
Setup is very basic, I have a message handler setup on a view (let’s call it component A) and a button in another view (component B) calling system.perspective.sendMessage(‘msg_to_component_A’) on a click.
It feels like a very basic setup but I’m not sure why it fails the way it does.
I can force it to work by setting up a session message handler but I would like to avoid doing this as I’d like to keep the session message handler count to minimum.
Thank you for reading and I look forward to hearing from all of you.