We are using Node-red for a new project where our each UI button should point to a specific 'Node-red flow'.
However, I am unable to find how to point different buttons to different Node-red flow. Node-red is launched using an URL and going to any flow will not change the URL, so I cannot assign each button different URLs.
Can anybody help me to understand how to launch Node-red and go to a specific flow dynamically?
I assume you mean to change which flow (tab) is displayed in the Node-RED editor.
If that is the case there is no way to jump to a specific flow (tab) at this time. It is on the list of things to add, but there is no outlook as to when it might be implemented.
EDIT:
It is now possible to jump to specific tabs in the editor using the html fragment syntax. Each flow(tab) has a unique ID similar to this 1fbb6911.912587
, you can access that flow with a URL like this:
http://localhost:1880/#flow/1fbb6911.912587
To find the ID just click on a tab and the URL bar in your browser should be updated to match