Hi Nello,
maybe the documentation helps you out here:
https://docs.wisej.com/docs/concepts/javascript-object-model
Please refer to the last paragraph in terms of the scope/registration of functions.
If it still does not work, please put together a compilable test case and post it here.
Best regards
Frank
Please login first to submit.