Forums
How to configure websocket in dashboard? - Printable Version

+- Forums (https://bdn.bdb.ai)
+-- Forum: BDB Knowledge Base (https://bdn.bdb.ai/forumdisplay.php?fid=13)
+--- Forum: BDB Dashboards Designer (https://bdn.bdb.ai/forumdisplay.php?fid=43)
+---- Forum: BDB Designer Q & A (https://bdn.bdb.ai/forumdisplay.php?fid=16)
+---- Thread: How to configure websocket in dashboard? (/showthread.php?tid=557)



How to configure websocket in dashboard? - jeevitha - 12-23-2022

-> In Dashboard Designer Module, under Data Connectors, in Web SocketProvide the URL
- In Scripting Side, using the component Id:

 
if(all_data[0].dp_id=='comp1667369588969_inst_7254')
{
var data1 = changedItem.attributes.data;
console.log(data1);
}