Register for InstructureCon25 • Passes include access to all sessions, the expo hall, entertainment and networking events, meals, and extraterrestrial encounters.
Found this content helpful? Log in or sign up to leave a like!
Last Fall Canvas added the ability to set a date on pages so that they appear in the student to do list:
Unfortunately, there is no information about this functionality available in the Pages API.
I can view that date using the List pages or Show page API
I have tried the typical Update/create page api pattern for updating page information by passing wiki_page[todo_date] but that doesn't appear to do anything.
Anyone worked with this yet, or any of the awesome Canvas Engineers have any information on how to set this date through the API?
Thanks fo any insights!
Solved! Go to Solution.
Try: student_todo_at instead of todo_at
Here's a screenshot of what Canvas sends when it does it (from the network tab on the developer tools)
Canvas does use the API to update this, with a PUT method.
Try: student_todo_at instead of todo_at
Here's a screenshot of what Canvas sends when it does it (from the network tab on the developer tools)
Canvas does use the API to update this, with a PUT method.
Excellent info. We just had this come up with our Worldwide courses, and I'll pass this to our development folks.
As always @James , you are a genius! Thank you immensely for your help.
Looking at the network tab of the browser's developer tools has helped me a lot. Since I'm not a Ruby programmer, it's easier for me to make sense out of what Canvas is sending than trying to find the place in the source code that explains it and try to understand it. I have found that with most create or update operations, you have to turn on the option to persist the logs because the PUT is the first thing it does when you click update, but then it reloads the page and wipes the log so you can't see what it did.
Thanks for that tip. I didn't know there was a way to persist the logs, I was trying to see if I could identify what they were sending but the reload was preventing that. I will have to find the persist option.
There's a checkbox near the top of the Network tab. In Firefox, it's called Persist Logs. In Chrome it's called Preserve log. I'm not sure where it's at in Safari.
Chrome:
Firefox:
To interact with Panda Bot in the Instructure Community, you need to sign up or log in:
Sign In