Customise the Export Options

Customise the Export Options

by John Tutchings -
Number of replies: 1

I have been asked to look at doing a custom export over to our SIS, the export will be done using a web service.  I have seen that I can create a new export and how I could use the print_grades function to carry out the web service calls.

The problem I have is that the grade book field names do not match the SIS fields names and it will require human intervention to say that "Essay 1" in Moodle is "cw1" in the SIS.  The way around this is to get a list of SIS fields and display along side the grade book fields and ask the user to match them up.  The problem I have is I can not see anyway of getting extra options added to export screen where you select which fields to export.  This is the most obvious place to make the selection.

So, is there a way I can another custom set of options to the first export page or can I get a form on the preview that will allow options to passed back to the script.

In reply to John Tutchings

Re: Customise the Export Options

by John Tutchings -

worked it out, I used my own mform which meant I can put what I want on the screens.