Handling Web Socket Messages On the Client Side

Event Handling for the message received on the client side.


WebSocket Publisher publishes messages over a socket, which can be subscribed to on the client side. Mention the Topic and Message parameters. Define the specific event messagereceived.

Example: Create Publish Message Action to publish data over the socket


  1. Open the UI Widget.

  2. Right-click on a Section / Widget / Field and create a new event called "messagereceived". Save the widget.

    Create messagereceived event

  3. Click on "messagereceived" and open the Event Handling Properties Panel.

    Open Event Handling Properties

  4. Click Event Handling > Before Processing to open the editor.

    Open Before Processing Editor

    The data received over the socket is stored under eventData.

    Event Data Storage

  5. Click SAVE to save the configuration.

    Save Configuration