# Getting Bound Tag path

**URL:** <https://forum.inductiveautomation.com/t/getting-bound-tag-path/18525>\
**Category:** Ignition\
**Tags:** ignition79, scripting\
**Created:** [June 19, 2018, 8:29am UTC](https://forum.inductiveautomation.com/t/getting-bound-tag-path/18525 "2018-06-19T08:29:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [June 19, 2018, 8:29am UTC](https://forum.inductiveautomation.com/t/getting-bound-tag-path/18525/1 "2018-06-19T08:29:57Z")

</div>

I’ve bound the `doubleValue` property of a **Numeric Text Field** to a tag. On the same component I’ve programmed a script on the `popertyChange` event where I need to get the path of the tag I bound to. Is that possible?

Thanks in advance, regards

---

<div class="post-metadata">

**Author:** ![brandon1](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@brandon1](https://forum.inductiveautomation.com/u/brandon1)\
**Post date:** [June 19, 2018, 12:07pm UTC](https://forum.inductiveautomation.com/t/getting-bound-tag-path/18525/2 "2018-06-19T12:07:59Z")

</div>

Take a look at the following post:

> [@Bound Tag Path from Display Component in Script](http://forum.inductiveautomation.com/t/binded-tag-path-from-display-component-in-script/9675):
>
> Hi, I am quite stumped on this and don't know if it's even possible, but any help will be greatly appreciated. I have a display component on my window, a numeric label. I have the number label binded to a tag - lets call it tag\testtag. The value of testtag is 110. In a script, I am trying to pull the tag and/or the tag path binded to my numeric label such that when a particular event is fired I am able to dislpay what the numeric label is binded too..... Any help on this would be fantasti…

By the way. This is all unsupported by Ignition so it may not work in future versions.

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [June 19, 2018, 2:19pm UTC](https://forum.inductiveautomation.com/t/getting-bound-tag-path/18525/3 "2018-06-19T14:19:59Z")

</div>

You could do this much more simply by creating a custom property on the numeric text field and putting the tag path in it. You would then display the value of that tag in the control by binding the doubleValue property to the tag path using an indirect tag binding.

For example, for a control called _Numeric Text Field_ with the tag path in a custom property _tag_, the indirect tag binding on the _doubleValue_ property would be _Root Container.Numeric Text Field.tag_.

The tag path is then also available in any other script via the custom property.
