Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-63545

Provide a process for LTI to preserve LTI context/resource IDs when copying

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_35_STABLE

      Description

      We're need a way to copy courses with LTI tool links, while still preserving the LTI tool links' information (ie. something like this: https://www.imsglobal.org/lti-course-copy-road-nowhere). We have courses with a lot of external tools, and remapping each one manually is extremely resource-intensive.

      From the link above, I don't think that $Context.id.history and $ResourceLink.id.history custom parameters are currently supported by Moodle, but I do know that Moodle has a complete backup/restore course process that copies over some portion of the external tool. We need an addition to this process that preserves the context ID and resource ID of the LTI tool pre-copy.

       

      Ideal steps:

      1. User creates an external tool (with context_id A and resource_link B) and uses it.
      2. User copies the course with an external tool present.
      3. User enters the copied course.
      4. User enters the copied external tool, and passes the custom parameters $Context.id.history and $ResourceLink.id.history.
      5. The LTI tool provider receives ids A and B from these parameters.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ansonli Anson Li
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: