# Script to generate bindings

**URL:** <https://forum.inductiveautomation.com/t/script-to-generate-bindings/104816>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 8, 2025, 9:12am UTC](https://forum.inductiveautomation.com/t/script-to-generate-bindings/104816 "2025-04-08T09:12:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Fran\_Dujmovic](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/fran_dujmovic/32/70280_2.png) [@Fran\_Dujmovic](https://forum.inductiveautomation.com/u/Fran_Dujmovic)\
**Post date:** [April 8, 2025, 10:02am UTC](https://forum.inductiveautomation.com/t/script-to-generate-bindings/104816/2 "2025-04-08T10:02:52Z")

</div>

You can generate a dataset or an array of objects and bind that to the table's data property. Here's an example of the latter;

```python

folderPath = "[path/to/tags]"
tagPaths = system.tag.browse(folderPath)
tagObjects = []

for tag in tagPaths:
	tagPath = folderPath + "/" + tag["name"]
	tagValue = system.tag.readBlocking([tagPath])[0].value
	tagObject = {
		"tagName": tag["name"],
		"tagValue": tagValue
	}
	tagObjects.append(tagObject)

return tagObjects

```

You'd then configure 2 column objects `tagName` and `tagValue`. This will populate your table with tags from your tag provider. You can check out this thread, I think there could be a lot of useful info for you;

[Perspective table edit example, please - Ignition - Inductive Automation Forum](https://forum.inductiveautomation.com/t/perspective-table-edit-example-please/25050)

---

_[View the full topic](https://forum.inductiveautomation.com/t/script-to-generate-bindings/104816)._
