# Dynamic binding tags in table

**URL:** <https://forum.inductiveautomation.com/t/dynamic-binding-tags-in-table/12682>\
**Category:** Ignition\
**Created:** [February 15, 2017, 7:58pm UTC](https://forum.inductiveautomation.com/t/dynamic-binding-tags-in-table/12682 "2017-02-15T19:58:06Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [February 16, 2017, 3:48pm UTC](https://forum.inductiveautomation.com/t/dynamic-binding-tags-in-table/12682/3 "2017-02-16T15:48:24Z")

</div>

You may want to read all the tag values at once.

[code]tagPathsToRead = []  
#get values from dataset  
for row in range(query\_ds.rowCount):  
id=query\_ds.getValueAt(row,“id”)  
tagname=query\_ds.getValueAt(row,“TagName”)  
description=query\_ds.getValueAt(row,“Description”)  
eu=query\_ds.getValueAt(row,“EU”)  
type=query\_ds.getValueAt(row,“Type”)

# Add the tagpath to the list

tagPathsToRead.append(tagname)  
#create new row  
newRow=[id,tagname,description,eu,type,None]  
#add this new row  
data=system.dataset.addRow(data,newRow)

tagValues = system.tag.readAll(tagPathsToRead)  
for row in range(query\_ds.rowCount):  
data = system.dataset.updateRow(data,row,{“Value”:tagValues[row].value})[/code]

---

_[View the full topic](https://forum.inductiveautomation.com/t/dynamic-binding-tags-in-table/12682)._
