Getting Grade values for Unenrolled course

67 views
Skip to first unread message

Aravind Thotakura

unread,
Jul 30, 2014, 5:40:52 PM7/30/14
to valenc...@googlegroups.com
Hi
 
Here is the brief summary of the problem
 
We enrolled a student in a course lets say Digital Photography. When the course is in progress, the teacher assignes the grades and we used valence to get those grades and did show in our Student Information system.
But when the course expires, we unenroll the student from the course so that he won't be able to continue taking that course. After we unenroll the student from the course, we are trying to get grades using valence and we are not getting any grade values back.

How do we get the Grade values after we unenroll the student from the course?
 
Any help is appriciated.
 
 
 
 

Scott

unread,
Jul 31, 2014, 8:58:41 AM7/31/14
to valenc...@googlegroups.com
If the application knows the student and knows the course you could reasonably use a utility account with the right permissions to get the grade.

Aravind Thotakura

unread,
Jul 31, 2014, 10:17:38 AM7/31/14
to valenc...@googlegroups.com
Hi
 
Thanks for the reply.
 
Can you please explain in detail.
 
1) What is utility account?
2) What permissions do we need to get the grade after unenrolling the student?
 
below is the valence call we are using to get the grade..
/d2l/api/le/1.0/{course offerring id}/grades/values/{Student ID}/
 
we replace the course offerring id and student id while send the REST call.
 
Any help is appriciated.
 

Scott

unread,
Jul 31, 2014, 12:23:41 PM7/31/14
to valenc...@googlegroups.com
"Utility Account": Set up an account in D2L that has adequate role/permissions to access the course grades once the course has closed. Use this accounts user context in the application regardless of the person who is actually using the application. This means that the application can do work that the user's user context is normally unable to do.
Point #2 doesn't matter because it's the utility account that's going to be enrolled in the course at the point of getting the grades, not the student any more.

There may be better ways to accomplish what you want to accomplish. I'm only describing one way.

Aravind Thotakura

unread,
Aug 4, 2014, 7:09:10 PM8/4/14
to valenc...@googlegroups.com
Hi
 
Can you please tell us what permissions are needed to get the grade values after we unenroll the student from the course.
 
Created a utility user and still cannot get those grade values. Below are the permissions we gave for the utility user.
 
Grades






Desire2Learn Staff: Viktor

unread,
Aug 5, 2014, 11:01:59 AM8/5/14
to valenc...@googlegroups.com
It is also possible that you need to ensure that the utility user account's role in the organization has the ability to see past/future/inactive courses. Unfortunately that aspect of a user role is, I believe, not included in the permissions around roles, but in the definition of the role itself -- instead of editing the role's permissions, edit the role itself to see all these direct properties of the role as they may be important here.

--
V.

aravind thotakura

unread,
Aug 5, 2014, 4:32:55 PM8/5/14
to valenc...@googlegroups.com
We already have those permissions you requested. We still cannot access the grades for a student once we unenroll them. 

Below are permission we had for that utility user:  Any other ideas??

Course Access Options

 
Access:
Get help on - Access inactive courses
Get help on - Access past courses
Get help on - Access future courses
 
Sections:
Get help on - Access all course sections
Get help on - Can be auto enrolled into sections
Get help on - None of the above
 
Groups:
Get help on - Access all course groups
Get help on - Can be auto enrolled into groups
Get help on - None of the above

Desire2Learn Staff: Viktor

unread,
Aug 6, 2014, 11:32:01 AM8/6/14
to valenc...@googlegroups.com
I don't know that the grade owner's continued enrollment is a requirement for fetching back grade data, but it might be. Apparently, there are other people here who are also investigating this question/issue, and so they may respond in the future with more concrete answers there.

--
V.

Desire2Learn Staff: Viktor

unread,
Aug 18, 2014, 11:47:11 AM8/18/14
to
Hey Aravind,

It appears that if a student isn't currently enrolled in the course, grades for that student might not at all be visible through the Web UI. Can you confirm -- do you in fact still have a way to see the student's grades through the Web UI after the student is unenrolled from the course? The API's general intentions is to let you do what the Web UI does, but not more -- if the Web UI doesn't let you see grades of unenrolled students, you shouldn't expect the API to let you either.

If you do want this functionality, and it's not available through the Web UI or the API, then that would be an enhancement request, likely, and fulfilling it would probably require it to be put in both places, not just one.

--
Viktor
Reply all
Reply to author
Forward
0 new messages