How can complex JavaScript objects (not arrays) be stored in the Data Layer via Node-RED?
JavaScript objects (not arrays) store in the Data Layer with Node-RED
Best reply by DraganX
Hello,
one possibility is to do this using the KVD app. For that, you need to create a flow — one example looks like this:
You also need to add the following to the app's data → kvd → nodes.json:
Then, it will appear in the Data Layer like this:
Here are also some relevant links that might help:
https://community.boschrexroth.com/ctrlx-automation-how-tos-qmglrz33/post/creating-a-dynamic-data-layer-node-from-node-red-using-key-value-database-lgGz8gQRpOfo15j
https://community.boschrexroth.com/ctrlx-automation-how-tos-qmglrz33/post/custom-data-structures-in-key-value-database-kvd-app-FStAwledlXvTyFo
1 reply