'Push msg.payload in nodered widget input

I'm using the AWS kinesis module in Node-red. There's a TypeInput input but it doesn't catch the payload that I generate from my linked node.

enter image description here

How can I assign this input aa a "dynamic variable" with the msg.payload value.

I tried {{payload}} but it just print the string itself: "{{payload}}". Is there any way I can pass a value (e.g. from a function) to a TypeInput to my widget?

P.S I'm using this module: https://github.com/Daniel-t/node-red-contrib-aws



Solution 1:[1]

You can only use mustache {{}} syntax if the node explicitly supports it.

A quick look at the source code says this node does not support pulling in msg variables like that, in fact it doesn't look to support any dynamic settings of any fields.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 hardillb