# \[FEATURE\] Allow referencing UDT Instance props targetted with relative referencing e.g. '\[.\]../.Enabled'

**URL:** <https://forum.inductiveautomation.com/t/feature-allow-referencing-udt-instance-props-targetted-with-relative-referencing-e-g-enabled/97357>\
**Category:** Ignition\
**Created:** [October 16, 2024, 11:39pm UTC](https://forum.inductiveautomation.com/t/feature-allow-referencing-udt-instance-props-targetted-with-relative-referencing-e-g-enabled/97357 "2024-10-16T23:39:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 16, 2024, 11:39pm UTC](https://forum.inductiveautomation.com/t/feature-allow-referencing-udt-instance-props-targetted-with-relative-referencing-e-g-enabled/97357/1 "2024-10-16T23:39:13Z")

</div>

It would be useful to be able to reference UDT Instance and folder props directly from a relative reference from a tag within the UDT instance / folder, e.g. on a Value Change event on a tag within a UDT, being able to use this to reference the UDT Instance's Enabled prop:  
`'[.]../.Enabled'`  
Instead, this results in  
`ValueError: Invalid path element '[.]../.Enabled': Tag properties can only occur after a tag name`

For this, you either have to name the UDT instance explicitly (`'[.]../InstanceName.Enabled'`) which isn't suitable for templating, or you have to use something like `udtInstancePath = '/'.join(tagPath.split('/')[:-1])` which is a bit of a wordful, and certainly not user-friendly for newcomers.
