# Subflow to custom node - changing the palette category

**URL:** <https://discourse.nodered.org/t/subflow-to-custom-node-changing-the-palette-category/44937>\
**Category:** Developing Nodes\
**Created:** [29 April 2021 15:33 UTC](https://discourse.nodered.org/t/subflow-to-custom-node-changing-the-palette-category/44937 "2021-04-29T15:33:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![erktrek](https://avatars.discourse-cdn.com/v4/letter/e/db5fbb/32.png) [@erktrek](https://discourse.nodered.org/u/erktrek)\
**Post date:** [29 April 2021 15:33 UTC](https://discourse.nodered.org/t/subflow-to-custom-node-changing-the-palette-category/44937/1 "2021-04-29T15:33:10Z")

</div>

Starting to play around with the nifty new feature of converting a subflow to a custom node. Seems to work well so far. Instructions are very straightforward thanks for that!

One question I have - is there currently a way to change the palette category like there is with custom nodes? The default seems to be "function" but I'd like to change it to something else to keep all my test stuff together.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [29 April 2021 15:36 UTC](https://discourse.nodered.org/t/subflow-to-custom-node-changing-the-palette-category/44937/2 "2021-04-29T15:36:10Z")

</div>

You can set the category of the subflow via its edit dialog - on the appearance tab. That should get honoured as you go through the steps to package it as a custom node.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/2/82c5c74fd1a319389fdd3888d7645699f45ac4a3.png)

---

<div class="post-metadata">

**Author:** ![erktrek](https://avatars.discourse-cdn.com/v4/letter/e/db5fbb/32.png) [@erktrek](https://discourse.nodered.org/u/erktrek)\
**Post date:** [29 April 2021 15:37 UTC](https://discourse.nodered.org/t/subflow-to-custom-node-changing-the-palette-category/44937/3 "2021-04-29T15:37:14Z")

</div>

Arghh completely missed that!!!!!!!!!  
Appreciate the heads up..

edit: I see that in the "subflow.json" from the instructions I can simply define a category as well. sigh totally missed that too.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [13 May 2021 15:37 UTC](https://discourse.nodered.org/t/subflow-to-custom-node-changing-the-palette-category/44937/4 "2021-05-13T15:37:40Z")

</div>

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