# Can't give a string contains '.' as ths category name for nodes

**URL:** <https://discourse.nodered.org/t/cant-give-a-string-contains-as-ths-category-name-for-nodes/1836>\
**Category:** General\
**Created:** [26 July 2018 16:32 UTC](https://discourse.nodered.org/t/cant-give-a-string-contains-as-ths-category-name-for-nodes/1836 "2018-07-26T16:32:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![malinthasa](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@malinthasa](https://discourse.nodered.org/u/malinthasa)\
**Post date:** [26 July 2018 16:32 UTC](https://discourse.nodered.org/t/cant-give-a-string-contains-as-ths-category-name-for-nodes/1836/1 "2018-07-26T16:32:34Z")

</div>

Hi,

Can't I give a string contains '.' for the category of a node? I tried following but not worked. Is the a default behavior.

```
RED.nodes.registerType('myNode'),{
        category: 'my.custom.category',
```

---

<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:** [26 July 2018 18:17 UTC](https://discourse.nodered.org/t/cant-give-a-string-contains-as-ths-category-name-for-nodes/1836/2 "2018-07-26T18:17:50Z")

</div>

Correct, you cannot have `.` in the category name. You can use spaces or `_` to separate words in the category.
