View source: R/refresh_blueprint_courses_after_course_copy.R
refresh_blueprint_course_after_course_copy | R Documentation |
This function refreshes courses after course copy of blueprint content. After course copy, blueprint associations with new created courses will not exist. However, the course content is copied. Associating the newly created courses again with the blueprint will results in duplicated course pages and faulty internal course links. This script deletes all blueprint course content from associated pages and then pushes content again. The results are unique blueprint content in the copied courses. FIRST ADD THE NEW COURSES TO THE BLUEPRINT AND THEN RUNN THIS FUNCTION
refresh_blueprint_course_after_course_copy(blueprint_id)
blueprint_id |
the canvas course id of the blueprint course (integer) |
refresh_blueprint_courses_after_course_copy(675)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.