Answered
I'm making a tool to pull grades and generate report cards, so I need to get at enrollment metrics. I understand how to use listenrollments selecting metrics to get the grades, but here are my questions:
- How do I know what grading period is currently active for the course?
- How can I pull graded activity just for the current grading period?
- Does enrollmentmetrics roll-up the results for the current grading period only, or does it include scored items submitted against the entire enrollment?
Thanks!
Comments (3)
There is not a concept of an "active" or "current" period. There are not any start or end date defined in the data.
So, to answer your questions, there is no answer. If you need to retrieve period or category totals, you wouldn't use enrollment metrics but actually user the gradebook (e.g., GetEntityGradebook2). This will return all periods/categories that are applicable to the student grades.
Thanks for the speedy reply, Brad.
For clarity: Does an enrollment's enrollmentmetrics include the rolled-up score for all scored items, across all grading periods? If it's something different, please describe. Thanks!
Yes, the total score is calculated by taking into consideration all activities regardless of category, scoring objective, or period.