# Event.source.parent.path String not Working in 8.0

**URL:** <https://forum.inductiveautomation.com/t/event-source-parent-path-string-not-working-in-8-0/24201>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [April 17, 2019, 2:44pm UTC](https://forum.inductiveautomation.com/t/event-source-parent-path-string-not-working-in-8-0/24201 "2019-04-17T14:44:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbhagotra](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@mbhagotra](https://forum.inductiveautomation.com/u/mbhagotra)\
**Post date:** [April 17, 2019, 2:44pm UTC](https://forum.inductiveautomation.com/t/event-source-parent-path-string-not-working-in-8-0/24201/1 "2019-04-17T14:44:57Z")

</div>

Hello,

I’ve migrated a project from 7.9 to 8.0 for testing purposes. A template with a string “Path” property included this script in 7.9 that worked as intended as the UDT had a string property called “ControlScreen” containing the window path. A tag of the same name within the UDT points to this property.

```auto
window = system.tag.read(event.source.parent.Path + '/ControlScreen')
system.nav.swapTo(window.value)

```

Since system.tag.read does not exist in 8.0, I tried using readBlocking as below:

```auto
window = system.tag.readBlocking([event.source.parent.Path + '/ControlScreen'])
system.nav.swapTo(window[0].value)

```

And I get the following error:

```auto
Traceback (most recent call last):
  File "<event:mousePressed>", line 14, in <module>
ValueError: Window {ControlScreen} does not exist.

```

I also tried readAsync as below but ended up with the same error as above:

```auto
def callback(result):
	system.nav.swapTo(result[0].value)
	
tagPath = []
window = event.source.parent.Path + '/ControlScreen'
tagPath.append(window)
system.tag.readAsync(tagPath, callback)

```

It seems that in 8.0 the “event.source.parent.Path” as a string returns nothing. What would be the best way to replicate the script’s actions in this new version of Ignition?

Thanks.

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [April 17, 2019, 8:12pm UTC](https://forum.inductiveautomation.com/t/event-source-parent-path-string-not-working-in-8-0/24201/2 "2019-04-17T20:12:41Z")

</div>

Take a look at the template master, is the internal property set to an empty string?

---

<div class="post-metadata">

**Author:** ![mbhagotra](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@mbhagotra](https://forum.inductiveautomation.com/u/mbhagotra)\
**Post date:** [April 18, 2019, 12:59pm UTC](https://forum.inductiveautomation.com/t/event-source-parent-path-string-not-working-in-8-0/24201/3 "2019-04-18T12:59:26Z")

</div>

I figured it out. The expression was set to **‘{ControlScreen}’** instead of **{ControlScreen}**. Thanks.
