Best Of
Re: Bug when updating quizzes?
@Viktor.H.147 Ah yes you found it. That is a gotcha. Can we log a couple bugs though? Like e.g. the API says that Quiz password cannot be null but it can and it indicated no password.
Thanks you for your help. I was able to finish my tool (no I can't get an approved app from Algonquin College so I have to do the token shenanigan)
Re: Bug when updating quizzes?
If you post the documentation inconsistencies here, I can see that they're followed up on. If the real cause of the inconsistency turns out to be an implementation problem, we'll likely need a support case; but if the error is on the documentation end of things, we can get that done without the effort of a support case.
Re: Quiz Questions with randomized with differnet degrees of difficulty.
@Stephanie.S.473 Create three separate pools within your quiz corresponding to the three categories. You can specify how many questions from each category that each student will receive and it will pull them at random.
Re: Bug when updating quizzes?
NotificationEmail Password
Both of these fields from QuizData are marked as required string in the documentation despite the API accepting null for various reasons. QuizReadData also says they cannot be null but will sometimes come back as such.
Additionally QuizReadData says RestrictedIPRange will not be null but it can.
It's also confusing that POST /folders/{folderId} accepts RichText without transformation from the GET endpoint, which is why I initially didn't transform it for quizzes. But I guess that's nice? So if quizzes could also accept RichText that's be cool.
Re: Bug when updating quizzes?
Yes, sadly the pattern of "RichText on read, RichTextInput on input" is not entirely consistent. Thanks for your report!
Re: Bug when updating quizzes?
This seems like it could be a fairly classic gotcha with the Brightspace APIs.
With a lot of the APIs, when you read an entity from Brightspace user-visible-text fields get encoded as RichText structures. However, when you write to create or update that entity into Brightspace, often you need to encode those fields as RichTextInput structures. The particular Quiz API structures here use that pattern, I believe (QuizReadData for read, QuizData for write).
You may find that making this adjustment to your call addresses the issue.
Re: machine readable API documentation?
Many Brightspace administrators around the globe are perhaps not-so-tech-savy, and until Microsoft get a connector defined for their Power-environment, it would be very helpful for defining your own custom connector to have the API-documentation available in OpenAPI-format.
Is there training (recorded or live) available for LOR setup?
I am new to my organization and still learning Brightspace admin. We would like to setup a learning object repository. I'm reading the documentation thoroughly and will make heavy use of our test site prior to doing anything on the live site. However, I would love to have live or recorded training on best practices for setting up an LOR, just to see it in action. I've scoured the D2L Brightspace Community but cannot find anything. Could someone point me in the right direction or share a link with me?
Re: Course Progress not matching content
Thank you @amarks2@nu.edu ! We just switched to using xAPI vs using SCORM 2004 edition and it worked! It seemed to solved the progress issues we were dealing with when learners were resuming midway through a scorm package. Thank you for your suggestion and help with this. We were trying to figure this out with D2L support for over a year! :-)




