# Can I get the Node-RED project name?

**URL:** <https://discourse.nodered.org/t/can-i-get-the-node-red-project-name/67039>\
**Category:** General\
**Created:** [28 August 2022 19:45 UTC](https://discourse.nodered.org/t/can-i-get-the-node-red-project-name/67039 "2022-08-28T19:45:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulkeates](https://avatars.discourse-cdn.com/v4/letter/p/9de053/32.png) [@paulkeates](https://discourse.nodered.org/u/paulkeates)\
**Post date:** [28 August 2022 19:45 UTC](https://discourse.nodered.org/t/can-i-get-the-node-red-project-name/67039/1 "2022-08-28T19:45:03Z")

</div>

Hi,

I want to be able to determine the actual name of the Node-RED Project from within that project itself.

I don't think it is programmatically possible, but hope someone out there could point me towards this.

I was using the contrib node: node-red-contrib-projectdir to get the Project path, and notice that SOMETIMES it gives me the correct Project name as well, but often it appears to choose a project name of a DIFFERENT project, so that will not work. The Project is always a valid path + project name - simply not the one actually running.

I wonder if node-red-contrib-projectdir is getting confused if multiple instances of Node-RED are running at the same time? Perhaps it is saving data somewhere and reloading it from another copy executed in another instance of Node-RED and it 'gets confused'? I know I do!

Any help would be much appreciated...

Cheers,

Paul

---

<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:** [27 October 2022 19:45 UTC](https://discourse.nodered.org/t/can-i-get-the-node-red-project-name/67039/2 "2022-10-27T19:45:24Z")

</div>

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