Noe Red save flow

65 views
Skip to first unread message

NewBee

unread,
Aug 30, 2016, 8:08:43 AM8/30/16
to Node-RED
Hi, 

We are using Node-red for a new project where our each UI button should point to a specific 'Node-red flow'. We are actually looking to save a specific flow and retrieve a 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?

Thanks 

Ben Hardill

unread,
Aug 30, 2016, 10:17:18 AM8/30/16
to Node-RED
You asked this on Stack Overflow (http://stackoverflow.com/questions/38954924/how-to-launch-node-red-and-go-to-a-specific-flow-dynamically)  2 weeks ago and got an answer there.

sebasti...@gmail.com

unread,
Sep 1, 2016, 3:00:42 PM9/1/16
to Node-RED
I am looking for a same solution to reuse specific editor flows for user setup and configuration.
Indeed it would be great to hide/unhide specifi flows from editor (but not from the menu) as well.
But if I remind me correctly these topics are allready on the TODO list...
neverthe lesse you may look at the workspace methods ... if you hover of a flow tab you see a anchor url (#343fdds..) with the flowtab-id.
In the JS console you can then switch flow tabs with providing this id with the following call:

RED.workspaces.show('8d30d201.0f52d');

You need to be in the right scope of course.


Reply all
Reply to author
Forward
0 new messages