# Issues with Vision Template Binding

**URL:** <https://forum.inductiveautomation.com/t/issues-with-vision-template-binding/99443>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [December 4, 2024, 7:35pm UTC](https://forum.inductiveautomation.com/t/issues-with-vision-template-binding/99443 "2024-12-04T19:35:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [December 4, 2024, 8:04pm UTC](https://forum.inductiveautomation.com/t/issues-with-vision-template-binding/99443/2 "2024-12-04T20:04:11Z")

</div>

First, please see [Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831).

~~Second, `toInt` requires a fallback value, you have not provided such to either call in the second expression that you posted.~~ This is an optional parameter.

You look like you are attempting to create an indirect tag path, is this correct? If so you are approaching it incorrectly, your current expression is just creating a string of `PointIO_IOLink2.SomeValueHereData::Data` instead of pointing to a tag.  
Instead, create a custom internal property on the template and apply an indirect tag binding to that.

> **[Indirect Tag Bindings in Vision | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/ignition-modules/vision/binding-types-in-vision/indirect-tag-bindings-in-vision)**
>
> Binding Properties to a Dynamic Set of Tags

Configure the tag binding path to be `PointIO_IOLink2.{1}Data::Data`, and configure the `{1}` to be assigned a value of `{PointIO_IOLink2.Ch0.name}`.

From there, your binding would be adjusted to

```python
getBit(
	toInt({template.customInternalProperty}),
	toInt({PointIO_IOLink2.Ch0.Ch 0 to 7.0.name})
)

```

Additionally, if these are indeed tag paths, `.` is not a valid character for tag names.

> **[Tags | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/platform/tags#tag-naming)**
>
> What Is a Tag?

---

_[View the full topic](https://forum.inductiveautomation.com/t/issues-with-vision-template-binding/99443)._
