Hi,
I'm trying to build an own node using a configuration template as described here: https://nodered.org/docs/creating-nodes/config-nodes
In my node's properties only the "name" property appears, not the remote-server setting.
Here is my package.json (part):
"node-red" : {
"nodes": {
"remote-server": "remote-server.js",
"rcpulse": "rcpulse.js"
}
}
remote-server.js and remote-server.html are excactely as in documentation.
In my rcpulse.html I added:
defaults: {
name: {value:"RC-pulse"},
server: {value:"", type:"remote-server", required: true}
}
In my rcpulse.js I have:
function RCPulseNode(config) {
RED.nodes.createNode(this,config);
this.server = RED.nodes.getNode(config.server);
}
In the palette settings both my own node and the remote-server node appear. What am I missing?
Kind regards
S