Publish as LTI tool: Difference between revisions
Helen Foster (talk | contribs) |
Helen Foster (talk | contribs) m (→Sharing access to a course or activity: formatting) |
||
Line 17: | Line 17: | ||
==Sharing access to a course or activity== | ==Sharing access to a course or activity== | ||
# Go to the 'Enrolment methods | # Go to the 'Enrolment methods' page and add 'Publish as LTI tool' as an enrolment method | ||
# In 'Tool to be published' select the course or activity to be shared | # In 'Tool to be published' select the course or activity to be shared | ||
# Click the 'Add method' button | # Click the 'Add method' button |
Revision as of 17:22, 29 November 2016
Moodle as an LTI provider
The 'Publish as LTI tool' enrolment plugin, together with the LTI authentication plugin, allows remote users on a different site (known as an LTI consumer) to access selected courses and activities. In other words, Moodle functions as an LTI tool provider. Grades are sent back to the remote system. See the screencast Publish as LTI tool for a demonstration.
New feature
in Moodle 3.3!
Note: LTI 2 is supported in Moodle 3.2 onwards.
Enabling 'Publish as LTI tool' at site level
An administrator can enable the 'Publish as LTI tool' for use across the site:
- Go to Site administration > Plugins > Authentication > Manage authentication and enable LTI
- Go to Site administration > Plugins > Enrolments > Manage enrol plugins and enable 'Publish as LTI tool'
It is recommended that the site administration setting 'Allow frame embedding' is enabled (in "Site Administration > Security > HTTP security") so that tools are displayed within a frame rather than in a new window.
Sharing access to a course or activity
- Go to the 'Enrolment methods' page and add 'Publish as LTI tool' as an enrolment method
- In 'Tool to be published' select the course or activity to be shared
- Click the 'Add method' button
- Go to the 'Published as LTI tools' page and make note of the tool URL and secret (LTI 1) or just the URL (LTI 2) for the LTI consumer site.
- You will also need to give the LTI consumer site a consumer key - this can be anything you want.
The LTI consumer can be another Moodle site or any other LTI-consumer-compliant LMS, such as Sakai.
Grade and user synchronisation (if required) are done via the 'Publish as LTI tool grade sync' and 'Publish as LTI tool users sync' scheduled tasks, which run by default every 30 minutes.
If user synchronisation is set to yes, enrolled users in the remote system are synchronised with enrolments in the course, with an account created for each remote user as necessary, and the user enrolled or unenrolled as required. If set to no, at the moment when a remote user accesses the tool, an account will be created for them and they will be automatically enrolled.
On the LTI consumer site
- Visit a course.
- Add a LTI activity and use the URL and secret from the LTI provider site and enter any consumer key you want.
- Log in as a student.
- Visit the course and click on the LTI activity.
- Check the activity displays as expected.