# Project script thinks it is shared

**URL:** <https://forum.inductiveautomation.com/t/project-script-thinks-it-is-shared/17480>\
**Category:** Ignition\
**Created:** [March 23, 2018, 8:43pm UTC](https://forum.inductiveautomation.com/t/project-script-thinks-it-is-shared/17480 "2018-03-23T20:43:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndyP](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@AndyP](https://forum.inductiveautomation.com/u/AndyP)\
**Post date:** [March 23, 2018, 8:43pm UTC](https://forum.inductiveautomation.com/t/project-script-thinks-it-is-shared/17480/1 "2018-03-23T20:43:47Z")

</div>

Hi - has anyone had this problem: I have two projects on the same gateway which appear to think they are sharing the project scripts area.

For example, I have bunch of project scripts in Project A, one being called PopupControl.

I then created Project B, where the Project Script area was empty. I went to add a script similar to Project A, but specific to Project B, and for consistency, I tried to call the script PopupControl.

However, Ignition refuses to allow it saying the name is already in use. It seems to think that the script is a shared/global script, but I was under the impression the project.PopupControl should be specific to the project, and thus naming wouldn’t matter? Would be grateful if someone could clarify this.

Thanks  
Karen

ETA - Using Ignition V7.8.4

---

<div class="post-metadata">

**Author:** ![AndyP](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@AndyP](https://forum.inductiveautomation.com/u/AndyP)\
**Post date:** [March 24, 2018, 10:08pm UTC](https://forum.inductiveautomation.com/t/project-script-thinks-it-is-shared/17480/2 "2018-03-24T22:08:50Z")

</div>

Definitely appears to be a bug.

If I rename PopupControl in Project A, Project B still won’t allow me to use that name.

I can add testScript to both Project A and Project B, but the scripts that were in Project A originally have some kind of lock on them.

This is pretty frustrating. I have lots of reusable template components that look for PopupControl, so I don’t want to make a new name, and I shouldn’t have to.

I have restarted the gateway, and deleted the .ignition folder, but the problem persists.

Edited - I have just seen, upon using the Export function, that the script files are there in Project B, but they appear to be hidden as can be witnessed in this screenshot - you cannot see, for example, ‘showPopups’ within the SCRIPTS area, but the script is visible in the export window. Hence me not being able to name a new file ‘showPopups’. However, these files are hidden and cannot be edited or deleted so I don’t see any option other than create a new project from scratch and copy my work into it, a massive waste of time…

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/2570b03eff2bfe7d4b9ea242306d6c2e8c75eb4d.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 26, 2018, 2:56pm UTC](https://forum.inductiveautomation.com/t/project-script-thinks-it-is-shared/17480/3 "2018-03-26T14:56:21Z")

</div>

I would recommend getting in contact with support - they should be able to straighten this out for you.
