-
Pass user photo to Brightspace
We would like to set the Brightspace profile photos for our users using our photos from their ID cards. Is there a way using file transfer or the API to pass the photos? Has someone else done this before? We'd like to then prevent them from changing it (we have an approval process in place for the photos already in our…
-
All of the data sets?
I am trying to determine a list of all of the D2L products and methods that provide data to admins, educators, and students. So far, I have come across the following names for data sources: Application API, Brightspace Data Portal, Brightspace Analytics, CSV Data Exports, Data API, Data Hub, Data Sets, Insights Console,…
-
API - PUT to user to remember action taken by user i.e. dismissing notice
Hi there, Can anyone suggest the best way of recording that a user has dismissed or actioned a notification in Brightspace? Example: if the user agree's to a statement with a checkbox, a PUT action so the statement is essentially dismissed and this action is recorded against the user to prevent the notification appearing…
-
How to make D2L LTI Advantage iframe automatically vertically scale to available size
When registering an LTI Advantage tool, you can specify a fixed width/height for the iframe to open the link in. A tool can also use postMessage to let D2L know its desired size. However, for a tool with a responsive layout and dynamic content (e.g. a list), there is no fixed size to set. This means that in practice, the…
-
We are trying to build a widget that uses an API call to display certain information based on...
We are trying to build a widget that uses an API call to display certain information based on the term name that is part of the course name. Instructor or student roles get a 403 error when the widget runs. How can we get those roles acccess? We are using this call: GET /d2l/api/lp/1.9/orgstructure/{orgUnitId} Is there a…
-
Keyset URL cannot be reached
I'm trying to setup an LTI advantage link with Mahara on our test environment but after completing all the details as instructed on the Mahara help pages here: https://manual.mahara.org/en/21.10/external/lti_brightspace.html#ltiadvantage-brightspace Brightspace returns a Keyset URL cannot be reached error. Any ideas what I…
-
Is a "Learner" role allowed to update the grades through an API Call?
I'm having trouble trying to make the API call below due to the lack of permissions from "Learner", the scope given is correct but yet the API returns a 403 which is forbidden. PUT https://learn.build.org/d2l/api/le/1.9/(orgUnitId)/grades/(gradeObjectId)/values/(myGradeValues) { "GradeObjectType": 1, "PointsNumerator": 12…
-
How to create a dynamic Quick Link to the root announcements page (not a specific announcement)
Hello ... I am trying to create a link to the Announcements page - a quick link that will dynamically update when I copy the course from a Master shell to a Live Course, so not a static URL with the specific course code. I basically want to recreate the functionality from the "See all Announcements" link in the…
-
New Access Token error, "Error: unable to get local issuer certificate"
Note: This discussion references the Learning Postman
with Paul course, which has been deprecated and is no longer available in
the Learning Center. API newbie here. I'm taking the [Archived Content] Learn Postman With Paul course. I'm at the Get Initial Token phase in Postman. I've filled in all my fields, clicked "Get…
-
Is there a way of having a unique theme for certain courses?
I would like to have some courses with black background and white text on all pages without changing our default theme (light background with dark text), to make them more accessible for certain users. Is this possible ? I've only managed to do it for the navbar / headings so far.
-
How do I delete an LTI Advantage tool?
I can see a list of LTI Advantage tools on the page at d2l/le/ltiadvantage/registrations/home but I cannot see an option to delete an item from the list, merely to enable/disable it. Is there a special role/permission needed for deletion? I have tried ones like "Delete External Learning Tool Links" but none seems to have…
-
Working on developing 1.3 LTI Deep Linking. Keep getting errors.
------------------------------------ UPDATE I found out what was originally going wrong, I wasn't sending the KID header along with the token. However I'm still having a problem... Now I get "The external learning tool responded with no content. Close this dialog and try again or contact the external learning tool for…
-
What does the PUT /d2l/api/le/(version)/(orgUnitId)/content/topics/(topicId)/file want?
If a...
What does the PUT /d2l/api/le/(version)/(orgUnitId)/content/topics/(topicId)/file want?If a working example is available it would be very help, but I currently have no idea what to actually provide this route. I am building an app using react and the "superagent-d2l-session-auth" npm library the route method looks like…
-
Is D2L.Extensibility.AuthSdk.Restsharp for C#/.NET is missing an extension?
D2L.Extensibility.AuthSdk.Restsharp for C#/.NET Hello all, Please see attached doc for this question
-
Is there a way to recommend potential next courses?
Is there a tool or recommended external tool to be able to suggest certifications to learners based on their role, searches, or recently completed courses (like the Netflix recommendations algorithm)? I'm happy to submit a PIE if needed. Our courses are all optional. They don't have start/end dates. Users can self-enroll…
-
Trying to use LTI 1.3 but having trouble with authentication. Keep getting 404s.
Hello, I'm trying to get our tool to work with 1.3 and brightspace. I'm currently trying to implement openid to autheticate with. Brightspace gets to my auth method fine but when I try to redirect the user to the openid auth endpoint I keep gettings 404. Checking your help it says to check I have all parameters correct…
-
Why is "Email" returned as null in the Enrollment.ClasslistUser list result after calling GET...
Why is "Email" returned as null in the Enrollment.ClasslistUser list result after calling GET /d2l/api/le/(version)/(orgUnitId)/classlist/? These same users have email which shows up in User.UserData and User.UserProfile. But for some reason it does not get populated in Enrollment.ClasslistUser. This is what I get:…
-
I am trying to create a topic post when students complete an action. I am getting the dreaded...
I am trying to create a topic post when students complete an action. I am getting the dreaded Status 400 error : Request has missing or invalid parameters. I have checked the API reference for CreatePostData. Here is the sample code so far : let postString = '{"ParentPostId": null, "Subject": "This is a test post via API",…
-
Grade value DELETE API gives "405 Method Not Allowed" error
Hi All, We are trying to execute a DELETE request to the API "/d2l/api/le/(version)/(orgUnitId)/grades/(gradeObjectId)/values/(userId)" to delete an existing grade item value for a user. But we are getting the following error: { "type": "http://docs.valence.desire2learn.com/res/apiprop.html#method-not-allowed", "title":…
-
Update LTI Quicklink via API request: JSON Binding Error
I am attempting to update an LTI 1.0 Quicklink via the API (Oauth 2.0, in Postman). The initial connection is fine and I can retrieve data via GET requests. I am using PUT to send raw JSON to: https://mysite.brightspace.com/d2l/api/le/1.52/lti/link/1234 My JSON: (as described by…