> For the complete documentation index, see [llms.txt](https://docs.servoy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.servoy.com/reference/servoy-developer/object-editors/datasource-selection-wizard.md).

# Datasource Selection Wizard

Reference documentation for the Datasource Selection Wizard

## Overview

The **Datasource Selection Wizard** is used in multiple places to allow selecting the table where the data is coming from which can be a [Database Table](/reference/servoycore/object-model/database-server/table.md), a [Database View](/reference/servoycore/object-model/database-server/view.md), an [In-Memory Table](/reference/servoycore/object-model/solution/in-memory-data-source.md), or a [View Foundset](/reference/servoycore/dev-api/database-manager/viewfoundset.md).

<figure><img src="https://3933488479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpWd52BKwABWxF2lScUK%2Fuploads%2Fgit-blob-f53d9b5537e5dacc201a96d7b05958cfd756ffaf%2Fimage.png?alt=media" alt="Datasource Selection Wizard"><figcaption><p>Datasource Selection Wizard</p></figcaption></figure>

Anywhere with a `datasource` property or where a table is needed as a source will have the option to launch this wizard, some examples are:

* [Forms](/reference/servoycore/dev-api/solutionmodel/jsform.md), to indicate the table that will be shown in the form
* [Relations](/reference/servoycore/dev-api/solutionmodel/jsrelation.md), to indicate the Source and Destination tables related together
* [Data Grid](/reference/servoyextensions/ui-components/grids/data-grid.md), to indicate what table will be displayed in the grid when a separate Foundset is used
* [Valuelists](/reference/servoycore/dev-api/solutionmodel/jsvaluelist.md), to indicate where the underlying values will be taken from when the type is `Table Values`

## Sections

### Filter

This is the text box at the top of the wizard, it allows searching any table name in the multiple databases shown, In-Memory table, or View Foundset.

### Available Tables

It shows the list of tables available to use grouped by database. In-Memory and View Foundset tables are in their own group as well.

<figure><img src="https://3933488479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpWd52BKwABWxF2lScUK%2Fuploads%2Fgit-blob-ca2e871edf782ae8a91b79de59ad1b067f341d73%2Fimage.png?alt=media" alt="Datasource Selection Wizard Filtering Orders"><figcaption><p>Filter only tables that start with "order"</p></figcaption></figure>

<figure><img src="https://3933488479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpWd52BKwABWxF2lScUK%2Fuploads%2Fgit-blob-a46334c06b7c99a04ad28c3a124aaef3393ea4e6%2Fimage.png?alt=media" alt="Datasource Selection Wizard Filtering Orders"><figcaption><p>Filter tables that contains "order"</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.servoy.com/reference/servoy-developer/object-editors/datasource-selection-wizard.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
