-
Force local login form for oauth2 when SSO is enabled
On our site we have SSO enabled for our students and teachers. For integrations which use the APIs we use local accounts. Is there a way to trigger the local login screen when using https://auth.brightspace.com/oauth2/auth to get a token so you can use a local account? Now yoy need tricks to add the ?noRedirect=1 to go to…
-
Make <detail> <summary> elements editable within Brightspace Editor
The HTML templates contain Bootstrap accordion elements. Nowadays, one can create such accordions with multiple <details> elements. More info on the webdev page: https://developer.chrome.com/docs/css-ui/exclusive-accordion These <details> elements are now native to (almost) all browsers. I can create accordion-like…
-
LeaP integration: Connecting content and learning objectives
Currently, we are in the process of redesigning some of our business courses, and we have initiated the integration of LeaP. We have had a few questions during this process, and I would greatly appreciate your assistance in addressing them. 1. What are the best practices for ensuring that the course content remains aligned…
-
Why is the enrollment GET call in my code below not working? I am receiving a 400 Bad Request error.
// Define the base URL for the Brightspace API endpoint for enrollments const baseURL = `https://example.com/d2l/api/lp/1.44/enrollments/myenrollments/`; // Define the URL for fetching enrollments with the bookmark parameter let enrollmentsURL = `${baseURL}?bookmark=1`; // Array to store all enrollments let allEnrollments…
-
API Calls to change section association
Hello. I am hoping someone can walk me through the following article: https://community.d2l.com/brightspace/kb/articles/1171-creating-updating-sections I just started using Postman and I got the hang of the "GET" API calls. But, I'm struggling with puts and posts. I am getting the error "400" "Request has missing or…
-
One to many course sync
Hello, Within the Canvas LMS there is a feature called BlueprintSync. It allows you to set up a parent course and associate many child courses. When changes are made in the parent course, you have the option to propagate changes down to all the child courses through the interface. The api also allows me to send the parent…
-
Documentation GET /d2l/api/lp/(version)/outypes/(orgUnitTypeId)
Dear madame/sir, This API is not documented enough: https://docs.valence.desire2learn.com/res/orgunit.html#get--d2l-api-lp-(version)-outypes-(orgUnitTypeId) I'm missing 2 items: Oauth2 Scopes Return Can you add this information and/or provide this via this platform, so I establish a succesful request/response? Thanks in…
-
LTI 3rd party content - Deep Linking Quicklink
We have a well functioning LTI tool that sets a session cookie. In Chrome this works fine, but in a standard Safari it is well known that a third party cookie is not saved in an iframe. This is solvable by opening deeplinks in a new window by default. However when an instructor adds a new deeplink using the `add existing`…
-
Link content to glossary
I've added a glossary to my course and want to create quick links from the first occurrence of each glossary term in the content to the glossary itself. However, I can't find "glossary" listed as a quick link option. Is there a method available to achieve this?
-
Duplicating a Module in the Same Course
How do you duplicate a Module in the Same Course?
-
This client is not permitted to use the client_credentials grant
Hi, I'm trying to use lti 1.3 and I want to authenticate using https://auth.brightspace.com/core/connect/token I created a new client id using the Oauth 2.0 section in Manage extensibility as administrator However when I try to consume the service I receive an error: { "error": "unauthorized_client", "error_description":…
-
Authentication error
Hi, I'm trying to use lti 1.3 and I want to authenticate using https://auth.brightspace.com/core/connect/token I created a new client id using the Oauth 2.0 section in Manage extensibility as administrator However when I try to consume the service I receive an error: { "error": "unauthorized_client", "error_description":…
-
SCORM packages behave differently when loaded via the API compared to being loaded via the UI.
We have developed a SCORM quiz by testing it and uploading it via the "Add Existing" button in the course content area. Now we are loading these SCORM quizzes en masse via the API. The ones loaded via the API seem to communicate with the SCORM engine synchronously and as a result display some lag in the user experience.…
-
Tag management api
Hello, Is there existing API's for getting values under Tag management?
-
YouTube videos + restricted mode
We have enabled YouTube restricted mode through DNS override records. Provided a user logs in to YouTube with a Google Workspace account, they are still able to view manually approved videos. This system generally works pretty well. One challenge we've run into is that the user's YouTube session is not shared with embedded…
-
assignment feedback
Is there any way to recover a student comment in reply to an assignment feedback comment if the student has since deleted it?
-
API Call to the Learner Usage Dataset
I am trying to automate the download of the Learner Usage Dataset and am running into an issue with my test call in Postman. I I using the below from the "Get List of Available Data Sets" sample; however whenever I must be missing something because when I try to run this, I am getting this error: { Errors: [ {Message: "No…
-
Missing Resources
I was watching the webinar "Custom Widgets and Tools using API Calls" (https://www.d2l.com/events/custom-widgets-and-tools-using-api-calls/) and it referred to resources that would be made available. I am unable to find them. Does anyone know where they might be?
-
api call to add multiple questions to quiz?
Hi! I was wondering if there was also an api function with which i can add one or multiple questions to a quiz? I found the functions for adding quizzes and retrieving quiz questions but adding them i cant find, is there a way? Thanks, Roel
-
I have oAuth2.0 setup but requesting token asks to login
I'm trying to connect to API from c# code, I can request token through postman, but the request only works when I'm logged in;otherwise, it asks me to login and then I can retrieve the token by clicking on 'Get new access token'. This might work when I'm testing but when I'm trying to request token from c# code based on…