Session Events Inheritence

Hi,

Is there any way a Perspective session event can be configured on an inheritable project and propagated down to child projects?

I would like to configure some global message handlers to refresh certain bindings, and the originating system is the gateway. Remembering to add it on every project is prone to errors.

Thanks,
Deon

1 Like

Hi @deon.korb, I don’t think this form of inheritance is possible because session event scripts run in a Gateway scope, not Session/Project scope.

I’m guessing that you have .refreshBinding() on a commonly named component message handler? You then send out a global message to refresh all bindings at the same time for all projects?

Not tried this before, but if you send out a system.perspective.sendMessage() from the parent session event scripts, do the children projects pick up the message if it has session scope? Could be worth a test?