# Anyway to have a map (key/value pairs) on the config for a node?

**URL:** <https://discourse.nodered.org/t/anyway-to-have-a-map-key-value-pairs-on-the-config-for-a-node/7225>\
**Category:** Developing Nodes\
**Created:** [25 January 2019 00:15 UTC](https://discourse.nodered.org/t/anyway-to-have-a-map-key-value-pairs-on-the-config-for-a-node/7225 "2019-01-25T00:15:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ScottChapman](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scottchapman/32/4838_2.png) [@ScottChapman](https://discourse.nodered.org/u/ScottChapman)\
**Post date:** [25 January 2019 00:15 UTC](https://discourse.nodered.org/t/anyway-to-have-a-map-key-value-pairs-on-the-config-for-a-node/7225/1 "2019-01-25T00:15:13Z")

</div>

I'm creating a new node. And I need to be able to enter in a map of key/value pairs as part of the configuration. They should be able to add/remove the pairs.

Is there such an animal in the available input types?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [25 January 2019 20:24 UTC](https://discourse.nodered.org/t/anyway-to-have-a-map-key-value-pairs-on-the-config-for-a-node/7225/2 "2019-01-25T20:24:50Z")

</div>

If you look at the source code for something like the change node you should get some clues I think.
