Course upload settings
  • 21 Jun 2022
  • 1 minute to read

Course upload settings


Article Summary

When uploading one or more courses to your site, the settings below will appear after you click the Preview button.

Import options 

To prevent unexpected behaviour, you have to specify what you want the tool to be able to do.

SettingDescriptionNotes

Upload mode

This allows you to specify if courses can be created and/or updated.

-

Update mode

If you allow courses to be updated, you also have to tell the tool what to update the courses with.

-

Allow deletes

Whether the delete field is accepted or not.

-

Allow renames

Whether the rename field is accepted or not.

-

Allow resets

Whether the reset field is accepted or not.

-

Course process 

This allows you to specify actions to be taken for every course uploaded.

SettingDescriptionNotes

Shortname template

If you are creating courses without a shortname, you can use this field to automatically generate a shortname. This field accepts two placeholders: %i for the ID number, %f for the summary.

-

Restore file

A backup file (.mbz) to import in the course after create/update. This means the full path to your course, for example /home/yourtotara/public_html/totara27/transfert/backup.mbz. If you are unsure of this, look at include_path in Quick-access menu > Server > PHP info. 

-

Restore from course

The shortname of a course to import content from after create/update.

-

Reset after upload

Whether to reset the course after creating/updating it.

-

Default course values 

These are values that can be set in the web interface for all the fields that are not specified in the CSV file. Note that they are always used when creating a course, but only when specified during the update.

Increasing speed

When importing the content of a backup file, or another course, you are advised to enable the setting keeptempdirectoriesonbackup. This will considerably speed up the process of the upload if you are importing multiple times from the same source.



Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.