# Issue with Property Tag Binding

**URL:** <https://forum.inductiveautomation.com/t/issue-with-property-tag-binding/39832>\
**Category:** Ignition\
**Tags:** perspective, ignition80\
**Created:** [October 20, 2020, 12:47pm UTC](https://forum.inductiveautomation.com/t/issue-with-property-tag-binding/39832 "2020-10-20T12:47:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![m.boog](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@m.boog](https://forum.inductiveautomation.com/u/m.boog)\
**Post date:** [October 20, 2020, 12:47pm UTC](https://forum.inductiveautomation.com/t/issue-with-property-tag-binding/39832/1 "2020-10-20T12:47:59Z")

</div>

Good Morning,

I’m running Perspective on 8.0.16. I have what appears to be a clear-cut bug. I’m hoping I’m just missing something stupid…

When I bind a tag to a Text Field’s text property, the Direct binding works fine:

 ![Capture_Good](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/0/c0f6bdc5b9f92dc3bc8fd8da150f352f657f131c.jpeg)

When I bind to the same tag as an Expression binding, the tag gives a Bad\_NotFound error.

 ![Capture_Bad](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/9/794d4b90254ff2ee46d9d0adf938bf861c588c2b.jpeg)

To troubleshoot, I’ve also tried Memory tags, different tag providers, different Gateways, and restarted my Gateway. Same result.

Thanks in advance for any thoughts.

---

<div class="post-metadata">

**Author:** ![code\_skin](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@code\_skin](https://forum.inductiveautomation.com/u/code_skin)\
**Post date:** [October 20, 2020, 12:52pm UTC](https://forum.inductiveautomation.com/t/issue-with-property-tag-binding/39832/2 "2020-10-20T12:52:58Z")

</div>

What you need here is the tag() function: [https://docs.inductiveautomation.com/display/DOC80/tag](https://docs.inductiveautomation.com/display/DOC80/tag)  
Wrap tag() around your line and change the { } to " ".

```auto
tag('[System]Gateway/Alarming/Active and Acked')

```

EDIT:  
This actually doesn’t work for me in 8.1.0-rc3 (Tag -\> Expression)  
It does work if the binding type is Expression (not Tag -\> Expression)

---

<div class="post-metadata">

**Author:** ![m.boog](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@m.boog](https://forum.inductiveautomation.com/u/m.boog)\
**Post date:** [October 20, 2020, 12:57pm UTC](https://forum.inductiveautomation.com/t/issue-with-property-tag-binding/39832/3 "2020-10-20T12:57:33Z")

</div>

Thanks for the quick response. I had also tried this approach, with no luck:

 ![Capture_Bad](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/b/0b04054bf4b6ae82ee9ff6b3736660cbbac72c35.jpeg)

---

<div class="post-metadata">

**Author:** ![code\_skin](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@code\_skin](https://forum.inductiveautomation.com/u/code_skin)\
**Post date:** [October 20, 2020, 1:00pm UTC](https://forum.inductiveautomation.com/t/issue-with-property-tag-binding/39832/4 "2020-10-20T13:00:03Z")

</div>

You’re right. I edited my previous post.

---

<div class="post-metadata">

**Author:** ![m.boog](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@m.boog](https://forum.inductiveautomation.com/u/m.boog)\
**Post date:** [October 20, 2020, 1:17pm UTC](https://forum.inductiveautomation.com/t/issue-with-property-tag-binding/39832/5 "2020-10-20T13:17:14Z")

</div>

Using tag() also works for me in the Expression binding section. Given that the Functions menu is provided in the Tag-\>Expression binding section, this leads me to believe that using tag() there should also be valid.

Additionally, I’d believe that using the {[tag\_path]} format in the Tag-\>Expression section should be valid, since that’s how it’s written when using the Browse Tags menu item.

---

<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:** [October 20, 2020, 3:11pm UTC](https://forum.inductiveautomation.com/t/issue-with-property-tag-binding/39832/6 "2020-10-20T15:11:39Z")

</div>

`Expression` mode doesn’t work the way you’re expecting it to. The expression given should itself evaluate to a tag path - so `"[System]Gateway/SystemName"` works - but passing `{[System]Gateway/SystemName}` is trying to find a tag named `whatever your gateway name is` - which fails, hence the error.

Think of it as being wrapped in the `tag()` function - it’s a way to more easily construct a complicated indirect reference - with the benefit that (at least in theory) it can be bidirectional.

---

<div class="post-metadata">

**Author:** ![m.boog](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@m.boog](https://forum.inductiveautomation.com/u/m.boog)\
**Post date:** [October 20, 2020, 4:43pm UTC](https://forum.inductiveautomation.com/t/issue-with-property-tag-binding/39832/7 "2020-10-20T16:43:41Z")

</div>

Thanks, that makes sense.
