Grade export: Difference between revisions
Helen Foster (talk | contribs) (steps to export grades, screenshot, default settings) |
Tim Bahula 2 (talk | contribs) m (clean up, typos fixed: For example → For example,, quizes → quizzes) |
||
(39 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
{{Grades}}[[Image: | {{Grades}}Grades can be exported to Excel spreadsheet, OpenDocument spreadsheet, plain text file or XML file, or published via a URL. | ||
# Choose an export format | |||
''Grade export is NOT intended for students.'' | |||
==How to export grades== | |||
[[Image:gradexportupdated.png|thumb|Grade export]] | |||
To export grades from the gradebook: | |||
# Choose an export format from the gradebook dropdown menu or in the Administration block under ''Grade administration > Export''. | |||
# Set options as required. | # Set options as required. | ||
# If the course uses groups, select whether to export grades for all participants or for a particular group. | # If the course uses groups, select whether to export grades for all participants or for a particular group. | ||
# Select the grade items to be included. Note that ID numbers are required for all activities for XML file export. An ID number field can be found in the common module settings for each activity. | # Select the grade items to be included. Note that ID numbers are required for all activities for XML file export. An ID number field can be found in the common module settings for each activity. | ||
# Click the | # Click the export button. | ||
==XML file export== | |||
To export grades to XML file, you need to ensure that: | |||
* Users have ID numbers (an optional field in the user profile) | |||
* Activities have ID numbers (an optional field in the common module settings) | |||
==Export new or updated grades only== | |||
To export only new or updated grades you need to enable '''XML File''' in ''Grades > General settings > Primary grade export methods (gradeexport)''. | |||
After this setting has been enabled, the XML File option will then set and use a "last exported" field for every grade. The result will export the records with the <state> tag being identified as new or regraded. | |||
This means the report will track the last exported date. If you export and then try again, it will not show any results because there are no new or updated grades since the last export. | |||
==Default grade export settings== | ==Default grade export settings== | ||
The grade export display type and grade export decimal points site-wide defaults may be set by an administrator in '' | The grade export display type and grade export decimal points site-wide defaults may be set by an administrator in ''Site administration > Grades > [[General grade settings|General settings]]''. | ||
==User profile fields export== | |||
An administrator can specify user profile fields and custom profile fields to be included in the grade export in ''Site administration > Grades > General settings''. | |||
==Grade publishing== | ==Grade publishing== | ||
[[ | [[File:grade publishing options.png|thumb|Grade publishing options]] | ||
Grade publishing is a way of importing and exporting grades via a URL without being logged in to Moodle. Grade publishing is intended for administrators only, due to the security implications. | Grade publishing is a way of importing and exporting grades via a URL without being logged in to Moodle. Grade publishing is intended for administrators only, due to the security implications. | ||
Grade publishing is disabled by default. It can be enabled by checking the gradepublishing box in ''Administration > Grades > [[General grade settings| | Grade publishing is disabled by default. It can be enabled by an administrator by checking the gradepublishing box in ''Administration > Site administration > Grades > [[General grade settings|General settings]]''. Users with grade publishing capabilities (normally managers only) will then be able to access the grade publishing options. | ||
To publish grades from the gradebook: | |||
# Follow the first four steps above for 'How to export grades'. | |||
# In the grade publishing options, choose 'Create a new user key' or select a key generated previously. | |||
# Click the export button. A download URL will then be displayed. | |||
==Grade export capabilities== | |||
* [[Capabilities/gradeexport/ods:publish|Publish ODS grade export]] | |||
* [[Capabilities/gradeexport/ods:view|Use OpenDocument grade export]] | |||
* [[Capabilities/gradeexport/txt:publish|Publish text file grade export]] | |||
* [[Capabilities/gradeexport/txt:view|Use text file grade export]] | |||
* [[Capabilities/gradeexport/xls:publish|Publish XLS grade export]] | |||
* [[Capabilities/gradeexport/xls:view|Use Excel grade export]] | |||
* [[Capabilities/gradeexport/xml:publish|Publish XML grade export]] | |||
* [[Capabilities/gradeexport/xml:view|Use XML grade export]] | |||
==Tips and tricks== | |||
*Export grades in a spreadsheet format. Then copy and paste that information into another file that has worksheet ("raw grades"). Create other worksheets which are custom reports which take their data from "raw grades". This works if graded activities are '''not''' moved around to different positions in the course. This allows you to create a standard printed report(s). For example, a compact landscape report of all students and all grades for each activity, a report of just quizzes, another of lessons, another of assignments. A pivot table of students by scores, generated from a report worksheet, which gets its data from the raw data. | |||
*Mailmerge exported grades into custom documents. For example, a document that is given to a department to file as a proof of training, with scores for every subject quiz. | |||
==See also== | ==See also== | ||
*[ | *[[:dev:Gradebook export|Gradebook export]] developer documentation | ||
* MDL-44923 for background information about the setting 'Export new or updated grades only' | |||
[[es:Exportar calificaciones]] | |||
[[fr:Exportation des notes]] | [[fr:Exportation des notes]] | ||
[[ja:評定のエクスポート]] | |||
[[de:Bewertungen exportieren]] |
Latest revision as of 16:09, 4 February 2021
Grades can be exported to Excel spreadsheet, OpenDocument spreadsheet, plain text file or XML file, or published via a URL.
Grade export is NOT intended for students.
How to export grades
To export grades from the gradebook:
- Choose an export format from the gradebook dropdown menu or in the Administration block under Grade administration > Export.
- Set options as required.
- If the course uses groups, select whether to export grades for all participants or for a particular group.
- Select the grade items to be included. Note that ID numbers are required for all activities for XML file export. An ID number field can be found in the common module settings for each activity.
- Click the export button.
XML file export
To export grades to XML file, you need to ensure that:
- Users have ID numbers (an optional field in the user profile)
- Activities have ID numbers (an optional field in the common module settings)
Export new or updated grades only
To export only new or updated grades you need to enable XML File in Grades > General settings > Primary grade export methods (gradeexport).
After this setting has been enabled, the XML File option will then set and use a "last exported" field for every grade. The result will export the records with the <state> tag being identified as new or regraded.
This means the report will track the last exported date. If you export and then try again, it will not show any results because there are no new or updated grades since the last export.
Default grade export settings
The grade export display type and grade export decimal points site-wide defaults may be set by an administrator in Site administration > Grades > General settings.
User profile fields export
An administrator can specify user profile fields and custom profile fields to be included in the grade export in Site administration > Grades > General settings.
Grade publishing
Grade publishing is a way of importing and exporting grades via a URL without being logged in to Moodle. Grade publishing is intended for administrators only, due to the security implications.
Grade publishing is disabled by default. It can be enabled by an administrator by checking the gradepublishing box in Administration > Site administration > Grades > General settings. Users with grade publishing capabilities (normally managers only) will then be able to access the grade publishing options.
To publish grades from the gradebook:
- Follow the first four steps above for 'How to export grades'.
- In the grade publishing options, choose 'Create a new user key' or select a key generated previously.
- Click the export button. A download URL will then be displayed.
Grade export capabilities
- Publish ODS grade export
- Use OpenDocument grade export
- Publish text file grade export
- Use text file grade export
- Publish XLS grade export
- Use Excel grade export
- Publish XML grade export
- Use XML grade export
Tips and tricks
- Export grades in a spreadsheet format. Then copy and paste that information into another file that has worksheet ("raw grades"). Create other worksheets which are custom reports which take their data from "raw grades". This works if graded activities are not moved around to different positions in the course. This allows you to create a standard printed report(s). For example, a compact landscape report of all students and all grades for each activity, a report of just quizzes, another of lessons, another of assignments. A pivot table of students by scores, generated from a report worksheet, which gets its data from the raw data.
- Mailmerge exported grades into custom documents. For example, a document that is given to a department to file as a proof of training, with scores for every subject quiz.
See also
- Gradebook export developer documentation
- MDL-44923 for background information about the setting 'Export new or updated grades only'