UI_Control node question

I have a list of buttons on my dashboard, and after selecting one, I want to reset my page back to the top. It looks like UI_Control Node is what I want, but no matter what I put into the mag.payload, nothing happens

My current tab is the 29th (from zero), named "Game".

My msg.payload has no effect. I've tried:

{tab:"(Game)"}
0
Game

I even tried going to a different tab, #6 named "Weather". No effect.
So, what am I missing?

ui_control

[{"id":"d0c000b.a8dc3","type":"ui_ui_control","z":"93a8305d.e7f44","name":"","x":440,"y":2000,"wires":[[]]},{"id":"4b600c6.e012cf4","type":"ui_button","z":"93a8305d.e7f44","name":"Top","group":"7b2258fe.be6e88","order":0,"width":0,"height":0,"passthru":false,"label":"Top","color":"","bgcolor":"","icon":"","payload":"Game","payloadType":"str","topic":"","x":290,"y":2000,"wires":[["d0c000b.a8dc3"]]},{"id":"8d070812.9824a8","type":"ui_ui_control","z":"93a8305d.e7f44","name":"","x":440,"y":2040,"wires":[[]]},{"id":"4ceca9af.e953a8","type":"ui_button","z":"93a8305d.e7f44","name":"Weather","group":"7b2258fe.be6e88","order":0,"width":0,"height":0,"passthru":false,"label":"Weather","color":"","bgcolor":"","icon":"","payload":"Weather","payloadType":"str","topic":"","x":300,"y":2040,"wires":[["8d070812.9824a8"]]},{"id":"7b2258fe.be6e88","type":"ui_group","z":"","name":"Hints","tab":"7ff14e1a.f74df","order":3,"disp":true,"width":"5"},{"id":"7ff14e1a.f74df","type":"ui_tab","z":"","name":"Game","icon":"dashboard","order":1}]

Isn't the ui_control node supposed to control jumps to different pages in the dashboard??? You are mentioning tabs like in the editor. Are you trying to jump between tabs in the editor?

When the node information says "Tab Name" or number from zero, I have to assume it means the editor tab.

From the node help: The format should be like
{"tab":"my_tab_name"}

You could try {"tab":"Game"}

Well,,,the ui_control node is part of the dashboard nodes

"Well,,,the ui_control node is part of the dashboard nodes"

Even if tru, I still can't go anywhere. Nothing makes any difference.
I was hopeful that I misread the node info and I did try

 {"tab":"Game"}
 {"tab":"Weather"}

Those are also the tab names in the Dashboard page of the editor.

And neither did anything.

Then I do not know what could be the problem. I have used the ui control node since long and it has always been working. I just use a single string with the name of the group the "tab" has

I assume you use the Group name in the calls?

EDIT:
In this example, I send the string "Video" to my ui control node, this will bring the page/tab "Video" in front

Thank you- I sort of have it working. I can go-to any page now. My mistake was sending {"tab":"Game"} as a string, not as a JSON object. Mystery solved.

But not my initial problem where I want to go to the top of the current page.

I have a workaround that seems to work. I first go to another page, then back to my current page:

Clever! I guess it has to be re-triggered like that to be fully "refreshed", i.e. "got to top" so to say

The best laid plans...
I have a new problem. I can't leave the page. I click on the hamburger menu to go to another page in my dashboard, and I am instantly brought back to my Game page.

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