How to set up all course options in left menu (Learning path, Tracking etc) LMSContext.Current.Organization.Courses.Add() method

Problem: 

How to set up all course options in left menu (Learning path, Tracking etc) LMSContext.Current.Organization.Courses.Add() method

Solution:

 

CourseOption options = course.CourseOptions = organization.CourseOptions;  course.TeacherOptions = options & CourseOption.AllTeacherOptions;  course.LearnerOptions = options & CourseOption.AllLearnerOptions; 

 

You can add/hide left menu options like in the example shown below: 
course.TeacherOptions = CourseOption.LearningPaths | CourseOption.Gradebook | CourseOption.Attendance;

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.