[LON-CAPA-users] using &submission() between problems

Mills, Douglas G dmills at illinois.edu
Tue Dec 15 11:44:38 EST 2015


Just to confirm -- it appears to me that the symb is unique to the
resource and independent of the course, is that correct?

Thanks,

Doug

Douglas Mills
Director of Instructional Technology
Department of Chemistry
University of Illinois







On 12/14/15, 4:57 PM, "lon-capa-users-bounces at mail.lon-capa.org on behalf
of Stuart Raeburn" <lon-capa-users-bounces at mail.lon-capa.org on behalf of
raeburn at msu.edu> wrote:

>Bob,
>
>The syntax is described in the LON-CAPA Script Functions help item:
>e.g.,
>http://loncapa.chem.binghamton.edu/adm/help/Problem_LON-CAPA_Functions.hlp
>
>To access a student's submissions in a different problem you need to
>supply a sixth argument -- a maplias, and the call is:
>
>&submission($partid,$responseid,$version,$encode,$cleanupnum,$mapalias);
>
>In the case of a published sequence, where you have authoring or
>co-authoring rights, you can set a mapalias for a particular resource
>in the sequence using the Advanced Editor in Authoring Space (prior to
>publication).
>
>If there is no mapalias set you can use the (much longer) unique
>identifier of the resource instance (known as the "symb"). If you are
>using a folder added via the Course Editor rather than a published
>sequence, there is currently no mechanism to set a mapalias for a
>particular resource instance in the folder (which is actually still a
>sequence internally in LON-CAPA), so you will have to use the "symb".
>
>You can display a list of "symb"s in a course using:
>Course Editor > Content Utilities >  List Resource Identifiers
>(the "symb"s are in the "Identifier" column).
>
>
>Stuart Raeburn
>LON-CAPA Academic Consortium
>
>
>Quoting Bob Gonzales <rgonzal at binghamton.edu>:
>
>> Hi,
>>
>> The release notes for 2.11.1 say this about &submission():
>>
>> &submission() in one problem can access submissions by the same student
>>     in a different problem.
>>
>> Does this mean any problems in a course that the student has access to
>>or
>> do the problems still have to be in a sequence?
>>
>> If a sequence is not required then what would be the the syntax of the
>>call?
>>
>> Thanks,
>> Bob Gonzales
>> Binghamton University
>> Chemistry Dept
>
>_______________________________________________
>LON-CAPA-users mailing list
>LON-CAPA-users at mail.lon-capa.org
>http://mail.lon-capa.org/mailman/listinfo/lon-capa-users



More information about the LON-CAPA-users mailing list