# Add property with dropdown

**URL:** <https://forum.inductiveautomation.com/t/add-property-with-dropdown/3449>\
**Category:** Module Development\
**Created:** [October 17, 2011, 7:13pm UTC](https://forum.inductiveautomation.com/t/add-property-with-dropdown/3449 "2011-10-17T19:13:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![denji26](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/denji26/32/5805_2.png) [@denji26](https://forum.inductiveautomation.com/u/denji26)\
**Post date:** [October 17, 2011, 7:13pm UTC](https://forum.inductiveautomation.com/t/add-property-with-dropdown/3449/1 "2011-10-17T19:13:06Z")

</div>

I want to add a property to my component that is a drop down of existing Ignition datasources. I have the list of datasources but I can’t figure out how to create a property that displays a drop down list, akin to the addEnumProp.

Also, is there somewhere the addProp, addEnumProp, etc methods are documented?

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [October 17, 2011, 9:44pm UTC](https://forum.inductiveautomation.com/t/add-property-with-dropdown/3449/2 "2011-10-17T21:44:00Z")

</div>

They _should_ be document in the javadocs, but they’re a bit thin. I’ll see about beefing those up.

So you want a String property that displays the current list of datasources in the property editor? This isn’t really supported, sorry. The string editor doesn’t look for any sort of list of options, only the integer editor.

---

<div class="post-metadata">

**Author:** ![denji26](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/denji26/32/5805_2.png) [@denji26](https://forum.inductiveautomation.com/u/denji26)\
**Post date:** [October 18, 2011, 4:36pm UTC](https://forum.inductiveautomation.com/t/add-property-with-dropdown/3449/3 "2011-10-18T16:36:33Z")

</div>

I am going to try using an enumProp for my purposes.
