Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: Publish as LTI tool.

Publish as LTI tool

From MoodleDocs
Revision as of 09:18, 2 September 2016 by Helen Foster (talk | contribs) (→‎Sharing access to a course or activity: Grade and user synchronisation scheduled tasks)

New feature
in Moodle 3.6!

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.

Enabling 'Publish as LTI tool' at site level

An administrator can enable the 'Publish as LTI tool' for use across the site:

  1. Go to Site administration > Plugins > Authentication > Manage authentication and enable LTI
  2. 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 so that tools are displayed within a frame rather than in a new window.

Sharing access to a course or activity

  1. Go to the course and in Course administration > Users > Enrolment methods add 'Publish as LTI tool' as an enrolment method
  2. In 'Tool to be published' select the course or activity to be shared
  3. Click the 'Add method' button
  4. Go to Course administration > Published as LTI tools and make note of the URL and secret for the LTI consumer site.
  5. 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.

On the LTI consumer site (See MDL-53977)

  1. Visit a course.
  2. Add a LTI activity and use the URL and secret from the LTI provider site and enter any consumer key you want.
  3. Log in as a student.
  4. Visit the course and click on the LTI activity.
  5. Check the activity displays as expected.

See also