# Binding to Custom Component Methods

**URL:** <https://forum.inductiveautomation.com/t/binding-to-custom-component-methods/19245>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [August 14, 2018, 4:58pm UTC](https://forum.inductiveautomation.com/t/binding-to-custom-component-methods/19245 "2018-08-14T16:58:24Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Ahiero](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@Ahiero](https://forum.inductiveautomation.com/u/Ahiero)\
**Post date:** [August 16, 2018, 1:52pm UTC](https://forum.inductiveautomation.com/t/binding-to-custom-component-methods/19245/12 "2018-08-16T13:52:08Z")

</div>

Thanks for the tips. I also need some parameters that are on the UDT tag for some calculations. Currently, I use a script that extracts the `ExtendedProperties` as follows:

> `path = "%s.ExtendedProperties" % udtPath`  
> `props = system.tag.read(path)`  
> `if props.value is not None:`  
> `for prop in props.value:`  
> `if prop.getProperty().name.lower() == parameterName.lower():`  
> `return prop.value`  
> `break`

Anyone know how I can get these directly from indirect binding? The only idea I can think of is to get all of them in a dataset custom parameter and then reference it when needed.

Also, what is the syntax to indent my code in a code block?

---

_[View the full topic](https://forum.inductiveautomation.com/t/binding-to-custom-component-methods/19245)._
