EduGarage Logo
Search:
Site Map
Upcoming Events:
Please e-mail us if you would like your webinar, conference, or get-together to be featured in this space.
Stay Informed:

Calculated Columns and blackboard.ws.gradebook?

rated by 0 users
Not Answered This post has 0 verified answers | 0 Replies | 1 Follower

Top 500 Contributor
2 Posts
Kevin posted on 2 Feb 2012 3:26 PM

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.
}

Page 1 of 1 (1 items) | RSS
© 2006-2009 Blackboard Inc. All Rights Reserved. Blackboard, the Blackboard logo, and EduGarage are trademarks
or registered trademarks of Blackboard Inc. in the United States and/or other countries.