Forums

Full Version: How to use auto update gv and notify gv using scripts?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.