# \[BUG-12312\] Cannot bind (direct or indirect) to array tag

**URL:** <https://forum.inductiveautomation.com/t/bug-12312-cannot-bind-direct-or-indirect-to-array-tag/21684>\
**Category:** Ignition Early Access\
**Created:** [January 4, 2019, 4:47am UTC](https://forum.inductiveautomation.com/t/bug-12312-cannot-bind-direct-or-indirect-to-array-tag/21684 "2019-01-04T04:47:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidf](https://avatars.discourse-cdn.com/v4/letter/d/f07891/32.png) [@davidf](https://forum.inductiveautomation.com/u/davidf)\
**Post date:** [January 4, 2019, 4:47am UTC](https://forum.inductiveautomation.com/t/bug-12312-cannot-bind-direct-or-indirect-to-array-tag/21684/1 "2019-01-04T04:47:42Z")

</div>

Create an array tag, such as a Boolean Array or String Array.

Copy the path to one of the elements, it will be like:

[default]SomeArrayTag[0]

This path shows as “Bad\_NotFound” in Perspective bindings.

If you instead bind to [default]SomeArrayTag, Perspective will provide all of the elements:  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/9f792b3f708983ab9d33a6b7acf2529e1e4fb2d9.png)

This seems like a bug since it is often necessary to access only one element, and I don’t think using an expression to extract the element is correct.

---

<div class="post-metadata">

**Author:** ![anjoroge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/anjoroge/32/6698_2.png) [@anjoroge](https://forum.inductiveautomation.com/u/anjoroge)\
**Post date:** [January 14, 2019, 4:40pm UTC](https://forum.inductiveautomation.com/t/bug-12312-cannot-bind-direct-or-indirect-to-array-tag/21684/2 "2019-01-14T16:40:28Z")

</div>

Was able to reproduce the issue and will create an internal bug report since it does make sense that you should be able to access a specific element at a time.

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [February 4, 2019, 4:39pm UTC](https://forum.inductiveautomation.com/t/bug-12312-cannot-bind-direct-or-indirect-to-array-tag/21684/3 "2019-02-04T16:39:12Z")

</div>

This issue was fixed in the build that was uploaded today (2/4). Please let us know if you continue to see this behavior after upgrading.

---

<div class="post-metadata">

**Author:** ![eric.petke](https://avatars.discourse-cdn.com/v4/letter/e/7feea3/32.png) [@eric.petke](https://forum.inductiveautomation.com/u/eric.petke)\
**Post date:** [September 17, 2019, 2:20pm UTC](https://forum.inductiveautomation.com/t/bug-12312-cannot-bind-direct-or-indirect-to-array-tag/21684/4 "2019-09-17T14:20:16Z")

</div>

Hello.  
It look like the problem have been solved for normal Tag, but i am facing it with a Client Tag. I can not access a specific position of the array or bind to it. i can just get all of it at once.  
It also don’t work with Dataset. i can’t by bind to an entry of the Dataset( is it even possible ?)  
Can you please also have a look on it?  
Thank you

---

<div class="post-metadata">

**Author:** ![alexlu](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alexlu/32/65795_2.png) [@alexlu](https://forum.inductiveautomation.com/u/alexlu)\
**Post date:** [September 17, 2019, 6:37pm UTC](https://forum.inductiveautomation.com/t/bug-12312-cannot-bind-direct-or-indirect-to-array-tag/21684/5 "2019-09-17T18:37:13Z")

</div>

It does appear that array client tags have the same tag binding issue. I’ve created another bug ticket to get this fixed (Bug-15002).

To bind to a dataset element, you can use an expression binding:  
`{[Client]Dataset Tag}[row, col]`

Until there’s a fix for array client tags, a similar expression binding can be used as a workaround by casting the tag value to a dataset first and then referencing it as such:  
`toDataset({[Client]Array Tag})[row, 0]`

---

<div class="post-metadata">

**Author:** ![eric.petke](https://avatars.discourse-cdn.com/v4/letter/e/7feea3/32.png) [@eric.petke](https://forum.inductiveautomation.com/u/eric.petke)\
**Post date:** [September 18, 2019, 7:49am UTC](https://forum.inductiveautomation.com/t/bug-12312-cannot-bind-direct-or-indirect-to-array-tag/21684/6 "2019-09-18T07:49:15Z")

</div>

Thank you for your help. Until the bug it fix i will work with Dataset and expression binding as you suggest. 😀
