# Developing Nodes

**URL:** https://discourse.nodered.org/c/developing-nodes/15.md?page=25

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

**Page:** 26

---

## [Can we add our own private nodes in addition to the search section provided by node-red in the pallet loading section?](https://discourse.nodered.org/t/can-we-add-our-own-private-nodes-in-addition-to-the-search-section-provided-by-node-red-in-the-pallet-loading-section/53156)

<div class="topic-metadata">

**Author:** [@sercancetin](https://discourse.nodered.org/u/sercancetin)\
**Replies:** 4\
**Last updated:** [3 November 2021 15:28 UTC](https://discourse.nodered.org/t/can-we-add-our-own-private-nodes-in-addition-to-the-search-section-provided-by-node-red-in-the-pallet-loading-section/53156 "2021-11-03T15:28:13Z")

</div>

Hello to everyone, I just wanted to ask if it could be. Can we add our own private nodes in addition to the search section provided by node-red in the pallet loading section? Not everyone should see the nodes here, only…

---

## [HTTP Request Node: replace header in backend](https://discourse.nodered.org/t/http-request-node-replace-header-in-backend/53159)

<div class="topic-metadata">

**Author:** [@Dunken](https://discourse.nodered.org/u/Dunken)\
**Replies:** 5\
**Last updated:** [3 November 2021 11:44 UTC](https://discourse.nodered.org/t/http-request-node-replace-header-in-backend/53159 "2021-11-03T11:44:23Z")

</div>

I would like to create a Custom Node which creates a Machine User in the backend. However, in order not to expose the clientSecret I would like to return a password-hash and the clientId. This password-hash I would like …

---

## [Retrieve the value of a flow variable from another node into the JS file?](https://discourse.nodered.org/t/retrieve-the-value-of-a-flow-variable-from-another-node-into-the-js-file/53132)

<div class="topic-metadata">

**Author:** [@StefCReSTIC](https://discourse.nodered.org/u/StefCReSTIC)\
**Replies:** 2\
**Last updated:** [3 November 2021 08:31 UTC](https://discourse.nodered.org/t/retrieve-the-value-of-a-flow-variable-from-another-node-into-the-js-file/53132 "2021-11-03T08:31:45Z")

</div>

Hi everyone ! I'm currently creating a custom node and I have a problem. Is it possible to retrieve the value of a flow variable from a change node into the js file of my custom node ? I tried to use flow.get("value")…

---

## [How to data move to Apexcharts using template](https://discourse.nodered.org/t/how-to-data-move-to-apexcharts-using-template/53013)

<div class="topic-metadata">

**Author:** [@jeyaprksh3](https://discourse.nodered.org/u/jeyaprksh3)\
**Replies:** 0\
**Last updated:** [31 October 2021 16:13 UTC](https://discourse.nodered.org/t/how-to-data-move-to-apexcharts-using-template/53013 "2021-10-31T16:13:45Z")

</div>

Basic Bar Chart \<link href="../../assets/styles.css" rel="stylesheet" /\> \<style\> #chart { max-width: 650px; margin: 35px auto; } \</style\> \<script\> window.Promise || documen…

---

## [Editable List: Is there a easy way to disable the sort and delete button](https://discourse.nodered.org/t/editable-list-is-there-a-easy-way-to-disable-the-sort-and-delete-button/52971)

<div class="topic-metadata">

**Author:** [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Replies:** 7\
**Last updated:** [30 October 2021 16:25 UTC](https://discourse.nodered.org/t/editable-list-is-there-a-easy-way-to-disable-the-sort-and-delete-button/52971 "2021-10-30T16:25:42Z")

</div>

Hi, a quick question. Is there an easy way to disable the sort handle and delete button for single entries in a editable list? I need default values "pinned" in the list. I can put the out of the list but this permanent…

---

## [Node-Red Editor: I need a button that will add an input field](https://discourse.nodered.org/t/node-red-editor-i-need-a-button-that-will-add-an-input-field/52975)

<div class="topic-metadata">

**Author:** [@larslehman1](https://discourse.nodered.org/u/larslehman1)\
**Replies:** 1\
**Last updated:** [30 October 2021 13:47 UTC](https://discourse.nodered.org/t/node-red-editor-i-need-a-button-that-will-add-an-input-field/52975 "2021-10-30T13:47:41Z")

</div>

I am writing my own node. I need a button that will add an input field as soon as it is pressed. Are there instructions for my problem somewhere? or explain to me how I can implement this in Node-Red ? Thanks in advan…

---

## [Access node-library from function-node](https://discourse.nodered.org/t/access-node-library-from-function-node/52930)

<div class="topic-metadata">

**Author:** [@Dunken](https://discourse.nodered.org/u/Dunken)\
**Replies:** 2\
**Last updated:** [29 October 2021 15:46 UTC](https://discourse.nodered.org/t/access-node-library-from-function-node/52930 "2021-10-29T15:46:19Z")

</div>

I already deployed my own node N which contains a library L. Can I access L out of a Function-node? If yes, how can I do that?

---

## [How to get input value and put it into another within a node?](https://discourse.nodered.org/t/how-to-get-input-value-and-put-it-into-another-within-a-node/52796)

<div class="topic-metadata">

**Author:** [@heeboventure](https://discourse.nodered.org/u/heeboventure)\
**Replies:** 4\
**Last updated:** [28 October 2021 02:38 UTC](https://discourse.nodered.org/t/how-to-get-input-value-and-put-it-into-another-within-a-node/52796 "2021-10-28T02:38:37Z")

</div>

Hi, I'm new to node-red and having trouble on one thing. This is what I'm trying to do. One of my nodes has input field and an html audio tag. the html source looks like below. \<script type="text/x-red" data-template…

---

## [Enforce Node edit dialog TypedInput](https://discourse.nodered.org/t/enforce-node-edit-dialog-typedinput/52828)

<div class="topic-metadata">

**Author:** [@JohnnyPicnic](https://discourse.nodered.org/u/JohnnyPicnic)\
**Replies:** 2\
**Last updated:** [27 October 2021 16:40 UTC](https://discourse.nodered.org/t/enforce-node-edit-dialog-typedinput/52828 "2021-10-27T16:40:25Z")

</div>

I created a node that has a number input field. When text or characters are entered the input box highlights red but i'm still able to deploy. Is there a way to enforce a number only input field? \<script type="text/ja…

---

## [Node object and closure](https://discourse.nodered.org/t/node-object-and-closure/52750)

<div class="topic-metadata">

**Author:** [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Replies:** 11\
**Last updated:** [27 October 2021 12:12 UTC](https://discourse.nodered.org/t/node-object-and-closure/52750 "2021-10-27T12:12:31Z")

</div>

I'm trying to refactor my custom node so that some complex domain logic can stay in its own routines. However, I found that although the node object can be passed around, some of it's methods don't work as expected. mo…

---

## [Calling async function in a custom node](https://discourse.nodered.org/t/calling-async-function-in-a-custom-node/52187)

<div class="topic-metadata">

**Author:** [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Replies:** 4\
**Last updated:** [27 October 2021 11:23 UTC](https://discourse.nodered.org/t/calling-async-function-in-a-custom-node/52187 "2021-10-27T11:23:01Z")

</div>

I know the async topic has been discussed in a few posts here. But I have yet to find a step-by-step tutorial on how to call async function in a custom node. I've tried the following adding async keyword to my node f…

---

## [Read and set .flow or .global typed input correctly](https://discourse.nodered.org/t/read-and-set-flow-or-global-typed-input-correctly/52694)

<div class="topic-metadata">

**Author:** [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Replies:** 2\
**Last updated:** [25 October 2021 11:18 UTC](https://discourse.nodered.org/t/read-and-set-flow-or-global-typed-input-correctly/52694 "2021-10-25T11:18:21Z")

</div>

Hi I use a typed input to let the user chose a context store: I then get this as the value of the input: #:(file)::myNode Strange format to me but ok (any background info?). But how can I set the typed input to th…

---

## [Error: Cannot find module '@abandonware/noble'](https://discourse.nodered.org/t/error-cannot-find-module-abandonware-noble/52421)

<div class="topic-metadata">

**Author:** [@hkayan](https://discourse.nodered.org/u/hkayan)\
**Replies:** 13\
**Last updated:** [25 October 2021 11:05 UTC](https://discourse.nodered.org/t/error-cannot-find-module-abandonware-noble/52421 "2021-10-25T11:05:54Z")

</div>

Hi, I am trying to run my customized node on Raspberry Pi 4 that runs DietPi OS. But, I am having errors along the way. I have tried many different things, but no success yet. The main error that I would like to fix is…

---

## [Initial state of custom button modelled on Debug node](https://discourse.nodered.org/t/initial-state-of-custom-button-modelled-on-debug-node/52603)

<div class="topic-metadata">

**Author:** [@chris.willing](https://discourse.nodered.org/u/chris.willing)\
**Replies:** 3\
**Last updated:** [23 October 2021 10:14 UTC](https://discourse.nodered.org/t/initial-state-of-custom-button-modelled-on-debug-node/52603 "2021-10-23T10:14:40Z")

</div>

N.B nothing to do with dashboard! I've created a node to work like a push button switch which (de)activates a facility in a connected physical device. The idea comes from the switch of the common Debug node which deacti…

---

## [TextArea value is not displaying in the form from the database](https://discourse.nodered.org/t/textarea-value-is-not-displaying-in-the-form-from-the-database/52598)

<div class="topic-metadata">

**Author:** [@Jeslin](https://discourse.nodered.org/u/Jeslin)\
**Replies:** 1\
**Last updated:** [23 October 2021 08:16 UTC](https://discourse.nodered.org/t/textarea-value-is-not-displaying-in-the-form-from-the-database/52598 "2021-10-23T08:16:22Z")

</div>

\< About //router let item = { author: req.body.author, about: req.body.about, image: new\_image } Authordata.findByIdAndUpdate({\_id:id},item) .then((response)=\>{ if(response){ res.redirect('/a…

---

## [Node label multiline](https://discourse.nodered.org/t/node-label-multiline/52578)

<div class="topic-metadata">

**Author:** [@maira](https://discourse.nodered.org/u/maira)\
**Replies:** 2\
**Last updated:** [22 October 2021 19:45 UTC](https://discourse.nodered.org/t/node-label-multiline/52578 "2021-10-22T19:45:00Z")

</div>

Hi there! I was wondering if there is a way to have more information displayed in node label by making it multiline, like so: (and to have different style for descriptions)

---

## [How to execute "last will" command before a configuration node get removed](https://discourse.nodered.org/t/how-to-execute-last-will-command-before-a-configuration-node-get-removed/52442)

<div class="topic-metadata">

**Author:** [@antoine-em](https://discourse.nodered.org/u/antoine-em)\
**Replies:** 3\
**Last updated:** [20 October 2021 00:55 UTC](https://discourse.nodered.org/t/how-to-execute-last-will-command-before-a-configuration-node-get-removed/52442 "2021-10-20T00:55:06Z")

</div>

On a standard node the this.on("close",function) can be executed when the node is removed and/or stopped. But for the configuration nodes how to to execute such function before the config. node get deleted ? In my case…

---

## [Why does the AND not work](https://discourse.nodered.org/t/why-does-the-and-not-work/52374)

<div class="topic-metadata">

**Author:** [@AndyWB](https://discourse.nodered.org/u/AndyWB)\
**Replies:** 25\
**Last updated:** [19 October 2021 17:37 UTC](https://discourse.nodered.org/t/why-does-the-and-not-work/52374 "2021-10-19T17:37:30Z")

</div>

Good evening, I have two Boolean values. Both of these are true. The AND element always shows unknown and gives nothing out. Where is my mistake? \[ { "id": "3d846a3cec7a7d97", "type": "change", …

---

## [DietPi - "~/.node-red" folder does not exist](https://discourse.nodered.org/t/dietpi-node-red-folder-does-not-exist/52405)

<div class="topic-metadata">

**Author:** [@hkayan](https://discourse.nodered.org/u/hkayan)\
**Replies:** 4\
**Last updated:** [19 October 2021 09:57 UTC](https://discourse.nodered.org/t/dietpi-node-red-folder-does-not-exist/52405 "2021-10-19T09:57:28Z")

</div>

Hi, I am trying to create a node in DietPi. To install the node I need to run npm install in ~/.node-red. But, I can't see such a folder. How should I proceed? Thanks.

---

## [Add a custom button to node config UI and onclick() for it](https://discourse.nodered.org/t/add-a-custom-button-to-node-config-ui-and-onclick-for-it/52394)

<div class="topic-metadata">

**Author:** [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Replies:** 3\
**Last updated:** [19 October 2021 07:30 UTC](https://discourse.nodered.org/t/add-a-custom-button-to-node-config-ui-and-onclick-for-it/52394 "2021-10-19T07:30:45Z")

</div>

I'm trying to add a button to my custom node's configuration UI. So in node.html I did this \<script type="text/html" data-template-name="my\_node"\> \<div class="form-tips"\>\<i class="fa fa-hand-o-down"\>\</i\> Press the …

---

## [How to add css as per the login?](https://discourse.nodered.org/t/how-to-add-css-as-per-the-login/52360)

<div class="topic-metadata">

**Author:** [@Nisha](https://discourse.nodered.org/u/Nisha)\
**Replies:** 4\
**Last updated:** [19 October 2021 04:57 UTC](https://discourse.nodered.org/t/how-to-add-css-as-per-the-login/52360 "2021-10-19T04:57:37Z")

</div>

Hi there, I want to add some css to another html code written in template node according to the person who is logged in. I have my login code in another template node and other html codes in different template node. I am…

---

## [Social-pushover | Add "tags" parameter | PR](https://discourse.nodered.org/t/social-pushover-add-tags-parameter-pr/52370)

<div class="topic-metadata">

**Author:** [@trise](https://discourse.nodered.org/u/trise)\
**Replies:** 2\
**Last updated:** [18 October 2021 19:05 UTC](https://discourse.nodered.org/t/social-pushover-add-tags-parameter-pr/52370 "2021-10-18T19:05:43Z")

</div>

Hello. I'd like to contribute to social-pushover and add the "tags" parameter. This would allow to cancel emergency messages by tag. See Pushover-API docs. I already made the changes in my branch. Is ist it ok to open …

---

## [Storing a response to a variable](https://discourse.nodered.org/t/storing-a-response-to-a-variable/52317)

<div class="topic-metadata">

**Author:** [@Bos1982](https://discourse.nodered.org/u/Bos1982)\
**Replies:** 2\
**Last updated:** [17 October 2021 11:04 UTC](https://discourse.nodered.org/t/storing-a-response-to-a-variable/52317 "2021-10-17T11:04:00Z")

</div>

Hi, I am working on something but it seems a little bit too difficult for me.... For the use of an API you first need to send a bearer token message, to receive a new one which is valid for only 24 hours. I know how t…

---

## [Removal of extensions in strings and converting to number for a two-point control](https://discourse.nodered.org/t/removal-of-extensions-in-strings-and-converting-to-number-for-a-two-point-control/52196)

<div class="topic-metadata">

**Author:** [@AndyWB](https://discourse.nodered.org/u/AndyWB)\
**Replies:** 18\
**Last updated:** [16 October 2021 17:11 UTC](https://discourse.nodered.org/t/removal-of-extensions-in-strings-and-converting-to-number-for-a-two-point-control/52196 "2021-10-16T17:11:30Z")

</div>

Removing extensions in strings and converting to number for a twoGood morning for days I've been trying the following: I have a target and actual temperature from OpenHab. I would like to subtract these from each other u…

---

## [Proper way to debug "Waiting for missing types to be registered"](https://discourse.nodered.org/t/proper-way-to-debug-waiting-for-missing-types-to-be-registered/52270)

<div class="topic-metadata">

**Author:** [@cloud-rocket](https://discourse.nodered.org/u/cloud-rocket)\
**Replies:** 1\
**Last updated:** [15 October 2021 20:18 UTC](https://discourse.nodered.org/t/proper-way-to-debug-waiting-for-missing-types-to-be-registered/52270 "2021-10-15T20:18:39Z")

</div>

I am pretty new to node-red development and I am trying to bring up the most convenient dev environment. I am writing a node with a complex server side code that uses external classes. Every time am making a syntax (or …

---

## [RED.tabs - any way to disable some tabs?](https://discourse.nodered.org/t/red-tabs-any-way-to-disable-some-tabs/52257)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 3\
**Last updated:** [15 October 2021 11:31 UTC](https://discourse.nodered.org/t/red-tabs-any-way-to-disable-some-tabs/52257 "2021-10-15T11:31:04Z")

</div>

Hi node creators! I'm looking for a way to disable (but not remove/hide) some tabs in the new layout of the uibuilder Editor panel. This is because, when you add a new uibuilder node, you need to deploy it before you do…

---

## [TypedInput Select Box](https://discourse.nodered.org/t/typedinput-select-box/52194)

<div class="topic-metadata">

**Author:** [@wshostak](https://discourse.nodered.org/u/wshostak)\
**Replies:** 5\
**Last updated:** [15 October 2021 05:26 UTC](https://discourse.nodered.org/t/typedinput-select-box/52194 "2021-10-15T05:26:41Z")

</div>

After researching code, reading docs and trial & error. I think I finally have a handle on Select Box. I am sharing my discovery for others and to start discussion on what changes could be made (documentation or code) to…

---

## [Can anyone help me with this JSON API?](https://discourse.nodered.org/t/can-anyone-help-me-with-this-json-api/52226)

<div class="topic-metadata">

**Author:** [@cinghialino](https://discourse.nodered.org/u/cinghialino)\
**Replies:** 2\
**Last updated:** [14 October 2021 19:25 UTC](https://discourse.nodered.org/t/can-anyone-help-me-with-this-json-api/52226 "2021-10-14T19:25:56Z")

</div>

Hello Everyone, I'm trying to extract data from a single station (unique by "station\_id") from this JSON API but because of syntax and my inexperience, I've failed so many attempts to create a node. I only was able to…

---

## [Unable to uninstall a custom node](https://discourse.nodered.org/t/unable-to-uninstall-a-custom-node/51993)

<div class="topic-metadata">

**Author:** [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Replies:** 8\
**Last updated:** [14 October 2021 07:43 UTC](https://discourse.nodered.org/t/unable-to-uninstall-a-custom-node/51993 "2021-10-14T07:43:46Z")

</div>

When I tried to uninstall a node, I got errors like this $ npm uninstall my\_proj npm WARN checkPermissions Missing write access to /Users/me/.node-red/node\_modules/my\_proj npm ERR! code ENOENT npm ERR! syscall access np…

---

## [SNMP repeating objects](https://discourse.nodered.org/t/snmp-repeating-objects/52105)

<div class="topic-metadata">

**Author:** [@sergiocarlos1982](https://discourse.nodered.org/u/sergiocarlos1982)\
**Replies:** 0\
**Last updated:** [11 October 2021 19:43 UTC](https://discourse.nodered.org/t/snmp-repeating-objects/52105 "2021-10-11T19:43:17Z")

</div>

when I create SNMP node it works fine, but when I have an IP listing where one of these IP is without access or turned off for example, it repeats the information it collected from another IP. I don't know how to put my…

[Previous page](https://discourse.nodered.org/c/developing-nodes/15.md?page=24)

[Next page](https://discourse.nodered.org/c/developing-nodes/15.md?page=26)
