<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<title>Re: [LON-CAPA-users] {Disarmed} Re: Invalid Access when using colleague's Problem in a Sequence?</title>
</head>
<body>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Thank you Ray and Todd — yes, the missing ingredient was a second path from before the conditional to the Finish block of the sequence. Working wonderfully now. Thank you! For others
 who may be interested, here are my notes on some of the Ins and Outs working on sequences with the advanced editor:<br>
<br>
</span></font>
<ul>
<li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Safari (5.1 at least) seems to insist on encoding anything you enter into the dialogue boxes, most notably conditions to be met for the conditional sequences, but also URL strings
 for the resources (one of the resources I was referencing had a space in it and the resulting %20 was apparently enough to break the reference). Firefox does not do that.
</span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">If you do not provide an alternate path to Finish bypassing your conditional statements all subsequent content in your course will be blocked until the conditions are met
</span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">If you want to reference a resource within a conditional, give it an alias (via “Set Parameters” > “Custom Parameter:parameter_0_mapalias”) for that resource (and be sure to check
 the Enter box for the parameter before saving as well). </span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Aliases have to be unique for not just the sequence, but for the whole course the sequence is being added to
</span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">It is apparently not possible to use the same problem repeatedly in a sequence even if you give each instance a different alias; it IS ok to duplicate the problem as many times
 as you want to use it in the sequence (assuming that’s due to dependence on the unique problem id)
</span></font></li><li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">There apparently is NOT a way to easily check if a multipart has been started as a whole; however, it IS possible to use II in your conditions to check whether any individual part
 has been tried (where “newatt1” is the alias assigned to the previous problem in the sequence and 11, 13 and 15 are the part ids for the problem):<br>
</span></font></li></ul>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
</span></font>
<blockquote>
<blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">(&EXT('user.resource.resource.11.tries','newatt1') >0 ) ||(&EXT('user.resource.resource.13.tries','newatt1') >0 ) || (&EXT('user.resource.resource.15.tries','newatt1')
 >0 )<br>
</span></font></blockquote>
</blockquote>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
</span></font>
<ul>
<li><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">It’s very helpful to have some test student accounts for testing and debugging this (in a test course too!)<br>
</span></font></li></ul>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
I hope this is helpful for anyone else interested in making use of this powerful feature.<br>
<br>
Doug<br>
<br>
<br>
On 9/7/11 11:11 PM, "Todd Ruskell" <<a href="todd.ruskell@gmail.com">todd.ruskell@gmail.com</a>> wrote:<br>
<br>
</span></font>
<blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Hi Doug,<br>
<br>
It's also been a while since I've done this, but here's a thought.  If you want the rest of the course to remain visible, I seem to recall that you need to have a secondary, parallel path that points directly from the first resource to the "finish" resource.
  Try playing with that a bit to see what happens.<br>
<br>
Todd<br>
<br>
On Wed, Sep 7, 2011 at 3:47 PM, Mills, Douglas G <<a href="dmills@illinois.edu">dmills@illinois.edu</a>> wrote:<br>
</span></font>
<blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">(1) Ok — looks like that was a quirk of my browser (Safari 5.1) insisting on encoding all inputs into the text boxes in the Sequence dialogues. I noticed it was encoding
 the conditions I was putting in, went over to Firefox and then thought to try re-entering the paths to the resources as well and it now works.<br>
<br>
(2) Although I said below that using the same problem multiple times under different aliases seemed to work when it was a problem I had authored, I hadn’t gone far enough — the conditionals do not seem to work for that. No matter, the same problem can be cloned
 to multiple instances and that works.<br>
<br>
(3) ONE REMAINING ISSUE/QUESTION:  I worked on sequences back in May after the users conference and all seemed to be fine. Just getting back to it now and I’m finding that in contrast to the conditional sequence I successfully created back then, the ones I’m
 creating now seem to be insisting on hiding ALL subsequent content in the course, not just the subsequent content in the sequence itself.  Anyone else seen this happen? Once the condition is satisfied, everything, not just the following parts of the sequence,
 becomes available.  You’d think I was missing a closing tag somewhere if it were html markup.  The conditional sequence I created in May is the first thing in my practice course and doesn’t affect any subsequent content...<br>
<br>
Thanks in advance for any /all help!<br>
<br>
Doug<br>
<br>
<br>
<br>
On 9/7/11 3:19 PM, "Mills, Douglas G" <<a href="dmills@illinois.edu">dmills@illinois.edu</a> <<a href="http://dmills@illinois.edu">http://dmills@illinois.edu</a>> > wrote:<br>
<br>
</span></font>
<blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">HI All,<br>
<br>
I’m attempting to use a colleague’s problem in a sequence I’m creating and getting the following message when I try to access it within my course:<br>
<br>
</span></font><font size="6"><font face="Verdana Bold"><span style="font-size:20pt">LON-CAPA Access Control<br>
</span></font></font><font size="2"><font face="Verdana, Helvetica, Arial"><span style="font-size:10pt"><br>
</span></font></font><font size="1"><font face="Courier, Courier New"><span style="font-size:8pt">Access  : Browse resources<br>
Resource: /res/uiuc/cyerkes/Chem_102_/problems/on-line%20quizzes/Calculation_Quiz.problem<br>
Action  : Invalid Access<br>
</span></font></font><font size="2"><font face="Verdana, Helvetica, Arial"><span style="font-size:10pt">S</span></font></font><font size="5"><font face="Verdana Bold"><span style="font-size:15pt">orry ...<br>
T</span></font></font><font color="#FE2516"><font face="Verdana, Helvetica, Arial"><span style="font-size:12pt">his action is currently not authorized.<br>
</span></font></font><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
Am I doing something wrong?  If I import her problem directly into my course that works fine. If I click on the sequence within the course editor, the first problem (same as the one causing the message above) shows up.  Clicking on it though from Course Contents
 produces the error message above.<br>
<br>
We are attempting to use the same problem three times in the sequence (each time it’s for fewer points — we’re wanting to use a conditional in the sequence to prevent students from taking attempt 3 first for the least amount of points and finishing on attempt1
 for total points...) I thought that might be the cause, but it works fine using the same problem multiple times if it’s my problem...<br>
<br>
I believe the documentation says I should be able to use any resource I have permission to use in a sequence, right?  Thanks for any guidance!<br>
<br>
Doug<br>
<br>
Douglas Mills<br>
Director of Instructional Technologies<br>
Department of Chemistry<br>
University of Illinois<br>
<a href="dmills@illinois.edu">dmills@illinois.edu</a> <<a href="http://dmills@illinois.edu">http://dmills@illinois.edu</a>>
<br>
(217) 244-5739 <tel:%28217%29%20244-5739>  <br>
<br>
<br>
<hr align="CENTER" size="3" width="95%">
</span></font><font size="2"><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">_______________________________________________<br>
LON-CAPA-users mailing list<br>
<font color="#FF0000"><b>MailScanner has detected a possible fraud attempt from "<a href="lon-capa-users@mail.lon-capa.org">lon-capa-users@mail.lon-capa.org</a>" claiming to be</b></font>
<a href="LON-CAPA-users@mail.lon-capa.org">LON-CAPA-users@mail.lon-capa.org</a> <<a href="http://LON-CAPA-users@mail.lon-capa.org">http://LON-CAPA-users@mail.lon-capa.org</a>>
<br>
<a href="http://mail.lon-capa.org/mailman/listinfo/lon-capa-users">http://mail.lon-capa.org/mailman/listinfo/lon-capa-users</a><br>
</span></font></font></blockquote>
<font size="2"><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><br>
</span></font></font><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
Doug<br>
<br>
Douglas Mills<br>
Director of Instructional Technologies<br>
Department of Chemistry<br>
University of Illinois<br>
<a href="dmills@illinois.edu">dmills@illinois.edu</a> <<a href="http://dmills@illinois.edu">http://dmills@illinois.edu</a>>
<br>
(217) 244-5739 <tel:%28217%29%20244-5739>  <br>
<br>
<br>
_______________________________________________<br>
LON-CAPA-users mailing list<br>
<a href="LON-CAPA-users@mail.lon-capa.org">LON-CAPA-users@mail.lon-capa.org</a><br>
<a href="http://mail.lon-capa.org/mailman/listinfo/lon-capa-users">http://mail.lon-capa.org/mailman/listinfo/lon-capa-users</a><br>
<br>
</span></font></blockquote>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
<br>
<hr align="CENTER" size="3" width="95%">
</span></font><font size="2"><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">_______________________________________________<br>
LON-CAPA-users mailing list<br>
<a href="LON-CAPA-users@mail.lon-capa.org">LON-CAPA-users@mail.lon-capa.org</a><br>
<a href="http://mail.lon-capa.org/mailman/listinfo/lon-capa-users">http://mail.lon-capa.org/mailman/listinfo/lon-capa-users</a><br>
</span></font></font></blockquote>
<font size="2"><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><br>
</span></font></font><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
Doug<br>
<br>
Douglas Mills<br>
Director of Instructional Technologies<br>
Department of Chemistry<br>
University of Illinois<br>
<a href="dmills@illinois.edu">dmills@illinois.edu</a><br>
(217) 244-5739 <br>
<br>
</span></font>
</body>
</html>