# Refresh binding on custom Session Props

**URL:** <https://forum.inductiveautomation.com/t/refresh-binding-on-custom-session-props/35099>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [May 27, 2020, 7:59pm UTC](https://forum.inductiveautomation.com/t/refresh-binding-on-custom-session-props/35099 "2020-05-27T19:59:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew.gaitan](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@Matthew.gaitan](https://forum.inductiveautomation.com/u/Matthew.gaitan)\
**Post date:** [May 27, 2020, 7:59pm UTC](https://forum.inductiveautomation.com/t/refresh-binding-on-custom-session-props/35099/1 "2020-05-27T19:59:55Z")

</div>

Is it possible to refresh a binding on a custom session prop?

I’ve tried using `.refreshBinding` via a button but it didn’t work. Wondering now if it’s even possible

i’ve tried:  
`self.session.custom.refreshBinding('Parameter')` and  
`self.refreshBinding('session.custom.Parameter')` and  
`self.refreshBinding('self.session.custom.Parameter')`

Which resulted in different errors:

1. ‘com.inductiveautomation.perspective.gateway.script’ object has no attribute ‘refreshBinding’
2. Invalid property key - no scope defined: session.custom.Parameter
3. Invalid property key - no scope defined: self.session.custom.Parameter

Has anyone successfully done this?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 27, 2020, 8:31pm UTC](https://forum.inductiveautomation.com/t/refresh-binding-on-custom-session-props/35099/2 "2020-05-27T20:31:52Z")

</div>

`self.session.refreshBinding("custom.Parameter")` perhaps?

---

<div class="post-metadata">

**Author:** ![Matthew.gaitan](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@Matthew.gaitan](https://forum.inductiveautomation.com/u/Matthew.gaitan)\
**Post date:** [May 27, 2020, 8:55pm UTC](https://forum.inductiveautomation.com/t/refresh-binding-on-custom-session-props/35099/3 "2020-05-27T20:55:37Z")

</div>

Doh! That was too easy 😅

Thank you

---

<div class="post-metadata">

**Author:** ![Lalillo1](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@Lalillo1](https://forum.inductiveautomation.com/u/Lalillo1)\
**Post date:** [December 1, 2022, 7:15pm UTC](https://forum.inductiveautomation.com/t/refresh-binding-on-custom-session-props/35099/4 "2022-12-01T19:15:38Z")

</div>

How do I increase the rate for self-refreshing?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 1, 2022, 8:05pm UTC](https://forum.inductiveautomation.com/t/refresh-binding-on-custom-session-props/35099/5 "2022-12-01T20:05:03Z")

</div>

That's not a question that makes sense.

If it's a polling binding, you can change the poll rate at the binding level.  
`refreshBinding` is for a _demand_ poll. If you want it to happen more often...call `refreshBinding` more often.

---

<div class="post-metadata">

**Author:** ![saqib.shafin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/saqib.shafin/32/67615_2.png) [@saqib.shafin](https://forum.inductiveautomation.com/u/saqib.shafin)\
**Post date:** [July 1, 2025, 5:06pm UTC](https://forum.inductiveautomation.com/t/refresh-binding-on-custom-session-props/35099/7 "2025-07-01T17:06:50Z")

</div>

Just in case, if the custom props is located in the same view the Button is, then use:

```python
self.view.refreshBinding("custom.Parameter")

```

In my case, I was getting the error "No Scope defined". "view" was the scope in my case.
