No Items Appear in Export

No Items Appear in Export

by Jonathan Westfall -
Number of replies: 1

Hi all,

I'd like to automate dumping my grade books nightly, and have a script that uses the following line:

wget "http://coursework.jonwestfall.com/grade/export/xls/dump.php?id=17&groupid=&itemids=&export_letters=&export_feedback=0&updatedgradesonly=&displaytype=1&decimalpoints=2&export_onlyactive=1&usercustomfields=1&key="privatekey" -O class.xls

This produces an excel sheet with student names, identification information, and a last downloaded column, but it does not have any grade items. Previously I'd specified all of them in the "itemids=" area, but would like to just have it download all (so I don't have to change the script each time I add a new grade item). From the documentation, it seems like that should work?

I've tried... 

  • Changing itemids= to 0, -1, and blank (as above)
  • Changing updatedgradesonly to 0, 1, -1 and blank
  • Removing all parameters except id & key

All of which do the same thing - produce a spreadsheet with student names & identification information, but no grade information.

Any thoughts are appreciated,

Jon.