Knowledge Base
Showing results for 
Search instead for 
Did you mean: 

How does the new dynamic updates property work in TGML?


How does the new dynamic updates property work in TGML? A graphic can contain numerous bindings to values that you want to be able to display in the graphic. When there are numerous bindings, reading the values can be time-consuming and can slow down the performance of the graphic. By setting the DynamicUpdates attributes in the Bind elements of the graphic to either disabled or enabled, you can control which values that are updated, that is which values the graphic subscribes to, when the graphic is opened.


TAC Vista 5.1.7 TGML graphics.


Uncertainty as to how to implement the dynamicUpdates feature.


After having created a binding object in the TGML graphic editor have a look at the properties for the object. Under behaviour the property DynamicUpdates can be seen and is set to "Enable" by default. This can be set to disabled and then a script can be added in an appropriate object which follows the following format:

Example - activate a binding by clicking on a button

function Click(evt)
button = evt.getTarget(); //Identify the target that has been clicked.
parent = button.getParentNode(); //Find the parent node.
binding = parent.getChildRecursive(""); //Identify the binding to be activated.
binding.setAttribute("DynamicUpdates","Enable"); //Activate the DynamicUpdate property.


A simple example is attached. Click here to download.



Tags (1)
Labels (1)
Version history
Revision #:
1 of 1
Last update:
2 weeks ago
Updated by: