# How access tag array element in expression language

**URL:** <https://forum.inductiveautomation.com/t/how-access-tag-array-element-in-expression-language/30232>\
**Category:** Ignition\
**Created:** [November 26, 2019, 9:16am UTC](https://forum.inductiveautomation.com/t/how-access-tag-array-element-in-expression-language/30232 "2019-11-26T09:16:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [November 26, 2019, 9:16am UTC](https://forum.inductiveautomation.com/t/how-access-tag-array-element-in-expression-language/30232/1 "2019-11-26T09:16:46Z")

</div>

Hello,  
How can I access tag array element in expression language? The array index is custom property.

---

<div class="post-metadata">

**Author:** ![beter.dev](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/beter.dev/32/19903_2.png) [@beter.dev](https://forum.inductiveautomation.com/u/beter.dev)\
**Post date:** [November 27, 2019, 9:31pm UTC](https://forum.inductiveautomation.com/t/how-access-tag-array-element-in-expression-language/30232/2 "2019-11-27T21:31:38Z")

</div>

Been struggling with this for a couple of days now. Can’t seem to access it with an expression using the usual [] notation. Seems Expression will simply return the whole array.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [November 28, 2019, 4:33am UTC](https://forum.inductiveautomation.com/t/how-access-tag-array-element-in-expression-language/30232/3 "2019-11-28T04:33:38Z")

</div>

I believe the only way is to use indirect tag access with tag() function
