# Dropdown selection

**URL:** <https://forum.inductiveautomation.com/t/dropdown-selection/103342>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [March 6, 2025, 5:31pm UTC](https://forum.inductiveautomation.com/t/dropdown-selection/103342 "2025-03-06T17:31:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brad\_Mills](https://avatars.discourse-cdn.com/v4/letter/b/4da419/32.png) [@Brad\_Mills](https://forum.inductiveautomation.com/u/Brad_Mills)\
**Post date:** [March 6, 2025, 5:31pm UTC](https://forum.inductiveautomation.com/t/dropdown-selection/103342/1 "2025-03-06T17:31:42Z")

</div>

Select specific dropdown selection based on what host opens it.  
This is the script I have and what error I am getting.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/d/dda73107b6ffab365ed8e0d69852012a8c725e0f.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/8/b81cf12ebdf57743fc34c3d490b8b0651ce50bfa.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 6, 2025, 5:34pm UTC](https://forum.inductiveautomation.com/t/dropdown-selection/103342/2 "2025-03-06T17:34:46Z")

</div>

In Vision, window parameters are delivered to same-named custom properties of the window's root container. **Case-sensitive**. You either do not have the custom property, or you have a typo of some kind. You cannot deliver anything directly to a component in that window. Your dropdown component will need a property binding to a root container custom property.

---

<div class="post-metadata">

**Author:** ![Brad\_Mills](https://avatars.discourse-cdn.com/v4/letter/b/4da419/32.png) [@Brad\_Mills](https://forum.inductiveautomation.com/u/Brad_Mills)\
**Post date:** [March 6, 2025, 10:04pm UTC](https://forum.inductiveautomation.com/t/dropdown-selection/103342/3 "2025-03-06T22:04:39Z")

</div>

I added the custom property, but it is still not writing in the correct data.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 6, 2025, 10:06pm UTC](https://forum.inductiveautomation.com/t/dropdown-selection/103342/4 "2025-03-06T22:06:19Z")

</div>

Did you add a property binding from your dropdown component's `selectedValue` property to the window's root container `.Dropdown` custom property? (Or whatever you named it.)

Show your work.

---

<div class="post-metadata">

**Author:** ![Brad\_Mills](https://avatars.discourse-cdn.com/v4/letter/b/4da419/32.png) [@Brad\_Mills](https://forum.inductiveautomation.com/u/Brad_Mills)\
**Post date:** [March 6, 2025, 10:19pm UTC](https://forum.inductiveautomation.com/t/dropdown-selection/103342/5 "2025-03-06T22:19:40Z")

</div>

It bound to a tag now that reads info from a dataset.

---

<div class="post-metadata">

**Author:** ![Brad\_Mills](https://avatars.discourse-cdn.com/v4/letter/b/4da419/32.png) [@Brad\_Mills](https://forum.inductiveautomation.com/u/Brad_Mills)\
**Post date:** [March 6, 2025, 10:23pm UTC](https://forum.inductiveautomation.com/t/dropdown-selection/103342/6 "2025-03-06T22:23:20Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/1/11a12868c1687d0552be22188d5ca6e5712d6ac5.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/2/52849c2c4d411f29d73364d0f46ef70a6bce8b02.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 6, 2025, 10:37pm UTC](https://forum.inductiveautomation.com/t/dropdown-selection/103342/7 "2025-03-06T22:37:59Z")

</div>

Get rid of the binding on Selected Label. Make sure the binding for selected string value points at the root container custom property that is your parameter.

Do not bind the root container custom property to anything. It is supposed to only get a value from the `.openWindow()` parameters.

---

<div class="post-metadata">

**Author:** ![Brad\_Mills](https://avatars.discourse-cdn.com/v4/letter/b/4da419/32.png) [@Brad\_Mills](https://forum.inductiveautomation.com/u/Brad_Mills)\
**Post date:** [March 6, 2025, 10:48pm UTC](https://forum.inductiveautomation.com/t/dropdown-selection/103342/8 "2025-03-06T22:48:56Z")

</div>

That was it, thanks for your help
