Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Now getting the visible property for an assessment section

  • Loading branch information...
commit 086461f40d8c76c38a84296308349522df0235f5 1 parent 19376ac
@bracken bracken authored
View
6 assessments/orig/5765e02b-cd7a-d073-0066-6ef0b76392b3.3897709655002_R.xml
@@ -89,7 +89,7 @@
<fieldentry>Examination</fieldentry>
</qtimetadatafield>
</qtimetadata>
- <section ident="384667998091" title="384667998091">
+ <section ident="384667998091" title="384667998091" visible="false">
<outcomes_processing>
<outcomes>
<decvar vartype="Decimal" varname="SCORE"/>
@@ -133,7 +133,7 @@
<selection_ordering>
<order order_type="Sequential"/>
</selection_ordering>
- <section ident="" title="First Part">
+ <section ident="" title="First Part" visible="true">
<outcomes_processing>
<outcomes>
<decvar vartype="Decimal" varname="SCORE"/>
@@ -159,7 +159,7 @@
<itemref
linkrefid="URN:X-WEBCT-VISTA_V2:790EA1350C97681DE0440003BA07D9B4"/>
</section>
- <section ident="" title="Question Set">
+ <section ident="" title="Question Set" visible="true">
<outcomes_processing>
<outcomes>
<decvar vartype="Decimal" varname="SCORE"/>
View
3  lib/imsqtiv1.py
@@ -665,6 +665,9 @@ def SetAttribute_ident (self,value):
def SetAttribute_title (self,value):
self.section.SetTitle(value)
+ def SetAttribute_visible(self, visible):
+ self.section.SetVisible(visible)
+
def SetDuration(self, duration):
#todo: if it's a testPart it can be set...
pass
Please sign in to comment.
Something went wrong with that request. Please try again.