# Is there any way to refresh a tag bindings on a custom property

**URL:** <https://forum.inductiveautomation.com/t/is-there-any-way-to-refresh-a-tag-bindings-on-a-custom-property/75381>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 22, 2023, 9:15am UTC](https://forum.inductiveautomation.com/t/is-there-any-way-to-refresh-a-tag-bindings-on-a-custom-property/75381 "2023-06-22T09:15:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcg](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@marcg](https://forum.inductiveautomation.com/u/marcg)\
**Post date:** [June 22, 2023, 9:15am UTC](https://forum.inductiveautomation.com/t/is-there-any-way-to-refresh-a-tag-bindings-on-a-custom-property/75381/1 "2023-06-22T09:15:50Z")

</div>

I want to refresh a tag bindings on a custom property on my perspective, is there any way to do it?

found out that refreshbindings only works on query or taghistory bindings

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/d/9dc1845792769584238746a2fbf8a6a7e06fe6b6.png)

---

<div class="post-metadata">

**Author:** ![jonathan.taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jonathan.taylor/32/4048_2.png) [@jonathan.taylor](https://forum.inductiveautomation.com/u/jonathan.taylor)\
**Post date:** [June 22, 2023, 9:24am UTC](https://forum.inductiveautomation.com/t/is-there-any-way-to-refresh-a-tag-bindings-on-a-custom-property/75381/2 "2023-06-22T09:24:17Z")

</div>

```auto
path.to.component.refreshBinding("custom.nameOfCustomProperty")

```

---

<div class="post-metadata">

**Author:** ![marcg](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@marcg](https://forum.inductiveautomation.com/u/marcg)\
**Post date:** [June 22, 2023, 9:25am UTC](https://forum.inductiveautomation.com/t/is-there-any-way-to-refresh-a-tag-bindings-on-a-custom-property/75381/3 "2023-06-22T09:25:19Z")

</div>

i tried it already, using message handler.

its working on expression, query, taghistory bindings but not for tags

---

<div class="post-metadata">

**Author:** ![jonathan.taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jonathan.taylor/32/4048_2.png) [@jonathan.taylor](https://forum.inductiveautomation.com/u/jonathan.taylor)\
**Post date:** [June 22, 2023, 9:29am UTC](https://forum.inductiveautomation.com/t/is-there-any-way-to-refresh-a-tag-bindings-on-a-custom-property/75381/4 "2023-06-22T09:29:03Z")

</div>

I should have read more what you were trying to do.

Tags will already refresh themselves when the value changes. Are you trying to refresh a transform based on that value even if it hasn't changed?

---

<div class="post-metadata">

**Author:** ![marcg](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@marcg](https://forum.inductiveautomation.com/u/marcg)\
**Post date:** [June 22, 2023, 9:31am UTC](https://forum.inductiveautomation.com/t/is-there-any-way-to-refresh-a-tag-bindings-on-a-custom-property/75381/5 "2023-06-22T09:31:55Z")

</div>

Theres a input field bind to a custom property(bi-directional) then the custom property bind to a tag (but not bi directional), if the user want to cancel the changes, i want to refresh the custom property binding (which is tags) so it will refresh the original value of the tag

---

<div class="post-metadata">

**Author:** ![jonathan.taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jonathan.taylor/32/4048_2.png) [@jonathan.taylor](https://forum.inductiveautomation.com/u/jonathan.taylor)\
**Post date:** [June 22, 2023, 9:37am UTC](https://forum.inductiveautomation.com/t/is-there-any-way-to-refresh-a-tag-bindings-on-a-custom-property/75381/6 "2023-06-22T09:37:52Z")

</div>

Just so I'm understanding correctly, is there one custom property in total here that you're writing the value from the input field which is then being put into the tag? or are there two custom properites, one for the input and one for the tag?

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [June 22, 2023, 10:42am UTC](https://forum.inductiveautomation.com/t/is-there-any-way-to-refresh-a-tag-bindings-on-a-custom-property/75381/7 "2023-06-22T10:42:45Z")

</div>

refresh the binding on the input field, not on the custom property.
