Configuration node not showing in node

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

do you have added an input tag to your rcpulse.html for the config node?
something like <input type="text" id="node-input-server">

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.