Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

How to use the new Graphic Components released with Building Operation 2.0

Building Automation Knowledge Base

Schneider Electric Building Automation Knowledge Base is a self-service resource to answer all your questions about EcoStruxure Building suite, Andover Continuum, Satchwell, TAC…

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Knowledge Center
  • Building Automation Knowledge Base
  • How to use the new Graphic Components released with Building Operation 2.0
Options
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close

Related Forums

  • Intelligent Devices Forum

Previous Next
Contributors
  • RobertAndriolo
    RobertAndriolo
  • CraigEl
    CraigEl

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Building Automation Knowledge Base
Options
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
7 Likes
21369 Views

Link copied. Please paste this link to share this article on your social media post.

Trying to translate this page to your language?
Select your language from the translate dropdown in the upper right. arrow
Translate to: English
  • (Français) French
  • (Deutsche) German
  • (Italiano) Italian
  • (Português) Portuguese
  • (Русский) Russian
  • (Español) Spanish

How to use the new Graphic Components released with Building Operation 2.0

Guinan RobertAndriolo Guinan
‎2018-11-26 04:40 PM

Issue

Cannot find documentation on how to use the new Graphic components release with EBO 2.0

Getting the following errors when previewing my graphic page:

  • "Script error in function "onLoad" .... ReferenceError: "_firstRun" is not defined
  • "Script error in function "onChange" ... ReferenceError: "_setVisuals" is not defined

The component added to the graphic shows no binding label in the WorkStations edit bindings window

Product Line

EcoStruxure Building Operation.

Environment

  • Building Operation Graphic Editor 2.0 and above
  • GlobalScripts V2.0.0262 and above

Cause

With the release of EBO 2.0, a set of new components/snippets have been released, which are different from those issued in earlier releases, although there is very little change visually.

The scripting, in most cases but not all, has been removed from the components themselves and put into single scripts. This means we can take advantage of the functionality of the global script. This requires the user to set the UseGlobalScripts attribute to True within the TGML graphic editor, which can be on a per-graphic basis and ensures that existing graphics will still function.

Once turned to True, all components with scripts and requirements for other global scripts to function correctly can function as designed.

For example, the setpoint box requires global scripts to ensure units and decimal places are displayed as designed/required due to the scripts. There are also two binds available on the box, one for reading and one for writing. Both need to be bound to enable the component to function correctly.  The components are designed this way to allow use in BACnet, where it may require reading the resultant Value but Writing at a specific Priority.

Without the scripts added to the graphic, the component cannot function.

For further details/questions, refer to the following Community Posts, which also include the current PDF documentation:

Help-with-an-EBO-2-0-component
EcoStruxure-Building-Operation/Graphic-Component-Library-Rev-AB1-002-pdf
NAM Standards Team TGML Component Library - Communities (se.com)
This article provides the necessary steps required to enable and get these new components working and does not provide in-depth functionality.

Resolution

  1. Within Graphics Editor, enable UseGlobalScripts. To do this:
    1. Select the -Tgml object shown in the Objects pane
    2. In the Properties pane
    3. Change the UseGlobalScripts from False to True
      UseGlobalScripts.png
  2. In the Global Graphic Snippets:
    1. Drag the GlobalScripts V2.0.xxxx onto the -Tgml object. 
    2. GlobalScripts then appends as shown below.
      Note: This must be done before adding any components and ONLY once on each Graphic page.
      GlobalGraphicScripts.png

  3. Add a Component by dragging it into the Design window.
    Example showing the Component: Analogue Single Line Text, 100WExample showing the Component: Analogue Single Line Text, 100W

  4. Add Snippets to allow the relevant Bindings to be added to this component.  To do this:
    1. Select the Snippets tab, Select
    2. Select Global Bind Snippets
    3. Drag the appropriate snippet onto the Component.
      EcoStruxure Analog Value bind snippet is added to the Analogue Value componentEcoStruxure Analog Value bind snippet is added to the Analogue Value component
  5. Save the graphic

  6. Preview - no errors should appear.  If there are errors:
    1. Ensure that the scripts/components have been added in the correct order
    2. Ensure the correct Snippet has been added to the correct Component.  Refer to the Graphic-Component-Library-Rev-AB1-002-pdf documentation for the tested snippets/component combinations.

  7. Open WorkStation and Edit Bindings on the saved graphic page
    Note: The default binding name displayedNote: The default binding name displayed
  8. View the graphic page
     Example: Showing forced valueExample: Showing forced value

 

 

 

Labels (1)
Labels:
  • EcoStruxure Building Operation
Tags (2)
  • Find more articles tagged with:
  • RobertAndriolo21
  • RobertAndriolo22
Was this article helpful? Yes No
98% helpful (46/47)

Link copied. Please paste this link to share this article on your social media post.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of