[Building Sakai] how should lesson builder's site copy handle tests and assignments?

Hedrick Charles hedrick at rutgers.edu
Thu Mar 22 16:07:00 PDT 2012


I've started coding now. I think it will be fairly easy, as long as you have 2.8 or later. The necessary API doesn't exist in 2.7.

Currently Im going to try and treat Samigo like assignments. The link will copy, but it won't work until the assessment is published. This will require some magic, but I think I can do it. I'm not sure quite why hiding multimedia and resource helps with this problem. Those are mapped already (I think – I'll check it).


On Mar 22, 2012, at 6:46:38 PM, Firdyiwek, Yitna (ybf2u) wrote:

> The way we have accomplished this at UVa is to have all entity references in html files (except references to Samigo and JForum entities) to be updated when sites are copied.  This gives our users granular control over the links they embed in html files as they copy their content using the Import from Site tool in Site Info.  (Duplicate Site does not do this.)  
> 
> We have also ported our solution into Lesson Builder and it works well as long as users do not use the Add Multimedia, Add Resource, Add Assignment and Add Forum tools in LB which we have disabled (via Property settings). They can, of course, access those entities through html.  We left LB's Add Quiz for two reasons:  We really liked LB's utilization of Samigo for sequencing pages, and second, we think requiring users to relink Samigo entities was not too much to ask. We certainly do not want to publish a quiz by default.  In fact, we also leave Assignments in Draft mode (though there, it's just a matter of publishing the assignment, not relinking). 
> 
> It's great news if you can fix LB so the tools we disabled could be copied with updated links.  We are ready to share any of our code to do this.  
> 
> Yitna
> 
> 
> Yitna Firdyiwek, PhD
> Faculty Consultatnt in Instructional Technology
> Advanced Technology Group, ITS
> University of Virginia
> 434.979.1124
> ybf2u at virginia.edu
> http://faculty.virginia.edu/firdyiwek 
> 
> 
> 
> -----Original Message-----
> From: sakai-dev-bounces at collab.sakaiproject.org [mailto:sakai-dev-bounces at collab.sakaiproject.org] On Behalf Of Charles Hedrick
> Sent: Tuesday, March 20, 2012 4:36 PM
> To: sakai-dev at collab.sakaiproject.org Developers
> Subject: [Building Sakai] how should lesson builder's site copy handle tests and assignments?
> 
> I'm about to start fixing site copy in Lesson Builder to map entities from the old site to the new site. Currently if you have a reference to a test, assignment or forum, the new site gets a dummy reference. It's not that hard to update the reference to point to the corresponding object in the new site.
> 
> However there are issues:
> 
> * In assignments, you can't actually use the new assignment until you publish it. It starts out as draft. The gives you a chance to review things like due date, which typically need to be different. If I do the obvious update, the link in the new site will be to the right object, but it won't work until the assignment is published. Should I publish it?
> 
> * In Samigo, it's even harder. Lesson Builder points to published assessments, since that's what students use. BUt when you copy a site you get only the core assessments. Nothing is published. That's reasonable, since there are changes you can't make after publishing, and you'd like to give the instructor a chance to review the assessment before publishing it.
> 
> In this case I can't insert a pointer at all. I have no idea what the published assessment ID will be. I could certainly publish the test myself as part of the copy and put in a reference to the published copy. Of course that assumes that there is still a corresponding core assessment, and it has the same name as the published assessment. That's not always true. SHould I try to publish something?
> 
> Mneme is easier. It has only one type of assessment. To publish something you just change a flag. Should I put in a pointer to the assessment in the new site, but leave it unpublished (and thus nonfunctional)?
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



More information about the sakai-dev mailing list