[LON-CAPA-users] Referencing an aliased resource in the course, outside the present sequence
Mills, Douglas G
dmills at illinois.edu
Fri Jun 23 13:57:29 EDT 2017
Hi All,
I thought I had done this before but for some reason I seem unable to access information from an aliased resource in the same course but in a different sequence from the one the resource I'm trying to access it from is in... Here's a line of my code:
$award=&EXT('user.resource.resource.11.awarded','postlab3');
I'm using this same code (with a different alias) to get information from other problems within the sequence, but this seems to be failing. "postlab3" is aliased inside the lab3 sequence. I'm in a problem inside the lab4 sequence. Is that the issue? I've seen before that courses will complain if you have overlapping alias names despite them being in different sequences indicating that mapaliases have to be unique across the course. I assumed from that that they could be referenced from across the course and not just within a sequence. I *thought* I had done that successfully before, but I might be mistaken.
Thank you for any guidance that can be provided!
Doug
Douglas Mills
Director of Instructional Technology
Department of Chemistry
University of Illinois
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20170623/15c2b82f/attachment-0001.html>
More information about the LON-CAPA-users
mailing list