# Access bindded UDT's meta data (tag path) in embedded view

**URL:** <https://forum.inductiveautomation.com/t/access-bindded-udts-meta-data-tag-path-in-embedded-view/30807>\
**Category:** Ignition Early Access\
**Created:** [December 18, 2019, 6:35pm UTC](https://forum.inductiveautomation.com/t/access-bindded-udts-meta-data-tag-path-in-embedded-view/30807 "2019-12-18T18:35:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [December 18, 2019, 6:35pm UTC](https://forum.inductiveautomation.com/t/access-bindded-udts-meta-data-tag-path-in-embedded-view/30807/1 "2019-12-18T18:35:41Z")

</div>

Hello  
Like vision that we can access UDT custom properties Meta data like tag path in template how we can do the same thing in perspective embedded view?  
I mean when I bind UDT to param of view how I can get the tag path of that UDT in view?  
I don’t want to pass UDT tagpath as string into param of view. I want user drag and drop and bind UDT to my template in perspective.  
The problem is if my template open popup view in it, i don’t know how to pass UDT to it.

---

<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:** [December 18, 2019, 10:48pm UTC](https://forum.inductiveautomation.com/t/access-bindded-udts-meta-data-tag-path-in-embedded-view/30807/2 "2019-12-18T22:48:55Z")

</div>

Not an answer to your question, but…  
Ever since I started using Ignition and became aware through experience of the limitations of using UDT-type parameters, I’ve stayed away from using them like the plague… Despite the benefit you get from being able to drag/drop UDT instances to create your graphics, I find their numerous limitations prohibitive 🤷‍♂️  
Are you _ **sure** _ you don’t want to pass a tagpath? 🙂

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [December 19, 2019, 11:58am UTC](https://forum.inductiveautomation.com/t/access-bindded-udts-meta-data-tag-path-in-embedded-view/30807/3 "2019-12-19T11:58:06Z")

</div>

Yes, Until now I use tagPath. But in vision binding UDT has tagpath as meta data in template so it solve all of our problem.  
But really I can’t figure it out how dropConfig-\>udts\_\>action: bind, will work.  
There is no example, even university has video for action:tagPath NOT bind.

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [March 27, 2020, 11:36am UTC](https://forum.inductiveautomation.com/t/access-bindded-udts-meta-data-tag-path-in-embedded-view/30807/4 "2020-03-27T11:36:34Z")

</div>

Hi nader.chinichian, have you found a solution for action: bind ? I have the same issue with perspective…

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [March 27, 2020, 1:19pm UTC](https://forum.inductiveautomation.com/t/access-bindded-udts-meta-data-tag-path-in-embedded-view/30807/5 "2020-03-27T13:19:26Z")

</div>

Hi  
No and I have to use tag path for accessing all meta data.  
It is not an easy as binding but it works perfectly with any bug.

---

<div class="post-metadata">

**Author:** ![luc.martin](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@luc.martin](https://forum.inductiveautomation.com/u/luc.martin)\
**Post date:** [March 27, 2020, 3:46pm UTC](https://forum.inductiveautomation.com/t/access-bindded-udts-meta-data-tag-path-in-embedded-view/30807/6 "2020-03-27T15:46:51Z")

</div>

I found a way to use bindded UDT’s, for me it works well.

First I build a function to get value i want

def GetUdtValue(data, strKey):  
for i in range(len(list(data))):  
if list(data)[i] == strKey:  
return data[list(data)[i]]  
try:  
return GetUdtValue(data[list(data)[i]], strKey)  
except:  
pass

And on my control…

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4dc3e1dcc5a6a5e39c4409256eae30dbc540d801.png)
