New in the Community? Get started here

Schneider Electric Exchange Community

Discuss and solve problems in energy management and automation. Join conversations and share insights on products and solutions. Co-innovate and collaborate with a global network of peers.

Register Now
Knowledge Base
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Discover the Exchange Community Top members of August

Script error when navigating menu in TGML graphic following upgrade to 1.4

Issue

 Script error when navigating menu in TGML graphic in 1.4. Graphic was working fine in 1.3.

Product Line

EcoStruxure Building Operation

Environment

  • Workstation
  • Enterprise Server
  • Automation Server

Cause

In releases prior to 1.4, graphic objects were not unloaded when navigated away from. This has been fixed in 1.4.

As a result of this change, If a TGML has a navigate in a script (by using invoke) this could cause a script error if there are scripts on parent elements.

Resolution

  1. Open the graphic
  2. Navigate to the script and edit, or view in source mode
  3. Add evt.stopPropagation(); before the invoke in the Click() function.
    TGML_Click.png

For an updated version of the component without the error, go to the community: Navigation Menu (JF/Denmark) rev 2.

Tags (2)
Labels (1)
No ratings