-
How to move section(s) to a different course offering? Valence
I have two course offerings with three sections in each and I want to move all sections under one course. * CourseA * Sec1, Sec2, Sec3 * CourseB * Sec4, Sec5, Sec6 I tried removing the parent relationship with CourseB from Sec4,5,6 and adding CourseA as their parent. DELETE /orgstructure/Sec4/parent/CourseB POST…
-
How to move section(s) to a different course offering? Valence
I have two course offerings with three sections in each and I want to move all sections under one course. * CourseA * Sec1, Sec2, Sec3 * CourseB * Sec4, Sec5, Sec6 I tried removing the parent relationship with CourseB from Sec4,5,6 and adding CourseA as their parent. DELETE /orgstructure/Sec4/parent/CourseB POST…
-
Valence UI... what happened to it?
Hi all, I was just checking on the documentation for the vui as I was telling a colleague about it... http://ui.valence.d2l.com/ seems to be pointing to a 404 error now.... what happened to it? Did vui moved from bower to something else?
-
3 months later - your progress with IPSIS?
There was a very informative session at Fusion about IPSIS where it was clear that many schools were patiently waiting to learn more before moving forward with IPSIS. We're a Banner Real-Time users (which is end of support in May 2019) and had a few concerns so I thought I'd list them and see if anyone else had made any…
-
Is there an API call to retrieve list of all courses with orgUnitId's?
I am looking for a specific non-course and I need a way to dynamically retrieve the orgUnitIds.
-
How do I make iframe responsive in Daylight?
I am currently testing Daylight for the August release. My organization uses Vimeo for videos. The height and width requirements for iframe just make it look bad in the right hand column of the new homepage. I found some CSS code for responsive iframes, but I'm not a coder and don't know how to put it into the HTML editor…
-
How do the geotag metadata for ePortfolio objects get populated?
According to the API documentation, ePortfolio objects can be geotagged. (http://docs.valence.desire2learn.com/res/epobject.html ) As I support a Geography course, I can see some potential use cases for this functionality. Does anybody know how that gets populated? I was hoping that for images that had geotagging data in…
-
How to establish connection and make API calls to Brightspace (to create a user and enroll the us...
I have a web application that handles user authentication. Once the user is logged in, his/her eligibility for a course is checked (internal logic). If user is eligible for a course, I would like to make API call to enroll this user to the course and generate a link that can be used by the user to start course learning…
-
File Upload in a folder in Assignment
I am using below API for file upload. /d2l/api/le/(version)/(orgUnitId)/dropbox/folders/(folderId)/submissions/mysubmissions And for the authentication, I use ID/Key-based authentication system with my super user account. The issue is that, whenever I upload a file, the file is always under the name of super user account.…
-
Using Valency API in content page
I am trying to add a module of html page in Table of Content. I want to add a button in the page which uses valency API. I am not sure how to accomplish this because I am struggling getting OAUTH token. I setup OAUTH application in setting. When I click the button in the page I made, it you redirect to oauth page and then…
-
Using Valency API in content page
I am trying to add a module of html page in Table of Content. I want to add a button in the page which uses valency API. I am not sure how to accomplish this because I am struggling getting OAUTH token. I setup OAUTH application in setting. When I click the button in the page I made, it you redirect to oauth page and then…
-
Is there an API call to retrieve list of all courses with orgUnitId's?
I am looking for a specific non-course and I need a way to dynamically retrieve the orgUnitIds.
-
How do I make iframe responsive in Daylight?
I am currently testing Daylight for the August release. My organization uses Vimeo for videos. The height and width requirements for iframe just make it look bad in the right hand column of the new homepage. I found some CSS code for responsive iframes, but I'm not a coder and don't know how to put it into the HTML editor…
-
How do the geotag metadata for ePortfolio objects get populated?
According to the API documentation, ePortfolio objects can be geotagged. (http://docs.valence.desire2learn.com/res/epobject.html ) As I support a Geography course, I can see some potential use cases for this functionality. Does anybody know how that gets populated? I was hoping that for images that had geotagging data in…
-
How to establish connection and make API calls to Brightspace (to create a user and enroll the us...
I have a web application that handles user authentication. Once the user is logged in, his/her eligibility for a course is checked (internal logic). If user is eligible for a course, I would like to make API call to enroll this user to the course and generate a link that can be used by the user to start course learning…
-
File Upload in a folder in Assignment
I am using below API for file upload. /d2l/api/le/(version)/(orgUnitId)/dropbox/folders/(folderId)/submissions/mysubmissions And for the authentication, I use ID/Key-based authentication system with my super user account. The issue is that, whenever I upload a file, the file is always under the name of super user account.…
-
Using Valency API in content page
I am trying to add a module of html page in Table of Content. I want to add a button in the page which uses valency API. I am not sure how to accomplish this because I am struggling getting OAUTH token. I setup OAUTH application in setting. When I click the button in the page I made, it you redirect to oauth page and then…
-
Setting dropbox "out of"/ScoreDenominator from API
I'm trying to create an assignment dropbox and a new grade item from the API, with the dropbox linked to the new grade item. Everything works in isolation, but when I add the AssociatedTool parameters to the call which creates the Grade object (to link it to the dropbox), it generates a 500 error. Trial and error has shown…
-
What is the proper format for making an AJAX PUT request?
I am trying to make an API call to set a specific Grade Value for a Learner. Here is the ajax call I am making to try and accomplish this. $.ajax({ url: '/d2l/api/le/1.26/6711/grades/319/values/184', type: 'PUT', data: { "Comments": { "Content": "", "Type": "Text" }, "PrivateComments": { "Content": "", "Type": "Text" },…
-
How to interpret data returned when making banner image API call?
Hi there, My team is currently creating a custom student dashboard widget for the main homepage. Pulling the various course information is working, but when trying to make the banner image call, we've hit a snag. This is the API call: GET /d2l/api/lp/(version)/courses/(orgUnitId)/image And although there isn't any…
-
Unable to create a Grade.GradeObject using OAuth 2.0 API
While trying to create a create a gradeObject (POST /d2l/api/le/(version)/(orgUnitId)/grades/) using the API vide OAuth 2.0, I receive the following error { "type": "http://docs.valence.desire2learn.com/res/apiprop.html#json-binding-error", "title": "JSON Binding Error", "status": 400, "detail": "Provided JSON is invalid…
-
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…
-
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 the...
We are using this call: GET /d2l/api/lp/1.9/orgstructure/{orgUnitId} Is there a way to get those roles access? There is nothing about restricted access to this information in the API documentation.
-
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…