# Popups In Perspective

**URL:** <https://forum.inductiveautomation.com/t/popups-in-perspective/51640>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [October 5, 2021, 11:11pm UTC](https://forum.inductiveautomation.com/t/popups-in-perspective/51640 "2021-10-05T23:11:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![steven.gyllich](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@steven.gyllich](https://forum.inductiveautomation.com/u/steven.gyllich)\
**Post date:** [October 5, 2021, 11:11pm UTC](https://forum.inductiveautomation.com/t/popups-in-perspective/51640/1 "2021-10-05T23:11:35Z")

</div>

I am trying to create a motor popup in perspective. I have the motor popup view created, with a UDT param defined. I have created property bindings to the UDT param for each item in the view. Now how do I open that motor popup view from a button on my main screen and pass UDT tag to the popup? I have created the Popup action on the “onClick” event and added the property to the Parameters list but I cannot seem to get a value for that property.

I have tried creating a Custom property on the button and binding it to my UDT tag but that does not seem to work. I have also tried creating a new property (PROP) on the button and binding it to my UDT tag but that does not seem to work.

What am I missing here?

---

<div class="post-metadata">

**Author:** ![zacht](https://avatars.discourse-cdn.com/v4/letter/z/ea5d25/32.png) [@zacht](https://forum.inductiveautomation.com/u/zacht)\
**Post date:** [October 5, 2021, 11:31pm UTC](https://forum.inductiveautomation.com/t/popups-in-perspective/51640/2 "2021-10-05T23:31:02Z")

</div>

I don't know the answer to your actual question, but I know there are several users of the forum, myself included, who prefer to send the tagpath of a UDT as a string instead of the UDT instance. In this method you use indirect tag bindings (which can be bidirectional) instead of property bindings to the UDT parameter.

More info in this post.

> [@UDT parameter vs Indirect Binding in Template development](https://forum.inductiveautomation.com/t/udt-parameter-vs-indirect-binding-in-template-development/18197):
>
> In development of template for udt, it’s possible to use two different way to pass value from a instance of udt to template. You can add a parameter and select udt as type, or you can add string parameter to use to pass tag path. I would yours opinion on what is better to use in development of template UDT parameters or indirect tag. I drawn up a list with pro e cons of both UDT Parameter: Pro: one whole object with all subtags; Drag&Drop Subtags accessible as property simplicity to comb…

---

<div class="post-metadata">

**Author:** ![steven.gyllich](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@steven.gyllich](https://forum.inductiveautomation.com/u/steven.gyllich)\
**Post date:** [October 5, 2021, 11:56pm UTC](https://forum.inductiveautomation.com/t/popups-in-perspective/51640/3 "2021-10-05T23:56:24Z")

</div>

Thanks for that! Using a string path for the UDT tag and Indirect Binding worked! Not sure what I was doing wrong with the UDT and Properties binding but I have wasted enough time trying to figure it out.
