Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Status

complete

Configuration

...

By 'properties' file

compile-time path: tool/src/bundle/org/sakaiproject/tool/gradebook/bundle/Messages.properties
run-time path: WEB-INF/classes/org/sakaiproject/tool/gradebook/bundle/Messages.properties

A new property can be specified in the 'Messages' bundle: export_course_grade_column_order_keys
This property can be defined with a comma-separated (configurable) list of keys used to defind column titles in the same 'Messages' bundle properties file. These keys are used to define the order and consituency of the columns as they are downloaded as well.

Propery key

key value

download data

export_course_grade_gradebookid_column_name

column name, eg "Site ID"

Gradebook Id = Site Id

export_course_grade_siteprovider_column_name

column name, eg "Provider ID"

Site Provider Id

export_course_grade_sitetitle_column_name

column name, eg "Site Title"

Site Title

export_student_name

column name, eg "Student Name"

user displayName

export_student_id

column name, eg "Student Id"

user Eid

roster_course_grade_column_name

column name, eg "Cumulative" Roster View Cumulative Grade

see 'course_or_roster'

course_grade_details_course_grade_column_name

column name, eg "Course Grade"

see 'course_or_roster'

course_or_roster

none
public static final String KEY_ASSIGNMENTS = "assignments";

...

: placeholder *

'cumulative roster view grade' or the 'course grade'

assignments

none: placeholder *

All the assignment columns sorted in 'natural' order (sort specified in GUI)

* The special placeholder pseudo-keys, assignments and course_or_roster are not treated as keys with property values like the others.

The GradebookCourseGradeFeedService defines the above property (and placeholder psuedo-) keys as well as:

  • the name of the sort order key: export_course_grade_column_order_keys

...

property key: course_grade_export_enabled - default value: true
property key: roster_export_enabled - default value: true
compile-time path: tool/src/bundle/org/sakaiproject/tool/gradebook/bundle/Messages.properties
run-time path: WEB-INF/classes/org/sakaiproject/tool/gradebook/bundle/Messages.properties

By JSF configuration file

Bean id: exportBean
property: courseGradeDownloadEnabled - default value: true
property: rosterDownloadEnabled - default value: true
compile-time path: tool/src/webapp/common/WEB-INF/faces-beans.xml
run-time path: WEB-INF/faces-beans.xml

  • the delimiter string for the key list: , (comma)
Warning
titleWarning

Two things worth noting

  1. The properties file overrides defaults.
    • If any of the keys are specified in the export_course_grade_column_order_keys property, the all the defaults are overridden.
  2. The 'Roster View Download' and 'Course Grade Download' ulitmately share the same methods.

 
An example that touches on both: if the placeholder assignments is left out of the list, roster columns will not be printed.

 Screen-shot of Course Grade Download buttons

...

Changes to Online Grade Submission, the existing UC Davis Final Grading Tool (Coldfusion application)

Include Page
UCDSAKAI:Course Management Final Grade ImportUCDSAKAI:
Course Management Final Grade Import