# Access msg.payload in node properties

**URL:** <https://discourse.nodered.org/t/access-msg-payload-in-node-properties/6173>\
**Category:** General\
**Created:** [27 December 2018 17:48 UTC](https://discourse.nodered.org/t/access-msg-payload-in-node-properties/6173 "2018-12-27T17:48:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ansvas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ansvas/32/6419_2.png) [@Ansvas](https://discourse.nodered.org/u/Ansvas)\
**Post date:** [27 December 2018 17:48 UTC](https://discourse.nodered.org/t/access-msg-payload-in-node-properties/6173/1 "2018-12-27T17:48:54Z")

</div>

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!!!

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [27 December 2018 17:52 UTC](https://discourse.nodered.org/t/access-msg-payload-in-node-properties/6173/2 "2018-12-27T17:52:58Z")

</div>

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](https://flows.nodered.org/node/node-red-node-sqlite)

---

<div class="post-metadata">

**Author:** ![Ansvas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ansvas/32/6419_2.png) [@Ansvas](https://discourse.nodered.org/u/Ansvas)\
**Post date:** [27 December 2018 18:18 UTC](https://discourse.nodered.org/t/access-msg-payload-in-node-properties/6173/3 "2018-12-27T18:18:22Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [27 December 2018 18:24 UTC](https://discourse.nodered.org/t/access-msg-payload-in-node-properties/6173/4 "2018-12-27T18:24:45Z")

</div>

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