# Wicket Database Dropdown Editor

**URL:** <https://forum.inductiveautomation.com/t/wicket-database-dropdown-editor/40967>\
**Category:** Module Development\
**Tags:** database, ignition80\
**Created:** [November 25, 2020, 8:41pm UTC](https://forum.inductiveautomation.com/t/wicket-database-dropdown-editor/40967 "2020-11-25T20:41:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 25, 2020, 11:50pm UTC](https://forum.inductiveautomation.com/t/wicket-database-dropdown-editor/40967/5 "2020-11-25T23:50:38Z")

</div>

Yeah - just look up the relevant record using the ID record paired with the ReferenceField:

```auto
                DatasourceRecord dsr = context.getPersistenceInterface()
                    .find(DatasourceRecord.META, dbSettings.getLong(DatabaseJournalRecord.DatasourceId));

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/wicket-database-dropdown-editor/40967)._
