Compound Widgets within a Compound Widget

Hi, we have built a library of quite simple compound widgets in our style.

I have created a new compound widget which uses a textOutput compound widget.
In the Visu it looks like this:

then in the TextOutput Compound Widget:

Here I have tried mapping them, but it doesnt look correct to me (node is not correct I was just testing something else) that I am doing basic mapping. Perhaps I need a bindable structure property declaration but then I will lose the ability to just bind at a single point (stHmiCyltronic)?

What am I missing? I tried looking around for more people facing my issue or documentation but have struggled to find anything completely relevant. This leads me to believe that maybe this isn’t the best way forward?

I think the mistake is in the type parameter. It should be "String", just like in the upper bindable property, because you are mapping a variable, not a widget.Also, for text output, the only valid mode is OneWay.
Try it, and then let me know if it worked.

Maybe you can share your code in text not in a image?

It seems you’re trying to use a compount widget within a compound widget?
If so, please look at this page in the help e6ba34af-89cf-4257-a017-5d3f6d9bce2e

Limitations with compound widgets

Nesting of compound widgets is not permitted.

CHH

2 Likes