Totara Learn Open Discussions

Copy/restore multiple courses

 
Markus Huneke
Copy/restore multiple courses
by Markus Huneke - Tuesday, 15 October 2024, 2:54 AM
 

Hi Forum,

We are just starting to use Totara. There is a problem for which I can't find a good solution right away: We want/need to provide a set of several courses (approx. 20) individually for several clients (approx. 25) in Totara. I have created the courses once and would now like to copy them and make them available to all clients. There is no ‘simple’ copy function in Totara, it works by backing up and restoring courses. That is a lot of clicking.

My question: What ways are there to make copying multiple courses easier or perhaps even automate it?

As far as I see, there are the following options:

Uploading multiple courses via CSV:

But it looks like you can only create the ‘shells’ of the courses, not the content? It is also not entirely clear to me which paths have to be specified in the CSV so that a backup file is used. (I already had a post about this here: https://totara.community/mod/forum/discuss.php?d=27761)

I am currently in the process of mapping this task using a script (Selenium Browser Automation). This could work, but is some development work for the script and may be unstable.

Is it possible to create/restore/update courses via API?

I would be very grateful for help with this.

Markus

Stewart Fulton
Re: Copy/restore multiple courses
by Stewart Fulton - Tuesday, 15 October 2024, 2:29 PM
Group Good learner 2023Group Partners

Hi Markus

During the course upload process you can enter the shortname of the course you want to use as a template
It will then create your 25 courses with the new names but with the contents of the indicated course.

(it may create them with the default blocks, not the blocks you have set in your first course?)

https://totara.help/18/docs/course-upload-settings

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

Cheers,

Stewart

Markus Huneke
Re: Copy/restore multiple courses
by Markus Huneke - Thursday, 17 October 2024, 5:46 AM
 

Hi Stewart,

thanks - I tried this with some minimal settings and I was able to import some different courses. The course preview images for the catalog are still missing, but that's bearable. I had seen the help page for the uploads, but didn't realize that I could use the short name to import different courses. Great, saves me a lot of clicking :).

Best regards,

Markus