Send to Canvas a file with "wrong" enrollments that need to be deleted (2024)

Skip to main content

Learn about Community

Sign In

You're signed out

Sign in to ask questions, follow content, and engage with the Community

Sign In

'; hoverCardInner.innerHTML = loadingHTML.repeat(4); hoverCardContainer.classList.add('profile-hover-card-show'); // Extract information from the image element const titleField = avatar.getAttribute('title'); const userInfoUrl = `https://${mainURL}/api/2.0/search?q=SELECT first_name, last_name, login, view_href, rank, topics, solutions_authored, id, email FROM users WHERE login = '${titleField}'`; const userPostsUrl = `https://${mainURL}/api/2.0/search?q=SELECT count(*) FROM messages WHERE author.login = '${titleField}'`; const userSolutionsUrl = `https://${mainURL}/api/2.0/search?q=SELECT count(*) FROM messages WHERE author.login = '${titleField}' AND is_solution = true`; const userBadgesUrl = `https://${mainURL}/api/2.0/search?q=SELECT user_badges from users where login = '${titleField}'`; // Fetch user information async function createProfileData() { const userInfo = await fetch(userInfoUrl); const userPosts = await fetch(userPostsUrl); const userSolutions = await fetch(userSolutionsUrl); const userBadges = await fetch(userBadgesUrl); const userInfoData = await userInfo.json(); const userPostsData = await userPosts.json(); const userSolutionsData = await userSolutions.json(); const userBadgesData = await userBadges.json(); const userBadgesArray = userBadgesData.data.items[0].user_badges.items; const earnedBadgesArray = userBadgesArray.filter(badge => badge.earned_date); earnedBadgesArray.sort((a, b) => new Date(b.earned_date) - new Date(a.earned_date)); const userRankName = userInfoData.data.items[0].rank.name; const userID = userInfoData.data.items[0].id; // const userKudosUrl = `https://${mainURL}/restapi/vc/users/id/${userID}/metrics/name/net_kudos_events_received?restapi.response_format=json`; const userKudos = await fetch(userKudosUrl); const userKudosData = await userKudos.json(); let fullName = userInfoData.data.items[0].login; if (userInfoData.data.items[0].first_name !== undefined && userInfoData.data.items[0].last_name !== undefined) { let firstName = userInfoData.data.items[0].first_name; let lastName = userInfoData.data.items[0].last_name; fullName = firstName + " " + lastName; } else { fullName = userInfoData.data.items[0].login; } let userRankIcon = ""; if (userInfoData.data.items[0].rank.icon_left !== undefined) { userRankIcon = userInfoData.data.items[0].rank.icon_left; } else { userRankIcon = ""; } let userEmail = ""; // <#if user_has_role> if (userInfoData.data.items[0].email !== undefined) { userEmail = userInfoData.data.items[0].email; } else { userEmail = ""; } // <#else> userEmail = ""; // #if> const userViewHref = userInfoData.data.items[0].view_href; const userPostsCount = userPostsData.data.count; const userSolutionsCount = userSolutionsData.data.count; const userKudosCount = userKudosData.response.value.$; const userBadgesCount = earnedBadgesArray.length; let badgesHTML = ""; if (earnedBadgesArray.length === 0) { badgesHTML = `

This user hasn't earned any badges yet.

`; } else { for (let i = 0; i < earnedBadgesArray.length; i++) { const badgeName = earnedBadgesArray[i].badge.title; const badgeIcon = earnedBadgesArray[i].badge.icon_url; const badgeHTML = `

Send to Canvas a file with "wrong" enrollments that need to be deleted (12)

`; badgesHTML += badgeHTML; if (i >= 4) { break; } }; } const hoverCardHTML = `

${fullName}

Send to Canvas a file with "wrong" enrollments that need to be deleted (13)${userRankName}

${userEmail}

${badgesHTML}

${userPostsCount} posts ${userKudosCount} likes ${userSolutionsCount} solutions

`; // // Display the hover card return hoverCardHTML; } if (hoverCardInner.innerHTML.includes('loading-box')) { createProfileData().then((hoverCardHTML) => { hoverCardInner.innerHTML = hoverCardHTML; }); } } }); //Hide the hover card on mouseout avatar.addEventListener('mouseout', () => { const hoverCardContainer = avatar.nextElementSibling; hoverCardContainer.classList.remove('profile-hover-card-show'); }); hoverCardInner.addEventListener('mouseout', () => { const hoverCardContainer = avatar.nextElementSibling; hoverCardContainer.classList.remove('profile-hover-card-show'); }); hoverCardInner.addEventListener('mouseover', () => { const hoverCardContainer = avatar.nextElementSibling; hoverCardContainer.classList.add('profile-hover-card-show'); }); }); });

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Showonly | Search instead for

Did you mean:

  • Community
  • Canvas
  • Canvas LMS
  • Canvas Question Forum
  • Send to Canvas a file with "wrong" enrollments tha...

Options

  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page

`; const toolTip = document.createElement('div'); toolTip.classList.add('like-button-tooltip'); toolTip.innerHTML = toolTipCode; likeButton.appendChild(toolTip); } document.addEventListener('DOMContentLoaded', function () { const likeButton = document.querySelector('.lia-button-image-kudos'); const likeButtonLink = document.querySelector('.kudos-link'); let likeDismissCookie = localStorage.getItem("inst_comm_like_dismiss"); if (!likeDismissCookie) { localStorage.setItem("inst_comm_like_dismiss", "-1"); loginDate = -1; } if (likeDismissCookie !== "-1") { // toolTip.style.display = 'none'; const storedTime = new Date(parseInt(loginDate)); const currentTime = new Date(); if (storedTime.getTime() < currentTime.getTime()) { localStorage.setItem("inst_comm_like_dismiss", "-1"); } } else { createToolTip(likeButton, likeButtonLink); const toolTip = document.querySelector('.like-button-tooltip'); const toolTipClose = document.querySelector('.like-button-tooltip-close'); const observer = new IntersectionObserver(entries => { entries.forEach(entry => { if (entry.isIntersecting) { toolTip.style.display = 'block'; setTimeout(() => { toolTip.style.opacity = '1'; }, 2000); // toolTip.style.animationName = 'toolTipFlash'; // Stop observing once elementOne is visible observer.unobserve(likeButton); } }); }); // Start observing elementTwo observer.observe(likeButton); likeButtonLink.addEventListener('click', () => { toolTip.style.display = 'none'; }); if (toolTipClose) { toolTipClose.addEventListener("click", function () { const now = new Date(); const fourteenDays = new Date(now.getTime() + 14 * 24 * 60 * 60 * 1000); // Adding 24 hours in milliseconds const epochTime = fourteenDays.getTime(); // Getting the epoch time in milliseconds localStorage.setItem("inst_comm_like_dismiss", epochTime); toolTip.style.display = 'none'; }); } setTimeout(() => { toolTip.style.opacity = '0'; setTimeout(() => { toolTip.style.display = 'none'; }, 500); // Fade out duration (0.5 seconds) + delay (0.5 seconds) = 1 second }, 15000); // Hide after 10 seconds (including 2-second fade-in delay) } });

Send to Canvas a file with "wrong" enrollments that need to be deleted

Jump to solution

Wednesday

We have in Canvas courses that have no enrollments; is there a way to send a file with those "wrong" sections and have them deleted/removed from Canvas?

Solved!Go to Solution.

Labels (1)

Labels

  • Labels:
  • Admin

I also have this question

0Likes

1 Solution

Jump to solution

Send to Canvas a file with "wrong" enrollments that need to be deleted (15)

Send to Canvas a file with "wrong" enrollments that need to be deleted (16)mzimmerman

Community Coach

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

Wednesday

Hi@FatouThiam

How were the courses created?

If they were created by importing a feed file using the SIS Import process, then you can send another feed file through with the "bad" courses having a status of "deleted", and they will be naked as deleted by the system. Seehttps://community.canvaslms.com/t5/Canvas-Basics-Guide/What-are-SIS-Imports/ta-p/47

However, if the courses were manually created via the GUI, then you would not be able to use the SIS Imports process to delete them...at least not without doing some additional work to add an SIS ID setting to each of the courses.

View solution in original post

This reply answered my question

2Likes

  • All forum topics
  • Previous Topic
  • Next Topic

2 Replies

Jump to solution

Send to Canvas a file with "wrong" enrollments that need to be deleted (17)

Send to Canvas a file with "wrong" enrollments that need to be deleted (18)mzimmerman

Community Coach

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

Wednesday

Hi@FatouThiam

How were the courses created?

If they were created by importing a feed file using the SIS Import process, then you can send another feed file through with the "bad" courses having a status of "deleted", and they will be naked as deleted by the system. Seehttps://community.canvaslms.com/t5/Canvas-Basics-Guide/What-are-SIS-Imports/ta-p/47

However, if the courses were manually created via the GUI, then you would not be able to use the SIS Imports process to delete them...at least not without doing some additional work to add an SIS ID setting to each of the courses.

This reply answered my question

2Likes

Jump to solution

Send to Canvas a file with "wrong" enrollments that need to be deleted (19)

Send to Canvas a file with "wrong" enrollments that need to be deleted (20)chriscas

Community Coach

In response to mzimmerman

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

Thursday

Totally agree with this.

One thing I wanted to add is that the "empty" course shells may be a result of crosslisting sections from that course to another one. In that case, you may want to keep the empty shells around just in case someone de-crosslists a section, as that section would need to revert back to the original course. If the original course is deleted when trying to do that, you may get an error or end up with a very weird and unexpected situation which might be hard to resolve.

-Chris

2Likes

Send to Canvas a file with "wrong" enrollments that need to be deleted (21)

Unanswered Topics

  • As an Instructor, I want to add several pages to s...

  • I need to upload a large test bank where each ques...

  • "Denied Access" for material shared between instru...

  • Assigning different due dates to multiple sections

  • Canvas Groups for Cross-Listed Sections

View All

Latest Topics

  • As an Instructor, I want to add several pages to s...

  • Canvas Gradebook

  • I need to upload a large test bank where each ques...

  • Does Canvas only allow for 27 lines of embedded ht...

  • "Denied Access" for material shared between instru...

View All

View our top guides and resources:

Find My Canvas URL Help Logging into Canvas Generate a Pairing Code Canvas Browser and Computer Requirements Change Canvas Notification Settings Submit a Peer Review Assignment

To participate in the Instructure Community, you need to sign up or log in:

Sign In

Send to Canvas a file with "wrong" enrollments that need to be deleted (2024)

FAQs

What happens if you submit the wrong assignment? ›

Your best course if action is to contact your instructor, explain what happened, and ask your instructor to reopen the assignment for you.

How do you delete a file you submitted on Canvas? ›

In the "Files" section of your course, click the three dots icon to the right of the item you wish to delete. Click "Delete."

When you resubmit on Canvas, do they see the original? ›

Resubmissions: If students resubmit an assignment to Canvas, instructors will be able to see the originality scores and reports for both original and subsequent submissions.

Can a teacher delete a submitted assignment on canvas? ›

The option to delete assignment submissions is only available to admins that have been granted the Users - Act As permission. Only file upload assignment submissions can be deleted by an admin.

What is the best excuse for not submitting an assignment? ›

Good Excuses for Late Assignments
  • Personal injury or illness. If there was a sudden injury or illness that made it hard for you to complete the assignment on time, it is a good reason to ask for the deadline to be extended. ...
  • Family emergency. ...
  • Technical issues. ...
  • Unforeseen events. ...
  • Academic overload.
May 23, 2024

Can you delete submission comments on Canvas? ›

To delete your comment, click the Delete icon [1], then click the confirm delete link [2]. Note: Deleting your comment retains your name and shows that the comment has been deleted. Deleted comments cannot be recovered.

How do I undo a delete assignment in Canvas? ›

Undeleting a Page, Assignment, or Other Item

Go to the Home page of the course. Type /undelete In the address bar at the end of the course URL. Hit Enter/Return. The page that appears will contain a list of recently deleted items with restore buttons next to them.

How do I delete something embedded in canvas? ›

How do I delete media in Canvas Studio?
  1. Locate Media.
  2. Locate Shared or Embedded Media.
  3. Open More Options.
  4. Delete Media.
  5. Confirm Delete.

How do I delete content in Canvas? ›

The bulk delete option in Canvas is called "reset course content." You can do this by navigating to your Course Settings and selecting the option on the right-hand navigation menu. Please note that once you have reset your course content, all of that content has been permanently removed and cannot be recovered.

How do I fix file storage quota exceeded on Canvas? ›

The fix to this is to go into canvas, click on your profile picture. Then click on the option for “Files.” This will bring up a new window where you can manage your uploaded files. Most of the time the “Conversation attachments” folder is the one that gets filled up and cause this error.

Can you take back a submission on Canvas? ›

After the due date, you can't unsubmit your work. If your assignment doesn't have a due date, you can unsubmit your work at any time. Be sure to check with your instructor for specific requirements.

How many times can you resubmit on Canvas? ›

Depending on the assignment's settings, students may have unlimited or limited assignment submission attempts. Instructors decide whether to allow multiple submissions or limit the assignment to just one submission.

Can professors see submission history on Canvas? ›

Instructors can see when students have submitted assignments in the Canvas course and see the gradebook history for students. Go to People in the Navigation Menu. The list of the time and activities viewed will appear for the student.

What if I accidentally submit the wrong assignment on Turnitin? ›

If you have uploaded the wrong file in error you may be able to upload a new assignment file prior to the assignment deadline. This process will overwrite your original submission. The ability to resubmit your assignment depends on how the assignment submission has been set up.

What happens if you submit the wrong essay to a college? ›

If you realize you've made a mistake, don't panic. College admissions officers aren't going to nitpick over a minor error, but several errors may show you in a bad light. If you have significant errors or omissions, reach out to the admissions office of the college you applied to.

What happens if you get caught cheating on an assignment? ›

Failing the assignment/exam: In many cases, students caught cheating will receive a failing grade on the assignment or exam in question. 2. Failing the course: Depending on the severity of the violation, you could receive a failing grade for the entire course, even if it's your first offense.

How do I email a professor about submitting the wrong assignment? ›

Dear [Teacher's Name], I hope this email finds you well. I am writing to inform you that I mistakenly submitted the wrong assignment for [Course Name/Assignment Title]. I deeply apologize for any confusion caused and kindly request an opportunity to submit the correct assignment for evaluation.

Top Articles
Latest Posts
Article information

Author: Msgr. Refugio Daniel

Last Updated:

Views: 5478

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Msgr. Refugio Daniel

Birthday: 1999-09-15

Address: 8416 Beatty Center, Derekfort, VA 72092-0500

Phone: +6838967160603

Job: Mining Executive

Hobby: Woodworking, Knitting, Fishing, Coffee roasting, Kayaking, Horseback riding, Kite flying

Introduction: My name is Msgr. Refugio Daniel, I am a fine, precious, encouraging, calm, glamorous, vivacious, friendly person who loves writing and wants to share my knowledge and understanding with you.