WOLFRAM NOTEBOOK

Wolfram Language Workflow
Create an LTI Component in
MITx Studio
Before you can begin this stage of the setup procedure described in the guide below, make sure you have completed part one of the setup procedure. You should have the URL of your own Wolfram CloudObject for testing during this guide. If you don’t have your URL, please go back and complete part one {XXXX link}.
1
.
Select the course to edit
Login to www.studio.mitx.mit.edu - in this guide we use studio, those who use XML to publish courses will have a different procedure, but the end result will be the same.
Inside studio, select the course into which you’d like to add the LTI component.
2
.
Set the module list
Navigate to the “Outline” tab near the top of the page, select “Advanced Settings”.
On the Advanced Settings page, locate the Advanced Module List. You can do this by searching (
ctrl
f
) for Advanced Module List within this page.
Inside the Advanced Modules List, enter “lti_consumer” within the square brackets. You should see [“lti_consumer”] in this field once you’re finished. If you have other advanced modules, they will be comma-separated, i.e. [“module 1”, “module 2”, ...].
3
.
Set LTI passports
Next, locate LTI passports on the same page (search efficiently using
ctrl
f
).
Inside the LTI Passports field, enter the following within the square brackets: "wolframID:wolframClientKey:wolframClientSecret". You should see ["wolframID:wolframClientKey:wolframClientSecret"] once you’re finished. If you have other LTI components you may need to have them comma-separated, i.e. [“id1:key1:secret1”, “id2:key2:secret2”, ...].
Note the alert bar on the bottom of the page -- remember to save your changes. If successful, you should see an update that your changes have been saved.
4
.
Edit the course outline
Navigate to the “Content” tab near the top of the page, select “Outline”.
On the “Course Outline” page, add a new section.
Name this section “Wolfram LTI Test” (or anything you want). Create a new subsection within Wolfram LTI test and name it “Wolfram LTI Test Subsection”.
Add a new unit by clicking the blue “New Unit” button. Note this will take you to a new page.
Name the unit “Wolfram LTI Unit”.
Note the different component buttons. Select the “Advanced Component”.
You should see “LTI Consumer” if you successfully completed step 5.
If you see “LTI Consumer” added successfully, continue to the next step. Otherwise, repeat step 5 and return to this step.
5
.
Edit the new unit
Click on the “LTI Consumer” button. You should see the following.
Click on the blue “Edit” button and enter the following information:
  • Display Name: Wolfram LTI Consumer
  • LTI Application Information: my cloud object
  • LTI ID: wolframID (Note: this needs to match the information in the LTI Passports that you entered in step 7)
  • Scroll down to locate “LTI URL” and paste the URL of the Wolfram CloudObject that you deployed in part one of this guide.
    Scroll down to locate “Scored” and set it to “True”.
    Scroll down to locate “LTI Launch Target” and set it to “New Window”.
    Save your changes.
    You should see the following:
    6
    .
    Publish the new unit
    Note that this component will not work within Studio, you will need to test it on https://lms.mitx.mit.edu. Publish the unit by clicking on the blue button on the right. It takes a few minutes for the publication process to complete.
    Once published, you may view the live version by clicking the “View Live Version” button on the right. If this button does not work as expected, keep waiting for the publication process to complete.
    Once you can view the live version, click the “View resource in a new window”. This should create a Wolfram Cloud object which contains the anonymous identifier of a student viewing the unit. You should see a “success” message if this has occurred.
    This completes the setup guide. Navigate to the MITx Wolfram LTI Example Gallery [XXXX link to code gallery XXXX] to view examples of various types of LTI components and their associated source code.
    Wolfram Cloud

    You are using a browser not supported by the Wolfram Cloud

    Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


    I understand and wish to continue anyway »

    You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.