Forums
How to use auto update gv and notify gv using scripts? - 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 use auto update gv and notify gv using scripts? (/showthread.php?tid=653)



How to use auto update gv and notify gv using scripts? - sariga.vr@bdb.ai - 12-26-2022

This can be done using


sdk.updateGlobalVariable( 'ComponentID',
{'Key': 'Values'},Notify_true_OR_false );

          Here {'Key': 'Values'}àThis part performs the function of update GV
                   Notify_true_OR_false )àThis performs the function of notify GV

Here if we give true then it executes the script written in that particular component(notify true should be enabled only in components)

Note : We cannot use this code in connection of any component with notify as true.