Subscribing to Web Socket Notifications

Notification published from the server side can be subscribed on client side. You must subscribe to the same topic on the client side.


Example: Subscribe to the WebSocket in a UI Widget

Steps:

  1. Open a UI Widget and click on Load Script in the Property Panel. Then click On Load Script > Before Processing Script to open the editor.

  2. Write the script using subscribeToTopic and click OK.

  3. Click SAVE.