Access msg.payload in node properties

#1

Hello, I am new to node-red. so i don't know i am asking the right question or not.
I have a function node which returns msg.payload(contain location of my sqlite db). Now i want to access this msg.payload object in sqlite node properties.How i can do it. Please help!!!

0 Likes

#2

Check out the ReadME of the node you are using ( which you haven't shared).
This will list any properties that can be set via an incoming message and where you need to set them.

Assuming you are using node-red-node-sqlite see https://flows.nodered.org/node/node-red-node-sqlite

0 Likes

#3

Thanks for the quick reply, yes i am using node-red-node-sqlite . But i can't find answer of my question here https://flows.nodered.org/node/node-red-node-sqlite . can you please highlight it. My question is how i can set the location of database properties via an incoming message.

0 Likes

#4

You can’t which is why it’s not on the ReadMe if you could it would be

0 Likes