updateCourseElementResource,Opal-method | R Documentation |
Update the referenced learning resource of a course element in the LMS Opal
## S4 method for signature 'Opal'
updateCourseElementResource(
object,
course_id,
node_id,
resource_id,
publish = TRUE
)
object |
An S4 object of class LMS that represents a connection to the LMS. |
course_id |
A character string with the course ID. You can find this in the course's details (Resource ID) in the LMS. |
node_id |
A character string with the course element ID. This can be found, for example, in the course editor under the "Title and Description" tab of the respective course element in the LMS Opal. |
resource_id |
A character string wiht the ID of the resource. This can be found in the details view of the desired resource within the LMS. |
publish |
A boolean value that determines whether the course should be
published after the resource is updated. If |
The response of the HTTP request made to update the resource. If the course is published, an additional message about the publishing status is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.