Can I hide a whole "Tab"?

Can I hide a whole "Tab"? Because I need to display different number of charts up to various devices.

See [Announce] Dashboard version 2.13.0

Thank you, I got it, but what msg.payload should be sent to ui_control to disable the tab?

Not yet possible. That is why it says “manually”. And that there is more to come.

Great, look forward to seeing it, thank you so much.

dceejay,
Do you know if it will be soon in the next revision or version?
This is something important I'm looking forward to for my application in NR.

Kind Regards,

Probably., but no date.

I'm running NR v0.20.7 with dashboard v 2.13.0 and I'm wondering if it's possible to hide an entire TAB by using a change node (forming the JSON code) and a ui_button.
For example I've a TAB named CONFIGURAZIONE and - inside this tab a GROUP called Impostazione Modulo.
I succceed in hiding the GROUP by using the following JSON code in a change node and then sent it to a ui_control node as per the image attached

while it's not possible to hide the entire TAB CONFIGURAZIONE (below the json code I've tried)

Did someone succed in hiding an entire TAB ? If so, where is my fault? Probably upgrading the dashboard to a newer release (i.e. 2.17.1) will solve the issue?

@lenny1972, Works for me. Here is my testing flow.

[{"id":"57721ee6.0a352","type":"tab","label":"Flow 4","disabled":false,"info":""},{"id":"86417101.23fba","type":"ui_ui_control","z":"57721ee6.0a352","name":"","events":"all","x":600,"y":280,"wires":[["af7c79b8.2b5658"]]},{"id":"25ece4c9.1d069c","type":"change","z":"57721ee6.0a352","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"tabs\":{\"hide\":\"Config\"}}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":280,"wires":[["86417101.23fba"]]},{"id":"f2a78109.a94bc","type":"ui_text","z":"57721ee6.0a352","group":"eeb7e778.802138","order":2,"width":"3","height":"1","name":"","label":"Config-G1","format":"{{msg.payload}}","layout":"row-spread","x":410,"y":100,"wires":[]},{"id":"99a786a3.9d8618","type":"ui_text","z":"57721ee6.0a352","group":"f62442d8.46a67","order":3,"width":"3","height":"1","name":"","label":"Home-G1","format":"{{msg.payload}}","layout":"row-spread","x":400,"y":140,"wires":[]},{"id":"f1d0b50e.eeb648","type":"inject","z":"57721ee6.0a352","name":"Hide","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":210,"y":280,"wires":[["25ece4c9.1d069c"]]},{"id":"af7c79b8.2b5658","type":"debug","z":"57721ee6.0a352","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":760,"y":280,"wires":[]},{"id":"1e920d12.480023","type":"inject","z":"57721ee6.0a352","name":"","topic":"","payload":"Config","payloadType":"str","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":210,"y":100,"wires":[["f2a78109.a94bc"]]},{"id":"a69fcef8.aa584","type":"inject","z":"57721ee6.0a352","name":"","topic":"","payload":"Home","payloadType":"str","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":210,"y":140,"wires":[["99a786a3.9d8618"]]},{"id":"1e4a3c85.e2c743","type":"ui_ui_control","z":"57721ee6.0a352","name":"","events":"all","x":600,"y":240,"wires":[["6cf0e0ba.eb851"]]},{"id":"c36950c8.5aa9a","type":"change","z":"57721ee6.0a352","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"tabs\":{\"show\":\"Config\"}}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":240,"wires":[["1e4a3c85.e2c743"]]},{"id":"f2b5925f.3a6bd","type":"inject","z":"57721ee6.0a352","name":"Show","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":210,"y":240,"wires":[["c36950c8.5aa9a"]]},{"id":"6cf0e0ba.eb851","type":"debug","z":"57721ee6.0a352","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":760,"y":240,"wires":[]},{"id":"eeb7e778.802138","type":"ui_group","z":"","name":"G1","tab":"5dec55ee.19756c","disp":true,"width":"3","collapse":false},{"id":"f62442d8.46a67","type":"ui_group","z":"","name":"G1","tab":"43bbb3c.f37894c","disp":true,"width":"3","collapse":false},{"id":"5dec55ee.19756c","type":"ui_tab","z":"","name":"Config","icon":"dashboard","disabled":false,"hidden":false},{"id":"43bbb3c.f37894c","type":"ui_tab","z":"","name":"Home","icon":"dashboard","order":6,"disabled":false,"hidden":false}]
4 Likes

Thanks for your feedback Andrei. I had to upgrade the dashboard plug-in in order to have it working.

1 Like