refresh_blueprint_course_after_course_copy: Refresh blueprint courses after course copy

View source: R/refresh_blueprint_courses_after_course_copy.R

refresh_blueprint_course_after_course_copyR Documentation

Refresh blueprint courses after course copy

Description

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

Usage

refresh_blueprint_course_after_course_copy(blueprint_id)

Arguments

blueprint_id

the canvas course id of the blueprint course (integer)

Examples


refresh_blueprint_courses_after_course_copy(675)


ICTO-FMG/uvacanvas documentation built on Dec. 6, 2024, 2:32 p.m.