I have created a API script (with the generous help of Hack Night) that copies content (2 wiki pages) and a folder of images from a template course into 250 courses (updates with sequential execution). The course shells are already created. Using the API I can set the front page etc, everything works great. Then discovered I cannot set the default view of the course through the API. The course object has 'default_view', but there is no way to change this. I want to set this to 'wiki', so that the course uses the wiki front page as the course home.
<SPAN class="com" style="color: #880000;">//the type of page that users will see when they first visit the course - 'feed':</SPAN><SPAN class="pln"><BR /></SPAN><SPAN class="com" style="color: #880000;">//Recent Activity Dashboard - 'wiki': Wiki Front Page - 'modules': Course</SPAN><SPAN class="pln"><BR /></SPAN><SPAN class="com" style="color: #880000;">//Modules/Sections Page - 'assignments': Course Assignments List - 'syllabus':</SPAN><SPAN class="pln"><BR /></SPAN><SPAN class="com" style="color: #880000;">//Course Syllabus Page other types may be added in the future</SPAN><SPAN class="pln"><BR /></SPAN><SPAN class="str" style="color: #008800;">"default_view"</SPAN><SPAN class="pun" style="color: #666600;">:</SPAN><SPAN class="pln"> </SPAN><SPAN class="str" style="color: #008800;">"feed"</SPAN><SPAN class="pun" style="color: #666600;">,</SPAN>
Has anyone found a workaround?