# UDT to power table

**URL:** <https://forum.inductiveautomation.com/t/udt-to-power-table/33028>\
**Category:** Ignition\
**Created:** [March 11, 2020, 9:29pm UTC](https://forum.inductiveautomation.com/t/udt-to-power-table/33028 "2020-03-11T21:29:34Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![john.eichler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/john.eichler/32/24632_2.png) [@john.eichler](https://forum.inductiveautomation.com/u/john.eichler)\
**Post date:** [March 13, 2020, 1:28am UTC](https://forum.inductiveautomation.com/t/udt-to-power-table/33028/9 "2020-03-13T01:28:18Z")

</div>

Hi again.

Although this works, I’d like to further refine the functionality.

Using Jordan’s code from above I now have a dataset of tag paths.

1. How can I use these tag paths to populate a power table so I don’t need to keep running the script to refresh my data?
2. How do I trigger the script to run when a template is loaded? I’ve looked at several forum posts such as [Template load event?](http://forum.inductiveautomation.com/t/template-load-event/16237/4) but when I add this to PropertyChange, ignition throws an error upon saving.

---

_[View the full topic](https://forum.inductiveautomation.com/t/udt-to-power-table/33028)._
