AnsweredAssumed Answered

Create course from template

Question asked by rafael.canelas on Sep 28, 2016

Hi.

 

I am trying to create a course with a template.

 

I was trying to use the following:

Course cs=new CourseSite();

cs.setCourseId("MyCourseId");

cs.setBatchUId("MyCourseId");

cs.setTitle("MyCourseTitle");

cs.setTemplateBatchUid("BatchUId");

CourseSiteDbPersister.Default.getInstance().insert(course);

 

Although the course is created, it doesn't seem to use the template to create the menus.

 

Can someone help?

 

Thanks,

Rafael

Outcomes