Create automated ui-group node

I show data from a production line in an ui-group node.
This ui-group exists out of a template node and a progress node.

This works perfect for one production line, but I have seven who are all with there data in an object array. I could reproduce the ui-group seven times with each time another line, but every change has than to be made seven times.

Is there a way to make this ui-group for each object in the array, and just put them automaticly on the page?

I believe that you can now use dashboard widgets in a subflow, though there may still be some restrictions. Then you can have seven instances of the subflow, one for each line.
I suggest trying that and see if it does what you want.

Edit: the ui-group to use can be one of the setup parameters of the subflow.

1 Like

That did the trick :slight_smile: . I only had to update my node-red, so I can set the page and group to display it in as an environment variable.

Thank you.