Dataset

database

Add Data To Your App

Go to Data > Datasets.

There are several options available when creating a dataset. In this case we will create a basic dataset manually, which will contain a list of household chores for our housekeeping app.

Create a dataset and structure

First we create the dataset.

  1. Click Create in the top right corner

  2. Click Create Dataset Manually

  3. Give the dataset the name chores

We are going to need two columns of data:

  1. Chore name

  2. Details about the chore

Now we create the data structure.

  1. Enter a name in the Column Name field (e.g. task)

  2. Select Text in the type drop down list

  3. Click Add Column

  4. Write Column Name field (e.g. description)

  5. Select Text in the type drop down list

These options aren’t used:
a. Create a List View (we already created the view)
b. List State (not using the state in this case)
  1. Click Add Dataset to save save the structure and data

The structure is now done.

Create dataset content

Time to add data to the dataset

  1. Click Add Item in the top right corner

  2. Enter Laundry in the task field

  3. Enter Sunday is always laundry day in the description field

  4. Click Save

Repeat the steps 1-4 to add more tasks and descriptions to the dataset, for instance:

Task Description

Garbage

Take out the garbage

Dishes

Do the dishes after dinner

Vacuum

Don’t forget the storage room

Connect the Dataset With a View

Go to Views

  1. Select second_view

  2. Open View Properties

  3. Find to Inputs

  4. Click New Input

  5. Select the dataset column name to display in the input

  6. Select type Text

  7. Click Add

  8. Select the text display on the canvas

  9. Open the Component Properties tab

  10. Find the Data section

  11. Enter ${task} in the field Text

This instructs the text display to get it’s content from the input called task.

We now have created an input from where text from the dataset will be displayed in the text display component.