# Get binding of a component

**URL:** <https://forum.inductiveautomation.com/t/get-binding-of-a-component/4826>\
**Category:** Ignition\
**Created:** [July 16, 2012, 7:14pm UTC](https://forum.inductiveautomation.com/t/get-binding-of-a-component/4826 "2012-07-16T19:14:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomt](https://avatars.discourse-cdn.com/v4/letter/t/90ced4/32.png) [@tomt](https://forum.inductiveautomation.com/u/tomt)\
**Post date:** [July 16, 2012, 7:14pm UTC](https://forum.inductiveautomation.com/t/get-binding-of-a-component/4826/1 "2012-07-16T19:14:48Z")

</div>

Is it possible to get the current binding of say, the value attribute of a numeric label component? My thought is to replace the pointID custom property of the CTG custom components to just pull the tag path from the binding of the component.

I have screens with many components that are not driven by indirect tags, and want to CTG enable all of them without having to fill in the custom property for each of them.

---

<div class="post-metadata">

**Author:** ![dave.fogle](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@dave.fogle](https://forum.inductiveautomation.com/u/dave.fogle)\
**Post date:** [July 30, 2012, 4:57pm UTC](https://forum.inductiveautomation.com/t/get-binding-of-a-component/4826/2 "2012-07-30T16:57:56Z")

</div>

Unfortunately no. There is no way to make a call to get the binding value for a certain property. You'll have to set each of the point id properties manually.

---

<div class="post-metadata">

**Author:** ![AlexW](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@AlexW](https://forum.inductiveautomation.com/u/AlexW)\
**Post date:** [July 30, 2012, 6:43pm UTC](https://forum.inductiveautomation.com/t/get-binding-of-a-component/4826/3 "2012-07-30T18:43:38Z")

</div>

This would be a cool feature to add though.

That way you could use drag and drop bindings to properties and then extract the tag path for further use in scripting (i.e. showing a quick, script driven high speed trend)

Currently I usually have to create a custom string property containing the tag path, then use a mixture of indirect binding and scripting to obtain what I need.

---

<div class="post-metadata">

**Author:** ![Pyroelk](https://avatars.discourse-cdn.com/v4/letter/p/258eb7/32.png) [@Pyroelk](https://forum.inductiveautomation.com/u/Pyroelk)\
**Post date:** [October 13, 2022, 5:15pm UTC](https://forum.inductiveautomation.com/t/get-binding-of-a-component/4826/4 "2022-10-13T17:15:00Z")

</div>

Bump. Any chance this is possible now?

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [October 13, 2022, 11:06pm UTC](https://forum.inductiveautomation.com/t/get-binding-of-a-component/4826/5 "2022-10-13T23:06:14Z")

</div>

Wow, really resurrecting the dead here.

Use custom properties and indirect tag bindings, no need for a function to get the binding for that information.
