Installing datasets

What are datasets?

Every new application starts empty. There is no data, just a database with the right structure. Often it would be very usefull to have data to start with.

Note: there is general data and customer specific data. We create datapackages called Datasets for the different kinds of general data.

Examples

We have a postal code check in the addresses. If you fill in a postal code and a house number, there is a button that finds the corresponding street and town. In order for this functionality to work, we need a table with the postal codes. This table is a dataset which we can install.

Other examples of datasets are the lists of countries and languages. This is general data, so you don’t want to type in the same list everytime you add a new application.

More examples are in the post Using Datasets in Deployment: Transferring configuration data between DTAP instances

Installing datasets

Go to Dep

loyment > Find your instance in Instances > Go to the Installations grid and add a new installation.
Fill in the following information.

  1. Select the type Data;
  2. Make sure the model and instance are according to the instance you want to install the dataset to;
  3. You can check Autostart in installer to automatically start the installation workflow [Installer]Installation and Update of Package;

Click “Save” > you will see the Datasets form.

image

You can add the datasets manually or use the subscriptionbutton > here is described how to do it:

By default " Allowed dataset version" filters only approved dataset versions. N/A means you can add any nondepricated version…

To add them manually:

  • select a template or select a dataset,
  • SAVE,
  • press the add button

image

The selected datasets will appear in the grid:

After adding the dataset, you can Start workflow to start the installation:

When the message (1) appears > finish the installation in the installer (2):