Local field mappings

In the Local field mapping settings, you answer the question, what name does the external database use for the course? In the following screenshot, you can see that you have three choices:

In Moodle, every course has an ID. The front page of your Moodle site is always course number 1. The next course that you create is course number 2 and so on. In your external database, you can use this ID to specify your courses. However, I recommend against using the ID in an external database; let me explain why.

Suppose you install a new version of Moodle. Then, you export your courses out of your old Moodle installation. Now, suppose ...

Get Moodle 3 E-Learning Course Development - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.