Hi,
I am developing a Custom Node and I want to have 2 outputs. Is this possible?
I've tried, but have not luck..
Many thanks.
Hi,
I am developing a Custom Node and I want to have 2 outputs. Is this possible?
I've tried, but have not luck..
Many thanks.
Hi @stamer
yes it is possible. There is nothing special about the core nodes that allow them to have multiple outputs and other nodes not to.
What exactly have you tried?
Nick
Yes it is possible...
RED.nodes.registerType('lower-case',{
category: 'function',
color: '#a6bbcf',
defaults: {
name: {value:""}
},
inputs:1,
outputs:2, // << #### set no of outputs here ####
icon: "file.png",
label: function() {
return this.name||"lower-case";
}
});
Many thanks for the fast answer. It was my fault.
The payload was formatted incorrectly.