Translations of this page:

User Tools

Site Tools



In a database, data of students and teachers can be stored in a structured and systematically efficient way. Content with associated data is stored in a similar way to a table. Databases allow systematic searching and the assignment and classification of files, data and content.

Examples for Moodle databases

  • Collaborate to create a digital archive or collection of diverse materials (e.g., literature or image collection).
  • Offer participants an upload option (in addition to the Forum, the Glossary or the Activity "Task")
  • Have images, photos, logos, text, websites, etc. commented.

Create database

Step 1: Create a new database \

Switch on editing > Add material/activity > Database

You will get to a form with setting options for the database. Give your database a name and describe the content. The other settings can be kept for now.

Step 2: Apply templates

You can configure the data fields yourself.
The input mask, the list view and the single view can look clearer and more attractive if they are designed with HTML.
It is easier to take a ready-made template with fields and designed interface from templates that other Moodle users have created. Click on the “Template Sets” tab and select a template in the “Import” section.
You will find templates for an image gallery and a literature database as well as a variety of templates provided by your colleagues.
Instructions on how to create your own templates can be found in the general Moodle documentation Creating a database:

Step 3: Filling the database.

After you have created the database, click on the “Add Entry” tab.

Export database entries

If you want to reuse the database content in another course or share it with other users, you can export the database entries to a file.

Export database entries:

en/moodle/activities/database/start.txt · Last modified: 2022/11/15 13:17 by helmke