# Retrieve tagpath of value property

**URL:** <https://forum.inductiveautomation.com/t/retrieve-tagpath-of-value-property/30224>\
**Category:** Ignition\
**Tags:** ignition80, scripting\
**Created:** [November 25, 2019, 11:36pm UTC](https://forum.inductiveautomation.com/t/retrieve-tagpath-of-value-property/30224 "2019-11-25T23:36:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpavlicek](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rpavlicek/32/55868_2.png) [@rpavlicek](https://forum.inductiveautomation.com/u/rpavlicek)\
**Post date:** [November 25, 2019, 11:36pm UTC](https://forum.inductiveautomation.com/t/retrieve-tagpath-of-value-property/30224/1 "2019-11-25T23:36:03Z")

</div>

Is it possible to get the tagpath from the value property or other on a component through scripting?

We set up a click to graph feature where we select a numeric label where it uses a script to put the path (which we hard code in or use the meta data’s tagpath on template components) into a list, and when we select a button to trend all values (paths) that were selected. The last piece of making this truly dynamic is getting rid of hard coding the tag’s path in each numeric label component script.

Thanks!
