Component/View Path Syntax

Okay, bear with me...

Given a stacktrace path of Experimentation/Repl@D$0:2:0:0/root/FlexContainer/Button:

You can discern there was an error raised by the Experimentation/Repl View, in the Designer.

There's no indication of which View this View is embedded wihtin, but from whichever View it is embedded within, the instance of the View is located along this path: 0:2:0:0.

Note that anytime there is still a number remaining in the path that you should be looking for a container.

Start at the View node level:
0: root node (the first value in this path might always be 0)
2: 2th child
0: 0th child
0: 0th child

If you look at the following screenshots, you can see the Embedded View which is rendering the Experimentation/Repl View exists as the 2th child of root, the 0th` child of Flex Container, the 0th child of Flex Container.

14:06:19.355 [AWT-EventQueue-0] ERROR com.inductiveautomation.ignition.client.util.gui.ErrorUtil - Error running action 'component.onActionPerformed' on Experimentation/Repl@D$0:2:0:0/root/FlexContainer/Button: Traceback (most recent call last):
  File "<function:runAction>", line 2, in runAction

Screenshot 2023-10-12 at 2.07.26 PM

4 Likes