AnsweredAssumed Answered

Removing Elements of CourseToc

Question asked by cz0070476 on Mar 15, 2018
Latest reply on Mar 22, 2018 by cz0070476


Hi Blackboard Community,

 

I am trying to create a building block that deletes all of the left nav items first, then takes all items from a course template that is copied over to the new course. I do not see anywhere in the documentation to remove certain elements from the left navigation system for java classes (blackboard.data.navigation.CourseToc) nor do I see anything as far as APIs go. Can anyone provide documentation on how to delete these left nav elements?

Looking for something like this:

 

CourseToc courseToc = new CourseToc();
courseToc.setCourseId(course_id);
courseToc.setTargetType(CourseToc.Target.APPLICATION);
for(int i = 0; i < courseToc.length-1; i++){
     courseToc.removeElement(i);
}

 

Am I just barking up the wrong tree or is this possible in similar respects?

 

Thanks,

- Cody

Outcomes