Good Morning, 

 I am trying to create the following sequence:
   
    What is your level of supercomputing experience?
        if none then
            unit should be an  html text component with information on 
which modules to study
        else
           can you identify your use case?
              if yes then 
                 unit should be an html text box directing you (via link) 
to the use case module matching your use case
              else 
                 unit should be an html text box directing you to an 
intermediate path

  I have tried to accomplish this using the conditional  - so first a poll, 
     Have you ever used a supercomputer?
         Yes, No, A long time ago

  Option 1:  I tried building the conditional using the UI in the advanced 
problem in a Euclyptus instance - nothing all I get is a block that says 
"you must attempt supercomputing experience to see this material.  I have 
attempted and even answered the poll question, but no go.

  So I tried option 2: the old way - create a poll unit, create a unit with 
a component answer for the No result, a component answer for the yes and 
long time ago results.  Export the course and edit the code in the vertical 
associated with the unit.  However, I am still missing something because if 
I answer the poll question with 'no' I should get the simple html component 
but I get what you see below.



  
         
       

  In addition, on the studio side I see:

 

  

  and when I go into each of those blocks there is nothing in the 
individual conditional.  I think I am picking up the correct sources for 
the Supercomputing experience poll, but the answers aren't being properly 
translated to display the components.  The code that I modified in the 
vertical is below.  Any and all suggestions are welcome.

Also - the How To Use Conditional Documentation is pretty sparse, I did use 
the Stanford course 
https://lagunita.stanford.edu/courses/StanfordOnline/OpenEdX/Demo/courseware/Conditionals/Conditional_content/
 
to get a better sense of how to do this, but we need clearer documentation 
if we are going to expand the community of course builders.  The Stanford 
units are great but perhaps a bit out of date.  I'm happy to be the 
documentarian once I get this resolved.

  Thanks, 
    Julie

===================
  Code
==================
 <vertical display_name="Suggested Path, Step 1">
  <conditional 
sources="block-v1:LLX+LLX06+Q1_2017+type@poll+block@2720492480234529a3bf035ab87947e5"
  
poll_answer="No">
       <html url_name="bc69a47f28c748b2a0f0bfe48b2862aa"/>
  </conditional>
  <conditional 
sources="block-v1:LLX+LLX06+Q1_2017+type@poll+block@2720492480234529a3bf035ab87947e5"
 
poll_answer="Yes">
  <poll url_name="1ab736d88a2846dd88f1948dd81414fc" 
xblock-family="xblock.v1" feedback="" display_name="Starting Point for 
Experienced and Advanced Users" private_results="true" question="Since you 
are familiar with the LLSC systems, we need to know more about the 
application that you plan to run on the LLSC systems.  Which of the 
following Use Cases best fits your application?" max_submissions="0" 
answers="[&#10;  [&#10;    &quot;R&quot;,&#10;    {&#10;      
&quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
&quot;&quot;,&#10;      &quot;label&quot;: &quot;Throughput (or Job 
Array)&quot;&#10;    }&#10;  ],&#10;  [&#10;    &quot;B&quot;,&#10;    
{&#10;      &quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
&quot;&quot;,&#10;      &quot;label&quot;: &quot;MapReduce&quot;&#10;    
}&#10;  ],&#10;  [&#10;    &quot;G&quot;,&#10;    {&#10;      
&quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
&quot;&quot;,&#10;      &quot;label&quot;: &quot;Bulk Synchronous or 
multi-stage loosely coupled&quot;&#10;    }&#10;  ],&#10;  [&#10;    
&quot;O&quot;,&#10;    {&#10;      &quot;img&quot;: &quot;&quot;,&#10;      
&quot;img_alt&quot;: &quot;&quot;,&#10;      &quot;label&quot;: 
&quot;Parallel&quot;&#10;    }&#10;  ],&#10;  [&#10;    
&quot;1478202817175&quot;,&#10;    {&#10;      &quot;img&quot;: 
&quot;&quot;,&#10;      &quot;img_alt&quot;: &quot;&quot;,&#10;      
&quot;label&quot;: &quot;Databases and Analytics&quot;&#10;    }&#10;  
],&#10;  [&#10;    &quot;1478202835407&quot;,&#10;    {&#10;      
&quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
&quot;&quot;,&#10;      &quot;label&quot;: &quot;I don't know&quot;&#10;    
}&#10;  ]&#10;]"/>
  </conditional>
  <conditional 
sources="block-v1:LLX+LLX06+Q1_2017+type@poll+block@2720492480234529a3bf035ab87947e5"
 
poll_answer="A long time ago">
      <poll url_name="1ab736d88a2846dd88f1948dd81414fc" 
xblock-family="xblock.v1" feedback="" display_name="Starting Point for 
Experienced and Advanced Users" private_results="true" question="Since you 
are familiar with the LLSC systems, we need to know more about the 
application that you plan to run on the LLSC systems.  Which of the 
following Use Cases best fits your application?" max_submissions="0" 
answers="[&#10;  [&#10;    &quot;R&quot;,&#10;    {&#10;      
&quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
&quot;&quot;,&#10;      &quot;label&quot;: &quot;Throughput (or Job 
Array)&quot;&#10;    }&#10;  ],&#10;  [&#10;    &quot;B&quot;,&#10;    
{&#10;      &quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
&quot;&quot;,&#10;      &quot;label&quot;: &quot;MapReduce&quot;&#10;    
}&#10;  ],&#10;  [&#10;    &quot;G&quot;,&#10;    {&#10;      
&quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
&quot;&quot;,&#10;      &quot;label&quot;: &quot;Bulk Synchronous or 
multi-stage loosely coupled&quot;&#10;    }&#10;  ],&#10;  [&#10;    
&quot;O&quot;,&#10;    {&#10;      &quot;img&quot;: &quot;&quot;,&#10;      
&quot;img_alt&quot;: &quot;&quot;,&#10;      &quot;label&quot;: 
&quot;Parallel&quot;&#10;    }&#10;  ],&#10;  [&#10;    
&quot;1478202817175&quot;,&#10;    {&#10;      &quot;img&quot;: 
&quot;&quot;,&#10;      &quot;img_alt&quot;: &quot;&quot;,&#10;      
&quot;label&quot;: &quot;Databases and Analytics&quot;&#10;    }&#10;  
],&#10;  [&#10;    &quot;1478202835407&quot;,&#10;    {&#10;      
&quot;img&quot;: &quot;&quot;,&#10;      &quot;img_alt&quot;: 
&quot;&quot;,&#10;      &quot;label&quot;: &quot;I don't know&quot;&#10;    
}&#10;  ]&#10;]"/>
  </conditional>
</vertical>
 
===================
===================

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/65b6759b-9acb-4544-85e5-d890b731d796%40googlegroups.com.

Reply via email to