[LON-CAPA-users] EXT question
lon-capa-users@mail.lon-capa.org
lon-capa-users@mail.lon-capa.org
Tue, 12 May 2009 10:15:15 -0400
<font size=3D"2">Once again, I am trying to use the powerful &EXT const=
ruct to retrieve information from LonCapa. I think this is supposed to be p=
ossible, but I can't guess the syntax after a couple of hours.<br><br>The s=
etup:<br><br>Problem1.problem<br><problem><br><part id=3D"A"><b=
r><numericresponse id=3D"answer"><br>...<br><br>Problem2.problem<br>&=
lt;problem><br><br><script><br>$answerFromA =3D &EXT('user.res=
ource.resource.A.answer.submission', 'something goes here');<br></script=
><br><br>The script line is my problem - I don't know what to put in the=
second parameter of the EXT call, to retrieve the submitted value of A.ans=
wer. I know that the enclosing map is given by &EXT('resource.map'); ho=
w do I navigate to the Problem1.A.answer?<br><br>Thanks for any clues,<br>b=
rew<br></font><BR>