Hide Course Navigation links from TAs or Teachers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
When I hide an item from the Course Navigation setting inside a course it by default only hides from students. There is a way to hide from another user? for example TAs or Teachers?
It looks like have a way to do it via API, but that will not be my case now.
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I saw this API below example on this discussion: Is it possible to hide an items in the course navi... - Instructure Community (canvaslms.com)
PUT /api/v1/courses/896851/tabs/files?hidden=1
But the API call needs to be done by each course. Fore sure JS looks much simple. I'll test in my beta environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are correct just tested it. The API I mention is the same thing that goes to Settings and hide it, so only for students.
I also tried the JS method, but on the other hand, it hides from the HTML rendering, so even the admin stop to see it.
Do you know if it's possible to the below run for a specific role? Meanwhile, I'll test the Student alternative.
$(document).ready(function(){
$('a.syllabus').hide();
});