# Tags using inherited ressources

**URL:** <https://forum.inductiveautomation.com/t/tags-using-inherited-ressources/45375>\
**Category:** Ignition\
**Tags:** ignition81, ignition80\
**Created:** [April 8, 2021, 8:47am UTC](https://forum.inductiveautomation.com/t/tags-using-inherited-ressources/45375 "2021-04-08T08:47:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [April 8, 2021, 8:47am UTC](https://forum.inductiveautomation.com/t/tags-using-inherited-ressources/45375/1 "2021-04-08T08:47:31Z")

</div>

Hello there,

Here’s my problem: I can’t use overriden ressources with tags.  
Let me give an example:  
I make a script in the parent project:

```python
def testFunc():
    return "Parent project"

```

Then override it in child project:

```python
def testFunc():
    return "Child project"

```

Now, in the child project, if I make a gateway even timer script:

```python
print Shared.test.testFunc()

```

It will print `"Child project"` to wrapper.log

But if create an expression tag and give it `runScript("Shared.test.testFunc")`, its value is `Parent project`

I understand there are scopes and all, but how can I make a tag use project-specific ressources ?  
Besides being an annoying behavior, it took me quite a while to understand why my tags values were `null`… And editing a global project for project-specific things feels a bit itchy.

Can anyone tell me more or point me to some ressources I could read to try and understand all this better ?  
Thanks in advance to you all wonderful people !

---

<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:** [April 8, 2021, 11:00am UTC](https://forum.inductiveautomation.com/t/tags-using-inherited-ressources/45375/2 "2021-04-08T11:00:16Z")

</div>

Tags are globally defined and do not belong to a project. They can only reference project scripts if that project is designated as the Gateway Scripting Project.

[https://docs.inductiveautomation.com/display/DOC81/Gateway+Settings](https://docs.inductiveautomation.com/display/DOC81/Gateway+Settings)
