[LON-CAPA-users] using &submission() between problems
raeburn at msu.edu
Mon Dec 14 17:57:37 EST 2015
The syntax is described in the LON-CAPA Script Functions help item:
To access a student's submissions in a different problem you need to
supply a sixth argument -- a maplias, and the call is:
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
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).
LON-CAPA Academic Consortium
Quoting Bob Gonzales <rgonzal at binghamton.edu>:
> 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?
> Bob Gonzales
> Binghamton University
> Chemistry Dept
More information about the LON-CAPA-users