Is it possible to get the value displayed to Graders in the Grade Center for calculated columns?
I can use blackboard.ws.gradebook.ScoreVO.getSchemaGradeValue() to get the grade for columns entered manually but not for calculated columns. The best I can do for calculated columns is get the total with ws.gradebook.ScoreVO.getGrade() but I have no idea what that total is out of. Is blackboard.ws.gradebook totally broken for calculated columns or am I doing something wrong? I am getting kind of desperate, I would welcome any solution, even if I need to rewrite everything.
Below is my code:
// // Use the WebService to get grade based on the wsCourseId, wsMemberId and wsColumnId (_##_# format) // String wsMemberIdArray[]; wsMemberIdArray = new String[1]; wsMemberIdArray[0] = wsMemberId; // Create a scoreFilter to get the grade based on the columnId and memberId ScoreFilter sectionIdFilter = new ScoreFilter(); sectionIdFilter.setMemberIds(wsMemberIdArray); sectionIdFilter.setColumnId(wsColumnId); sectionIdFilter.setFilterType(5); ScoreVO[] wsGrade = GradebookWSFactory.getGradebookWS().getGrades(wsCourseId, sectionIdFilter); if ( wsGrade != null ) { out.println(wsGrade[0].getSchemaGradeValue()); // If this is a manually entered column then it will print out the letter grade. If this is a calculated column then the will print out nothing out.println(wsGrade[0].getGrade()); // If this is a calculated column it will print out the total but there is no way to tell how the total was calculated. }