Environment variables: Support "config node" type on groups and tabs

Starting with Node-RED 4, config nodes can be configured as subflow parameters in its environment list. This opened up a lot of new and interesting use cases for subflows.

I wonder if it is possible to extend this feature to editor groups/tabs as well.

You'd gain the ability to set a config node for a group of nodes in one place.
This is useful if you wanted to change the config node without having to open/edit every single node.
Or when moving it to another group/tab, it can automatically use the config node from the local environment over there, without changing the node's config.

In combination with Dashboard nodes, it can ease the configuration effort of single widgets a lot. You could simply group them in the editor and set the ui-group node in a single place.

As a generic feature, I'm certain this can be useful for other nodes as well.

1 Like

For groups I think it's possible but for tabs... I don't think so because they don't have their own env. It was @Steve-Mcl who implemented it.

Yes they do.

Yes, I can see this could be useful. Could I trouble you to raise an issue so it doesn't get forgotten about?

Thank you, Nick!

I have created an issue for this feature request:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.