How to open a “Select folder” dialog from Node-Red)?

I create a new node, I need load json file to do something. Could I open a “Select folder” dialog to select json file instead of absolute json path.filepath

1 Like

Wouldn't it be "more node-red" to set filename via msg.payload (or msg.filename for consistency) and use that as the path ?

This json file just for credential. I want users to find this json file intuitively. Thanks~

For credentials you can use the credentials feature (?)
https://nodered.org/docs/creating-nodes/credentials

Thanks for your reply.
The credentials json file is used by google API.
When I call google API need to use it.
It is different with Node credentials. Thanks~

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