[xBlock] How to publish grade for a student

Sorry for the previous informations!

I’m creating an xBlock for staff to give students scores. I found out that if I made the unit visible to the students, then I could give them scores. However, if I hid the unit, I couldn’t score them. I’m considering passing the content to the student view, where if the user role is student, the content will not be shown. Is this a good idea?

Hi @devpt,

If you could let us know how you’re considering transferring the content to the student view, it would help us better understand what you’re trying to achieve. This way, we’ll be able to provide you with a more informed response.

Regards,

1 Like

In my xBlock, the instructor had to grade the student and mark the student’s unit as completed. I’m currently struggling to mark the student’s unit as completed. I hope this information clarifies the situation

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.