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

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



    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.2
    • Fix Version/s: None
    • Labels:
    • Affected Branches:


      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.




            • Votes:
              1 Vote for this issue
              4 Start watching this issue


              • Created: