'How to set a default context for subwidget via binding from main widget in AggreGate?

I want to change the Default Context property for subwidget by binding in the main widget via the Node Selection event in the System Tree component. I added a binding to the main widget. Expression with string context path is evaluated on Node Selected event. The result of the expression is written to the Default Context property of subwidget via binding target. enter image description here

In the widget Event Log show binding start, why default context in subwidget is always "empty string"? enter image description here

What am I doing wrong and where is my mistake?

iot


Solution 1:[1]

The Default Context property of the Subwidget component must contain Expression! Wrap string context path in escaped quotes, or write string path as a reference with "{}" characters. See screenshots. enter image description here

enter image description here enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Radzhesh Shukla