[LON-CAPA-users] spreadsheet access folder name?
Tue, 10 Jan 2006 18:40:14 -0500
i currently have 8 different flavors of assessment spreadsheets:
diagnostic, final exam, homework, lab, project, quiz, test, and
and that works fine, setting each resource individually, except when
i have a homework assignment with 15 problems, it is a little time
consuming to go in and manually set each of those assessments. so i
was hoping that i could have the lon-capa do it automatically, based
on folder title and due date.
sounds like it is a possibility with the latest versions of the
spreadsheet and lonnet. thanks a bunch for the heads up about the
keep up the good work!
On Jan 10, 2006, at 11:43 AM, Guy Albertelli II wrote:
> Hi Jon,
>> if i have a bunch of problems in located in folders named:
>> Homework 14A
>> Lab: Centripetal Motion
>> Lab: Simple Pendulum
>> Homework 14B
>> Quiz 14.1
>> how can i reference that information in the assessment-level
>> i.e. how do i code
>> if (folder name contains 'Homework')
>> calculation 1;
>> calculation 2;
> You can however set what assessment level spreadsheet is used on a per
> resource basis.
> So you could create 2 assement level sheets and use one for all the
> Homeworks and a different one for the labs, quizzes, etc.
> But for the next version one should be able to do
> &EXT('resource.title') to get the current resource's title
> &EXT('resource.map') to get the internal name of current resource
> folder (or sequence or page)
> and combine them:
> To get the title of the current resources folder.
> (If you are want to try testing these changes out, you'll need to
> patch in:
> Spreadsheet.pm 1.61
> lonnet.pm 1.693
> firstname.lastname@example.org 0-7-1-8-27,137
> LON-CAPA-users mailing list