[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 &amp;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>&lt;problem&gt;<br>&lt;part id=3D"A"&gt;<b=
r>&lt;numericresponse id=3D"answer"&gt;<br>...<br><br>Problem2.problem<br>&=
lt;problem&gt;<br><br>&lt;script&gt;<br>$answerFromA =3D &amp;EXT('user.res=
ource.resource.A.answer.submission', 'something goes here');<br>&lt;/script=
&gt;<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 &amp;EXT('resource.map'); ho=
w do I navigate to the Problem1.A.answer?<br><br>Thanks for any clues,<br>b=