Post

2 followers Follow
0
Avatar

Send standard error message to the UI?

In the UI, there are standard red error messages that pop up on the left hand side.  Is there a way to submit custom messages, perhaps an event bus or message queue that we can publish to from custom plugins?

Chris Evans

Please sign in to leave a comment.

1 comment

0
Avatar

Hi Chris

The error messages are displayed when a http call from the user interface returns an error code. So it is only used in direct user interaction. Custom plugins are usually task plugins that are run in a different context; not directly triggered by a UI request. In that case it is not possible to generate an error popup. There is no event queue for that. the only case where it would work would be in a custom tile UI.

Kind regards,

Hes Siemelink 0 votes