# Can a Data App input field allow selection from a list or database query?

**URL:** <https://forum.cloverdx.com/t/can-a-data-app-input-field-allow-selection-from-a-list-or-database-query/3234>\
**Category:** Resolved Cases\
**Created:** [March 27, 2025, 8:36am UTC](https://forum.cloverdx.com/t/can-a-data-app-input-field-allow-selection-from-a-list-or-database-query/3234 "2025-03-27T08:36:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CloverDX\_team](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.cloverdx.com/cloverdx_team/32/191_2.png) [@CloverDX\_team](https://forum.cloverdx.com/u/CloverDX_team)\
**Post date:** [March 27, 2025, 8:36am UTC](https://forum.cloverdx.com/t/can-a-data-app-input-field-allow-selection-from-a-list-or-database-query/3234/1 "2025-03-27T08:36:07Z")

</div>

I’m working on a Data App where I need the user to select a file from a remote SFTP server. I can retrieve the list of files and store it in a list or database table. Is there a way to configure an input field in the Data App to display those entries and allow the user to select one?

---

<div class="post-metadata">

**Author:** ![CloverDX\_team](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.cloverdx.com/cloverdx_team/32/191_2.png) [@CloverDX\_team](https://forum.cloverdx.com/u/CloverDX_team)\
**Post date:** [March 27, 2025, 9:07am UTC](https://forum.cloverdx.com/t/can-a-data-app-input-field-allow-selection-from-a-list-or-database-query/3234/2 "2025-03-27T09:07:16Z")

</div>

Yes, this is supported using the **“Dynamic Values”** option for input parameters in your Data App.

With this approach, one data service can dynamically generate a list of values — for example, scanning a database or file system — and pass those values to the input of the other data service. This allows the input field to present a dropdown or selection list populated in real-time based on the current data.

In your case, you can have a data service that queries the SFTP server (or a related database table) for available files, and the user can then select one of those files directly in the Data App.

We’ve included a sandbox example to demonstrate this setup:

- Be sure to publish both data services
- Enable the Data App for `mainExample`, which illustrates this dynamic behavior

[DataAppExample.zip](https://forum.cloverdx.com/uploads/short-url/5qouUMm9K2fzw3DTGet70rF0f6d.zip) (75.4 KB)

For more information on dynamic values in Data Services, see [Endpoint configuration](https://doc.cloverdx.com/latest/developer/data-service.html#id_data_service_editor_endpoint_configuration).
