Documentation:WeBWorK/How to Reuse Assignments with Customized Problems

From UBC Wiki
Jump to: navigation, search

Introduction

These instructions cover copying all WeBWorK assignments from a previously-offered course to a current or future course when some or all of the assignments include customized problems that use locally-stored files.

In most cases, your previously-offered course will not use these types of problems. If you do not recognize the terms "customized problems" or "locally-stored files" or you find yourself wondering if these instructions are the right choice, please follow the instructions here instead.

Steps

  1. First, log into the WeBWork course of a previous term with your CWL.
  2. Once in WeBWork, click on “Hmwk Sets Editor2” under “Instructor Tools” from the sidebar. This will display a list of all the homework sets in the course. Navigate to the “Export” tab, and using the dropdown menu next to “Export which sets?”, select “all sets”. Click on the blue [Take Action!] button to proceed.
    Step 2
  3. On the new page that opens up, you can double check if all of the homework sets have been selected. Then, make sure the “Save Export” tab is selected and click on the blue [Take Action!] button to complete the export. This will generate .def files of the homework sets in the File Manager.
  4. Next, select “File Manager” from the main menu on the left side of the page. Expand the drop-down menu at the top by clicking on the downward arrow. Then navigate to the main directory of the File Manager, which should be labelled as the name of your Webwork course.
    Step 4
  5. Select the “templates/” folder and click on “Make Archive” from the buttons on the right.
    Step 5
  6. Next, download the file package that is created (the one with .tgz beside it).
    Step 6
  7. The next step is to upload the packaged files to the course for a new term. First, log into the WeBWork course for the new term and then navigate to “File Manager” from the sidebar. Make sure that you are in the main directory of the File Manager, by expanding the drop-down menu at the top and then navigating to the main directory, which should be labelled as the name of the destination Webwork course.
    Step 7
  8. Click on “Choose File” and select the .tgz file from your computer. Before clicking on Upload, ensure that “Unpack archives automatically” and “then delete them” is checked off. If it is the start of the term and the instructor has not made any changes in the WeBWork course, check off “Overwrite existing files silently” to replace the existing “Templates/” folder. Finally, press “Upload”.
    Step 8
  9. The last step is to deploy the homework sets and assign them to students. Navigate to “Hmwk Sets Editor2” from the sidebar and select the “Import” tab. Using the first drop-down menu, select “Multiple sets” to import, and select the homework sets you would like to deploy by holding “Ctrl” for Windows or “Cmd” for Mac. You can keep the original set names and assign the homework sets to all student users. The process of assigning the homework sets to all student users may take a long time, so you can wait until it is closer to the starting date of the homework set before assigning it. Finally, click on the blue [Take Action!] button and you’re done!
    Step 9