Skip to content

Course Planner: Import / Export

Products, implementations, and memberships can be exported and imported in the Course Planner via an Excel file. The import wizard validates the data at every step and shows exactly what will be created, changed, or ignored before execution .

Overview

Export and import complement manual data entry in the Course Planner: existing structures can be exported as an Excel file, edited in that file, and then imported again to create or update products, implementations, and memberships in bulk.

The following elements can be exported and imported:

  • Products
  • Implementations (elements, templates, courses, events)
  • Memberships
  • Users

The import wizard is started via the more-menu (⋮) on the Course Planner dashboard.

The Import entry in the more menu at the top right, highlighted on the Course Planner start page

To the top of the page ^


Export

Entry points

Export is available at several places in the Course Planner:

  • On the Course Planner dashboard, in the "Products", "Implementations", or "Events" area: via the more-menu or as a bulk action for several selected entries
  • On the page of a single product: as a global action, as well as in the "Implementation" tab via the more-menu or bulk action
  • On the page of a single implementation: as a global action

An export at implementation level always contains all related data including membership data, even for a bulk export of several selected implementations.

The Export action in the menu of the three dots at the end of the row, highlighted in the product list of the Course Planner

Bulk action Two selected products and the Export button above the list, highlighted in the product list of the Course Planner

Two selected implementations with the Export button above the list and the Export action in the row menu, in the list of implementations

The Export action in the row menu of an event, highlighted in the event list of the Course Planner

The Export action in the menu of the three dots at the top right, highlighted in the Members tab of an opened implementation

The file name of the exported Excel file follows the pattern "CPL_Products_\<date and time>" .

Structure of the Excel file

Depending on the export type, the exported Excel file contains up to four sheets:

  • Products: Title, Reference, ORG - Reference, Absences, Description, Creation date, Last modified
  • Implementations: one row per object (implementation, element, template, course, or event), with object type, Reference, title, status, period, as well as type-specific fields such as calendar, absences, progress, or subject. The subject path starts with the taxonomy identifier ("\<Identifier>:/\<Path>") . For events, the column "Rooms" follows the location and lists the booked rooms in the format "building reference:room reference", several rooms separated by a semicolon
  • Memberships: assignment of users to implementations with role (Participant, Coach, Master coach, Course owner, Element owner)
  • Users: Username, first name, last name, e-mail, organisation membership, account expiration

In addition, every export file contains an "Export information" sheet with URL, OpenOlat version, export language, as well as date and name of the exporting person .

Tip

For an import, it is recommended to first perform an export of the existing structure and use that file as a basis, rather than creating the file from scratch.

To the top of the page ^


Import wizard

The import button on the Course Planner dashboard is only available to users with the role "Course planner" or "Administrator".

The import wizard guides you through the review and execution of the import in five steps. If the data contains errors, the wizard cannot be completed until the affected rows are ignored .

Handling errors and warnings

Every erroneous cell is shown directly in the table with the column name and reason, for example "Reference: Value required" or "ORG - Reference: \<value> does not exist". If a row contains at least one error, it is automatically excluded from the import.

Warnings do not prevent the import but indicate possible issues, for example when a value is too long and therefore gets shortened, or when an element has already been changed since the last export.

The complete list of all error and warning codes can be found in the Import/Export: Reference.

Step 1: Select file

Upload the Excel file containing the data to be imported. The example file can be found once the import process has been started. This linked file can be downloaded there.

The Excel template link under Import example and the conditions for the file, in the Select file step of the import wizard

Important

The Excel file must meet the following conditions: the "Products" sheet must be present, all mandatory fields marked with an asterisk (*) must be filled in, identifiers must be unique across the entire system, and organisations, element types, and subjects must already exist in the system.

Step 2: Review products

The table shows all products from the Excel file with their import status: "No changes", "Modified", or "New". Predefined filters ("All", "Modified", "New", "Ignored", "With errors", "With warnings", "With changes") allow the list to be narrowed down.

If a row contains an error, it is automatically excluded from the import and highlighted. Using the "Ignored" checkbox, error-free rows can also be deliberately excluded from the import.

A product with import status New, the Ignored checkbox and the filters from All to With changes, in the Review products step of the import wizard

Step 3: Review implementations

Similar to step 2, but for the implementation structure (elements, templates, courses, events). An additional "Object type" filter allows narrowing down by kind of object .

If a parent element is ignored or contains an error, all child objects are automatically excluded from the import as well.

If the module "Events and Absences" is deactivated on the instance, events are automatically set to "Ignored" during the import .

Important

If a course is configured with the usage purpose "Standalone", administrators exceptionally see only a warning instead of an error, so that older courses not yet converted to the Course Planner can still be imported. It is recommended to only use courses with the usage purpose "Used in Course Planner" .

The error message for 38 elements and rows with error symbols, automatically marked as Ignored, in the Review implementations step of the import wizard

Step 4: Review users

The table shows all users from the Excel file with username, first and last name, e-mail, and organisation membership. Users can also only be newly created, not updated.

Important

If the "E-mail mandatory" option is not enabled on the instance, the e-mail field can be left empty .

Users with username, name, e-mail, ORG reference and account expiration, erroneous cells marked in red, in the Review users step

Step 5: Review memberships

The table shows all memberships from the Excel file with product, implementation, role, and username. Memberships can only be newly created, not updated .

Memberships with product and implementation reference, role and username, erroneous cells marked, in the Review memberships step

To the top of the page ^


Further information

Course Planner: Overview >
Course Planner: Products >
Course Planner: Implementations >
Import/Export: Reference >

To the top of the page ^