Auto-configure a dataset
Building the schema, mapping and dataset by hand gives you full control. When you just want the columns of a data source available in a template, Auto-configure dataset does all three steps for you.
Steps
- Open the data source and make sure the grid has columns — import a file or type them in.
- Click Auto-configure dataset. The source and its grid are saved first, so unsaved changes are included.
- A summary shows the Schema, Mapping and Dataset that were created, plus the number of columns and rows.
- Click Go to dataset to open it, or Close to stay on the source.
What gets created
The first time you run it on a source:
- A List schema named after the data source, with one Text field per column. Field names are the column names in lowercase, with spaces and special characters replaced by
_(Full Name→full_name). - A mapping named "source name mapping" that binds every column to its field.
- A mapped dataset named after the data source, already refreshed with the current rows.
Running it again
If the source already has a mapping, nothing new is created. Instead, every dataset that uses that mapping is refreshed from the current data. This is a quick way to push new data through after an import.
New columns added to the source later are not added to the schema automatically. Add the field to the schema and bind it in the mapping yourself.
Afterwards
Everything that was created is ordinary data you can edit:
- Change field types (for example Text → Number or Image) in the schema.
- Rename the schema and dataset to something an operator understands.
- Add filters, sort and a row limit to the dataset.
If no columns are defined, you get the message "No columns defined. Upload a file first."