# UDT Expression Reference Error

**URL:** <https://forum.inductiveautomation.com/t/udt-expression-reference-error/6799>\
**Category:** Ignition\
**Created:** [July 1, 2013, 3:43pm UTC](https://forum.inductiveautomation.com/t/udt-expression-reference-error/6799 "2013-07-01T15:43:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pat](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@Pat](https://forum.inductiveautomation.com/u/Pat)\
**Post date:** [July 1, 2013, 3:43pm UTC](https://forum.inductiveautomation.com/t/udt-expression-reference-error/6799/1 "2013-07-01T15:43:54Z")

</div>

Using the Insert Tag button on an expression tag from within a UDT to insert a tag from the UDT causes a REFERENCE\_NOT\_FOUND error using Ignition 7.6.2-rc4.

The inserted reference {[~]BP1/Switch/RemoteAuto} does not work, I manually changed the reference to how it looked in older versions of Ignition and this works {[.]…/Switch/RemoteAuto}.

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [July 1, 2013, 10:59pm UTC](https://forum.inductiveautomation.com/t/udt-expression-reference-error/6799/2 "2013-07-01T22:59:47Z")

</div>

Hi,

What is the structure of the udt? I tried a few different scenarios, but couldn’t get it to give me the “[~]” root. I happen to be running rc5, so maybe it’s already been fixed, but I could also simply be missing some nuance in the structure of the tags or something.

Regards,

---

<div class="post-metadata">

**Author:** ![Pat](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@Pat](https://forum.inductiveautomation.com/u/Pat)\
**Post date:** [July 3, 2013, 5:37pm UTC](https://forum.inductiveautomation.com/t/udt-expression-reference-error/6799/3 "2013-07-03T17:37:39Z")

</div>

I did some playing around, and it seems that it only affects UDT datatypes that were created prior to version 7.6.2. Running 7.6.2-rc5, if I create a new UDT datatype and tag I don’t get the problem, if I am using a UDT datatype created before 7.6.2 then I have the problem.

---

<div class="post-metadata">

**Author:** ![Kraenbring](https://avatars.discourse-cdn.com/v4/letter/k/f4b2a3/32.png) [@Kraenbring](https://forum.inductiveautomation.com/u/Kraenbring)\
**Post date:** [May 10, 2016, 6:06pm UTC](https://forum.inductiveautomation.com/t/udt-expression-reference-error/6799/4 "2016-05-10T18:06:20Z")

</div>

FYI, this issue is still alive and well in 7.8.2

I have a UDT with an expression tag that I needed to override.  
I had to use this:  
{[.]ForceOff}  
instead of:  
{{[~]TCV105107/Status/ForceOff}

TCV105107 is the name of my UDT instance.

When using “Insert Tag” to build my expression, it puts in the “~”, when it should be using the “.”
