Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The procedure below will create a link between WeBWorK and Moodle and can be used for either a single, course-wide link or a link to a specific WeBWorK assignment. It assumes your WeBWorK course is already set up.

Note

If you receive an error relating to “3rd party cookies” when following the procedure below, you may need to enable “cross-site tracking” in your browser in order to connect Moodle and Gradescope. If you are using the Safari browser, click on the Safari menu, then Preferences. Select Privacy, then make sure Prevent cross-site tracking is unchecked.

WeBWorK setup

Start by deciding if you want a single link to WeBWorK in Moodle or if you want a separate link for each assignment. A single link is simpler for the instructor to set up. Individual links may make it easier for students to know when assignments are due. When using individual links for each homework assignment, students must click on the link in Moodle to start their homework assignment. After they have clicked the link once, they can access the assignment by logging into WeBWorK directly.

The default configuration is a single, course-wide link. If you prefer individual links to each homework assignment, log into your WeBWorK course and click on Course configuration (left menu) → LTI tab → Grade passback mode → Homework

Note

The grade passback mode must be set before students enter your course. Changing the passback mode after students have logged in will likely cause problems.

Moodle Setup

  • Go to your Moodle course and turn editing on

  • Click Add an activity or resource and select WeBWorK

  • Click Select Content

  • If the Moodle course hasn’t already been connected to WeBWorK, you will see a window showing some information about the course, including the Context ID. Copy the value of the Context ID.

Info

If you receive an error relating to “3rd party cookies” when following the procedure below, you may need to enable “cross-site tracking” in your browser in order to connect Moodle and Gradescope. If you are using the Safari browser, click on the Safari menu, then Preferences. Select Privacy, then make sure Prevent cross-site tracking is unchecked.

...

  • Leaving this browser window open, go to your WebWorK course and click on Course Configuration

  • Click on the LTI tab

  • Enter the value from Moodle in the Context ID field

  • Click Save changes

  • Go back to Moodle, close the “Select content” dialog box, and click Select Content again.

  • To create a single link to all the homework sets in the WeBWorK course, select Assignments (Course Home). To to link individual homework assignments, select specific sets. A Moodle activity will be created for each selected WeBWorK item.

...

Once their WeBWorK course account is created, a student can log into their WeBWorK course either through the Moodle link or directly on the WeBWorK website. When using individual homework links, students must click on the WeBWorK homework link in Moodle once to create a connection between the two systems. After that, students can access their assignment via Moodle or by logging into WeBWorK directly.

By default, WeBWorK will assign students any visible homework sets in the course.  

...