Hiding group using "ui_control" node and "button"

Hi all,
I would hide group in my dashboard. I've tried all the solution which I've found in the forum but it still doesn't work.
I have a "button" node which sends a JSON message to the "ui_control" node.
The problem probably is the format of the JSON message.I've tried the following format:

and also
but no one works.
I also tried the flow in
but I had no results.
Could you help me?
Thanks a lot

If the example you linked to doesn’t work, have you checked which version of Node-RED, nodejs & node-red-dashboard you are using?

So what are YOUR tabs called ? the examples above are purely examples - you need to use your tab names and group names (but replace any spaces with underscores - so Tab 1 Group 1 would be Tab_1_Group_1 - also that is a slightly old example in that it was for using in a function node - for any other node you need correctly formatted json - so for example


(note the extra " around the property names. )


Thanks guys for tour replys.
The version of node Red installed in my Raspberry Is 0.18.3.
The name of the tab Is "testgroup" and the groups name are "uno" "due", "tre". So, I've tried the following:

But It doesn t work.
Ant idea?

Your syntax is not quite correct it needs to be


Here is an example


Hiding groups was only added in 2.9.4 or more recent version of dashboard so I assume you have that (the version is printed in the console wen you start Node-RED).

1 Like

Could You explain me Better how can I get the version of node red installed on my Raspberry?when i start the consolle i can't see the version..Sorry.
Thanks a lot

if you run node-red-stop && node-red-start in a console it will stop and start Node-RED and show you the versions.

Thanks a lot dceejay. I've tried your code but it still doesn't work.
Here follow the node red version in my raspberry and also the entire flow which doesn't work.

Node red version
Node-RED version: v0.19.6
Node.js version: v10.15.2
Linux 4.14.98+ arm LE
Dashboard version 2.8.1 started at /ui

My flow

could you help me?
Thanks a lot

As @dceejay says you need v2.9.4+ of dashboard

You say you have Dashboard version 2.8.1

you need to upgrade

to upgrade dashboard on PI

cd ~/.node-red
npm i node-red-dashboard@latest
node-red-stop && node-red-start

Fantastic!now It works.
Thanks a lot all my Friends

1 Like

Hi all, i have another question for you!
Now i'm able to hide/show group by sending a JSON message from "button"/"inject" node to "ui_control" node.
Now I would hide/show a group sending a message from a "function" node to "ui_control" node.
The question is: have I to use also in this case the JASON format for the message? Or could I use a "standard" format?
Thanks a lot

What have you tried?

You need to send the same message to create the same effect.

Hello guys!
my question is how many groups can you hide/ operate at once? I have my group 1-3 working fine, but when i add a button to control group4, the button just stop working like any others for previous groups? Any thoughts?

Thanks!!! I had the same problem and you solved it!