Hello,
I want to pass some value from ("packages/node_modules/@node-red/editor-api/lib/admin/flows.js") to ("packages/node_modules/@node-red/editor-client/src/js/ui/deploy.js")
How should i do that ?
Thanks
Hello,
I want to pass some value from ("packages/node_modules/@node-red/editor-api/lib/admin/flows.js") to ("packages/node_modules/@node-red/editor-client/src/js/ui/deploy.js")
How should i do that ?
Thanks
Hi @dhpatel177
what exactly are you trying to do?
i want to pass some value from flows.js to deploy.js ....so that based on that value i can hide or show deploy button.
You've just said the same thing as the original question. That doesn't give me any more context or information with which I can help you.
From your previous questions, I seem to remember you want to create a custom version of Node-RED and you are editing the source code rather than trying to extend it?
If you need to push information from the runtime side to the editor side, you could use RED.comms
to publish messages over the websocket connection. You'll need to have some code in the editor to 'subscribe' to the topic the runtime side publishes on.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.