We looked for any options API-wise but no luck.
Any suggestions/work-arounds, please?
Thank you for your time and help with this.
Hi irishb...
This sounds like a good question to have over in the Canvas Developers Group. Would you mind if I moved it over there? You may need to join that group to continue the conversation.
irishb,
I'm not sure exactly what you're trying to accomplish.
In the Calendar API, there is an endpoint to Update a calendar event.
The first item there is calendar_event[context_code], which says it's "Context code of the course/group/user whose calendar this event should be added to." That makes it sound like it's the calendar something should belong to and by setting that value, you could change the calendar an event belongs to.
So, it sounds like if you do a Get a calendar event and do a Put with a different context_code, it should move it.
That's for a calendar event. For an assignment, it seems that it should always be associated with a course, so I'm not sure that it's changeable.
But you wrote that you looked in the API, so that's why I wrote I'm not quite sure what you're asking for. Maybe an example of what you're trying to do would help.
Disclaimer: I've not used the Calendar Events API, I'm just reading the docs, so I may be missing something there where it says one thing and doesn't actually do it.
I don't know of a way to change an event once you have created it. But if adjust your calendar settings before you start creating events, so that only the destination calendar shows, then whatever events you create will default to that calendar.
For example, let's say you're inputting office hours for ABC 123. Go into the calendar and turn off/hide all other courses and your personal calendar. Now, whenever you create an event, it will default to ABC 123.
I know this isn't exactly what you asked for, but maybe it will help someone in the future?
irishb, is one of the solutions provided working for you? And/or would you like to take up @Chris_Hofer on his offer to share your question with the Canvas Developers group?
In most cases I would just advise that you create a new event in the other calendar and then delete the one in the first calendar. I've had to do that myself plenty of times.
@James and @Beth_Young and @scottdennis
(Meant to post this Aug 24th...)
Thank you so much for your input, I really appreciate it.
One of our faculty created a ton of "events" (for the entire term)
under her own calendar instead of the course calendar
so we were looking for an easier fix than deleting and re-creating.
The faculty has a better understanding of how to work with the Calendar now ; )
and I hope to revisit the Calendar API soon to try out your suggestion, James.
Thank you again,
Bridget
Hi irishb,
I am going through having a look at some of the early days in the Canvas Developers group, and checking in to see if older enquiries have been answered. I also noticed there hasn’t been any discussion on this question in quite some time.
I am wondering, were you ever able to resolve this with the assistance provided? I am hoping I can assume that it is well and truly resolved by now, but if not, please let us know and we can certainly have another look. Alternatively, if have some insights you may be able to share for others that would be awesome too!
I will mark this as assumed answered for the time being, however, by all means please let us know if you still have an outstanding question and we will take a peek!
Cheers,Stuart
Hello, I was thinking of this a while ago and have been trying to message Canvas support about this but they suggested here but not which category. I apologize if this is the wrong spot. When messaging students right now we need to message one by one. I would like to know if there is a way we can change that to streamline…
I'm building a tool for my institution that imports grades from another LTI tool into Canvas so instructors can automate late assignment policies not otherwise supported by Canvas. I'm trying to use the LTIv1.3 ID which is readily available on the LTI-side as a link to the student record on Canvas, but I can't find the ID…
How can one track Canvas Media use without having the reports available from Canvas Studio? Checking API endpoints and the Data 2 schema, there do not seem to be dedicated Canvas Media endpoints. Am I missing some? A method I've considered is using the body field of the wiki_pages table, as this contains the html code of…
Hello, I'm trying to utilize an API call to pull completed certificates and was hoping to download and store the certs as a backup. I can successfully run the API call but it will not allow me to view the certificate unless I access the URL while signed into an account where it's "my" cert. Is there a permissions setting…
UI for weekly progression idea that rest in the Schedule tab of the **K-12 UI** of Canvas it's incomplete and I really would not take it and push it into instance but I am going to post it here because in the past people like @James && @robotcars || @Steve_25 have had terrific input in the past... maybe w/their eyes and…