# Check tag binding via Script

**URL:** <https://forum.inductiveautomation.com/t/check-tag-binding-via-script/91414>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 5, 2024, 2:15pm UTC](https://forum.inductiveautomation.com/t/check-tag-binding-via-script/91414 "2024-06-05T14:15:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pascal\_Bauer](https://avatars.discourse-cdn.com/v4/letter/p/9de053/32.png) [@Pascal\_Bauer](https://forum.inductiveautomation.com/u/Pascal_Bauer)\
**Post date:** [June 5, 2024, 2:15pm UTC](https://forum.inductiveautomation.com/t/check-tag-binding-via-script/91414/1 "2024-06-05T14:15:05Z")

</div>

Hello, is it possible to check inside of an embedded view via Script, which tag is used for a Property or Tag Binding at one of the Params of this Embedded View?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [June 5, 2024, 2:17pm UTC](https://forum.inductiveautomation.com/t/check-tag-binding-via-script/91414/2 "2024-06-05T14:17:10Z")

</div>

No, binding information is not exposed to scripting. If you're using an indirect Tag Binding, you could always compose the path externally and then use it within the indirection. Then your attempt to see which Tag is being used would just need to reference the path being stored in some property.

---

<div class="post-metadata">

**Author:** ![Pascal\_Bauer](https://avatars.discourse-cdn.com/v4/letter/p/9de053/32.png) [@Pascal\_Bauer](https://forum.inductiveautomation.com/u/Pascal_Bauer)\
**Post date:** [June 5, 2024, 2:18pm UTC](https://forum.inductiveautomation.com/t/check-tag-binding-via-script/91414/3 "2024-06-05T14:18:16Z")

</div>

Thank you, the idea is to show the connected tag as a Tooltip.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [June 5, 2024, 2:19pm UTC](https://forum.inductiveautomation.com/t/check-tag-binding-via-script/91414/4 "2024-06-05T14:19:07Z")

</div>

Right, that's very easy as long as you're storing the path to the tag within a property.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 5, 2024, 2:19pm UTC](https://forum.inductiveautomation.com/t/check-tag-binding-via-script/91414/5 "2024-06-05T14:19:48Z")

</div>

Wherever you have a view parameter to which you **think** you want to pass a tag value, stop. Pass the tag path as a string parameter instead, and use indirect binding inside the view. Then the inner view has access to all of the tag's properties, and can use bidirectional when necessary.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [June 5, 2024, 2:27pm UTC](https://forum.inductiveautomation.com/t/check-tag-binding-via-script/91414/6 "2024-06-05T14:27:09Z")

</div>

Here, my Cylindrical Tank is storing a tag Path in a custom property. The value of the tank is an Indirect Tag Binding to the custom property which stores the tag path, and the tooltip text is bound to that same custom property.

 ![Screenshot 2024-06-05 at 7.26.59 AM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/1/b1ceaf92fbe567c7b124bbc7358385dbe6474e9b.png)
