# Accessing global project library from tags

**URL:** <https://forum.inductiveautomation.com/t/accessing-global-project-library-from-tags/37086>\
**Category:** Ignition\
**Tags:** ignition80, scripting\
**Created:** [July 25, 2020, 3:38pm UTC](https://forum.inductiveautomation.com/t/accessing-global-project-library-from-tags/37086 "2020-07-25T15:38:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![huyao](https://avatars.discourse-cdn.com/v4/letter/h/aeb1de/32.png) [@huyao](https://forum.inductiveautomation.com/u/huyao)\
**Post date:** [July 25, 2020, 3:38pm UTC](https://forum.inductiveautomation.com/t/accessing-global-project-library-from-tags/37086/1 "2020-07-25T15:38:32Z")

</div>

I got two project in my gateway “global” and “dpp”. Inheritance hierachy is dpp\>global.  
I wrote some scripts in “global” project to use in diffrent project.  
Those scripts were used in events scripts of gateway and provider tags .  
However something strange happened.

 ![well](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/5/8540aaf753d800f3b7c60607b14e24ca0188f1bc.png)  
With my laptop as gateway, tag event worked well. ![error](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/2/42044de8f8e6285e04008408e7bee741eead8971.png)  
With a docker in linux as gateway,tag event got error-“no module named ‘shared’”  
Both ignition version is 8.0.14.  
Any ideas?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 25, 2020, 3:57pm UTC](https://forum.inductiveautomation.com/t/accessing-global-project-library-from-tags/37086/2 "2020-07-25T15:57:35Z")

</div>

Does your docker gateway have the [gateway scripting project](https://docs.inductiveautomation.com/display/DOC80/Project+Library#ProjectLibrary-GatewayScriptingProject) set correctly?

---

<div class="post-metadata">

**Author:** ![huyao](https://avatars.discourse-cdn.com/v4/letter/h/aeb1de/32.png) [@huyao](https://forum.inductiveautomation.com/u/huyao)\
**Post date:** [July 25, 2020, 5:08pm UTC](https://forum.inductiveautomation.com/t/accessing-global-project-library-from-tags/37086/3 "2020-07-25T17:08:40Z")

</div>

Thanks Kevin, that works.

---

<div class="post-metadata">

**Author:** ![huyao](https://avatars.discourse-cdn.com/v4/letter/h/aeb1de/32.png) [@huyao](https://forum.inductiveautomation.com/u/huyao)\
**Post date:** [July 25, 2020, 5:56pm UTC](https://forum.inductiveautomation.com/t/accessing-global-project-library-from-tags/37086/4 "2020-07-25T17:56:59Z")

</div>

Another question, is that possible for a global script access instances of a class in an other script created by gateway events?
