Änderungen von Dokument Expertenmodus

Zuletzt geändert von Carina Enke am 26.11.2025

Von Version 199.1
bearbeitet von Carina Enke
am 30.10.2018
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich LMSintern und Version 11.3.3.
Auf Version 154.1
bearbeitet von Carina Enke
am 24.03.2020
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich LMSintern und Version 12.3.1.

Zusammenfassung

Details

Seiteneigenschaften
Titel
... ... @@ -1,1 +1,1 @@
1 -Expertenmodus
1 +Expert Mode
Inhalt
... ... @@ -1,19 +1,279 @@
1 +{{sv-translation language="de"}}
1 1  {{layout}}
2 2  {{layout-section ac:type="single"}}
3 3  {{layout-cell}}
5 +\\
6 +{{/layout-cell}}
7 +{{/layout-section}}
4 4  
9 +{{layout-section ac:type="single"}}
10 +{{layout-cell}}
11 +**Verwendungsbeispiele für Expertenregeln
12 +**
5 5  
6 -(% class="removedPlaceholderWrapper" %)
14 +Nachfolgend sind Beispiele aufgehrt, die Ihnen zeigen, wie Sie den Expertenregeln verwenden können.
7 7  
16 +\\
8 8  
18 +(% class="auto-cursor-target" %)
19 +**Typische Anwendungsbeispiele**
9 9  
21 +{{expand title="In einem öffentlichen Kurs einzelne Inhalte nur für registierte Nutzer sichtbar schalten ..."}}
22 +Sie wollen Inhalte in einem öffentlichen Kurs vor Gästen verbergen? Tragen Sie im Tab Sichtbarkeit des betreffenden Kursbausteins bei Expertenmodus in das Textfeld nachfolgenden Inhalt ein. Damit wird der Kursbaustein in einem öffentlich zugänglichen Kurs für nicht registrierte Gastnutzer angezeigt.
23 +
24 +{{code}}
25 +isGuest(0)=false
26 +{{/code}}
27 +
28 +(% class="wrapped" %)
29 +|=(((
30 +Konfiguration im Kurseditor
31 +)))|(((
32 +(% class="content-wrapper" %)
33 +(((
34 +[[image:attach:Kurseditor - Konfiguration nur registrierte Nutzer_de.png]]
35 +)))
36 +)))
37 +|=(% colspan="1" %)(% colspan="1" %)
38 +(((
39 +Ansicht als registrierter Nutzer
40 +)))|(% colspan="1" %)(% colspan="1" %)
41 +(((
42 +(% class="content-wrapper" %)
43 +(((
44 +[[image:attach:Kursrun - Ansicht registrierte Nutzer_de.png]]
45 +)))
46 +)))
47 +|=(((
48 +Ansicht als Gastnutzer
49 +)))|(((
50 +[[image:attach:Kurseditor - Konfiguration nicht für Gäste_de.png]]\\
51 +
52 +(% class="content-wrapper" %)
53 +(((
54 +\\
55 +)))
56 +)))
57 +|=(% colspan="1" %)(% colspan="1" %)
58 +(((
59 +Ansicht als Kursverantwortlicher
60 +)))|(% colspan="1" %)(% colspan="1" %)
61 +(((
62 +(% class="content-wrapper" %)
63 +(((
64 +[[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png]]
65 +)))
66 +)))
67 +{{/expand}}
68 +
69 +{{expand title="In einem öffentlichen Kurs einzelne Inhalte nur für Gäste sichtbar schalten ..."}}
70 +Sie wollen Inhalte in einem öffentlichen Kurs ausschließlich Gästen und Kursverantwortlichen anzeigen? Tragen Sie im Tab Sichtbarkeit des betreffenden Kursbausteins bei Expertenmodus in das Textfeld nachfolgenden Inhalt ein. Damit wird der Kursbaustein in einem öffentlich zugänglichen Kurs nur Gastnutzer und Kursverantwortlichen angezeigt.
71 +
72 +{{code}}
73 +isGuest(0)=true |isCourseAdministrator(0)
74 +{{/code}}
75 +
76 +(% class="wrapped" %)
77 +|=(((
78 +Konfiguration im Kurseditor
79 +)))|(((
80 +(% class="content-wrapper" %)
81 +(((
82 +[[image:attach:Kurseditor - Konfiguration nur registrierte Nutzer_de.png]]
83 +)))
84 +)))
85 +|=(% colspan="1" %)(% colspan="1" %)
86 +(((
87 +Ansicht als registrierter Nutzer
88 +)))|(% colspan="1" %)(% colspan="1" %)
89 +(((
90 +(% class="content-wrapper" %)
91 +(((
92 +[[image:attach:Kursansicht - nicht für registrierte Nutzer_de.png]]
93 +)))
94 +)))
95 +|=(((
96 +Ansicht als Gastnutzer
97 +)))|(((
98 +[[image:attach:Kursrun - Ansicht nur Gäste_de.png]]\\
99 +
100 +(% class="content-wrapper" %)
101 +(((
102 +\\
103 +)))
104 +)))
105 +|=(% colspan="1" %)(% colspan="1" %)
106 +(((
107 +Ansicht als Kursverantwortlicher
108 +)))|(% colspan="1" %)(% colspan="1" %)
109 +(((
110 +(% class="content-wrapper" %)
111 +(((
112 +[[image:attach:Kursrun - Ansicht Kursverantwortlicher_de.png]]
113 +)))
114 +)))
115 +{{/expand}}
10 10  {{/layout-cell}}
11 11  {{/layout-section}}
12 12  
13 13  {{layout-section ac:type="single"}}
14 14  {{layout-cell}}
15 -{{expand title="Expertensyntax anzeigen"}}
121 +{{expand title="Weitere Anwendungsbeispiele für Expertenregeln ..."}}
122 +\\
123 +
124 +{{info}}
125 +Neben den allgemeinen Beispielen, die unabhängig von der Institution verwendet werden können, sind auch Einschränkungen zu Daten möglich, welche institutionsspezifisch sind und je nach Institution übermittelt werden.
126 +Für OPAL Nutzer enthält die Seite [[Übersicht der OPAL-Shibboleth-Attribute>>url:https://bildungsportal.sachsen.de/help/attribute-opal_de.html||shape="rect"]] alle aktuell verwendbaren institutionsspezifischen Attribute sächsischer Institutionen.
127 +{{/info}}
128 +
129 +(% class="wrapped" %)
16 16  |=(((
131 +Beispiele für Regeln in den Tabs //«Sichtbarkeit»//, //«Zugang»// und //«Punkte»// (Struktur-Baustein)
132 +)))|=(((
133 +Auswirkungen
134 +)))
135 +|(((
136 +isGuest(0)=true
137 +)))|(((
138 +Eingetragen im Tab Sichtbarkeit sehen nur Gäste den Kursbaustein, alle registrierten Nutzer dagegen nicht.
139 +
140 +Eingetragen im Tab Zugang haben ausschließlich Gäste Zugang zu diesem Kursbaustein.
141 +
142 +Alternativ kann auch die Angabe isGuest(0) oder isGuest(0)=1 verwendet werden.
143 +)))
144 +|(% colspan="1" %)(% colspan="1" %)
145 +(((
146 +isGuest(0)=false
147 +)))|(% colspan="1" %)(% colspan="1" %)
148 +(((
149 +Eingetragen im Tab Sichtbarkeit sehen Gäste sehen den Kursbaustein nicht. Eingetragen im Tab Zugang haben Gäste keinen Zugang zu den Inhalten des Kursbausteins.
150 +)))
151 +|(((
152 +inLearningGroup("Anfänger") = 0
153 +)))|(((
154 +Mit Ausnahme der Gruppe //«Anfänger»// ist der Kursbaustein für alle Kursteilnehmer sichtbar.
155 +)))
156 +|(((
157 +(now >= date("22.03.2017 12:00")) & (now <= date("23.08.2017 18:00")) | inLearningGroup("Betreuer")
158 +)))|(((
159 +Der Kursbaustein ist zwischen dem 22.03.2017 und 23.08.2017 für alle Kursteilnehmer sichtbar, während er für Mitglieder der Lerngruppe //«Betreuer»// jederzeit sichtbar ist.
160 +)))
161 +|(((
162 +(now >= date("03.09.2017 00:00")) & (now <= date("13.10.2017 00:00")) & inRightGroup("Assessoren")| isUser("autor")
163 +)))|(((
164 +Der Kursbaustein ist zwischen dem 03.09.2017 und 13.10.2017 für alle Kursteilnehmer der Rechtegruppe //«Assessoren»// sichtbar, während er für die Person mit dem Benutzernamen //«autor»// jederzeit sichtbar ist.
165 +)))
166 +|(((
167 +isInAttribute("surname","Mue")
168 +)))|(((
169 +Gibt TRUE für alle Personen, deren Attribut //surname// die Buchstabenfolge "Mue" enthält. Gibt z.B. TRUE für den Wert "Mueller" oder "Muehlebacher" zurück.
170 +)))
171 +|(% colspan="1" %)(% colspan="1" %)
172 +(((
173 +(getUserProperty("orgUnit") = "Marketing")
174 +)))|(% colspan="1" %)(% colspan="1" %)
175 +(((
176 +Prüft ob eine Person in der Organisationseinheit "Marketing" ist. Dies ist sinnvoll z.B. wenn die Daten automatisiert aus LDAP übernommen werden.
177 +)))
178 +|(% colspan="1" %)(% colspan="1" %)
179 +(((
180 +(getPassed("69742969114730") | getPassed("69742969115733") | getPassed("69742969118009")) * 10
181 +)))|(% colspan="1" %)(% colspan="1" %)
182 +(((
183 +Diese Regel wird im Tab //«Punkte»// -> //«Punkte verarbeiten»// des Bausteins //Struktur// gesetzt. Der Baustein //Struktur// zeigt 10 Punkte, wenn einer der Tests (Kursbaustein-IDs "69742969114730", "69742969115733" oder "69742969118009") bestanden wurde, sonst 0 Punkte.
184 +)))
185 +|(% colspan="1" %)(% colspan="1" %)
186 +(((
187 +(getScore("69742969114730") + getScore("69742969115733") + getScore("69742969118009")) >= 140 | getPassed("69978845384688")
188 +)))|(% colspan="1" %)(% colspan="1" %)
189 +(((
190 +Diese Regel wird im Tab //«Punkte»// -> //«Bestanden wenn»// des Bausteins //Struktur// gesetzt. Der Baustein //Struktur// zeigt ein //«Bestanden»//, wenn in allen Tests zusammen minimal 140 Punkte erzielt werden oder wenn manuell ein //«Bestanden»// gesetzt wird (Kursbaustein //Bewertung// mit ID "69978845384688").
191 +)))
192 +|(% colspan="1" %)(% colspan="1" %)
193 +(((
194 +getAttempts("70323786958847") > 0
195 +)))|(% colspan="1" %)(% colspan="1" %)
196 +(((
197 +Gibt TRUE zurück, sobald der betreffende Kursteilnehmer den Test mit spezifizierter ID ein erstes Mal abgeschlossen hat.
198 +)))
199 +|(% colspan="1" %)(% colspan="1" %)
200 +(((
201 +getAttempts("70323524635734") <= 3
202 +)))|(% colspan="1" %)(% colspan="1" %)
203 +(((
204 +Gibt FALSE zurück, sobald der betreffende Kursteilnehmer mehr als 3 Dateien in den Abgabeordner des Kursbaustein //Aufgabe// gelegt hat.
205 +)))
206 +|(% colspan="1" %)(% colspan="1" %)
207 +(((
208 +getInitialEnrollmentDate("70323786958847") <= date("26.5.2017 18:00")
209 +)))|(% colspan="1" %)(% colspan="1" %)
210 +(((
211 +Gibt TRUE für diejenigen Kursteilnehmer zurück, die sich vor 18 Uhr des 26. Mai 2017 über den Kursbaustein //Einschreibung// mit spezifizierter ID in eine zur Auswahl stehende Gruppe eingeschrieben haben.
212 +)))
213 +|(% colspan="1" %)(% colspan="1" %)
214 +(((
215 +getInitialEnrollmentDate("70323786958847") + 2h > now
216 +)))|(% colspan="1" %)(% colspan="1" %)
217 +(((
218 +Gibt TRUE während zwei Stunden ab Einschreibezeitpunkt für diejenigen Kursteilnehmer, die sich über den Kursbaustein //Einschreibung// mit spezifizierter ID in eine zur Auswahl stehende Gruppe eingeschrieben haben. So kann abgebildet werden, dass jeder Kursteilnehmer nur während einer bestimmten Zeitdauer z.B. ein Skript bearbeiten kann.
219 +)))
220 +|(% colspan="1" %)(% colspan="1" %)
221 +(((
222 +(getInitialCourseLaunchDate(0) >= never) | (getInitialCourseLaunchDate(0) + 2h > now)
223 +)))|(% colspan="1" %)(% colspan="1" %)
224 +(((
225 +Gibt TRUE zurück, wenn der Kursteilnehmer den Kurs noch nicht besucht hat oder während der ersten zwei Stunden des ersten Kursbesuchs. So kann abgebildet werden, dass jeder Kursteilnehmer nur während einer bestimmten Zeitdauer den Kurs sehen kann.
226 +)))
227 +|(% colspan="1" %)(% colspan="1" %)
228 +(((
229 +(getRecentCourseLaunchDate(0) + 10min) > now
230 +)))|(% colspan="1" %)(% colspan="1" %)
231 +(((
232 +Gibt TRUE zurück, wenn sich der Benutzer seit mehr als 10 Minuten im Kurs bewegt.
233 +)))
234 +|(% colspan="1" %)(% colspan="1" %)
235 +(((
236 +getOnyxTestOutcome("84692289655276","SCORE") >= 10
237 +)))|(% colspan="1" %)(% colspan="1" %)
238 +(((
239 +Gibt TRUE zurück, wenn der Benutzer mindestens 10 Punkte erreicht hat.
240 +)))
241 +|(% colspan="1" %)(% colspan="1" %)
242 +(((
243 +getOnyxTestOutcomeZK("84389429397045","PASS") ="true"
244 +)))|(% colspan="1" %)(% colspan="1" %)
245 +(((
246 +Gibt TRUE zurück, wenn der Benutzer den Test bestanden hat.
247 +)))
248 +|(% colspan="1" %)(% colspan="1" %)
249 +(((
250 +getMark("84692289655276") > 4
251 +)))|(% colspan="1" %)(% colspan="1" %)
252 +(((
253 +Gibt TRUE zurück, wenn die Note des Nutzers für den angegebenen Baustein besser als 4 ist.
254 +)))
255 +|(% colspan="1" %)(% colspan="1" %)
256 +(((
257 +getProgress("69742969114730")>=100
258 +)))|(% colspan="1" %)(% colspan="1" %)
259 +(((
260 +Gibt TRUE zurück, wenn der Nutzer den angegebenen Kursbaustein erledigt hat (Kursfortschritt).
261 +)))
262 +
263 +{{note title="Achtung!"}}
264 +Bitte beachten Sie, dass die oben erwähnten Kursbaustein-IDs Beispiele sind. Wenn Sie Ihren Kurs erstellen, müssen Sie jeweils die IDs Ihrer Kurse referenzieren.
265 +{{/note}}
266 +{{/expand}}
267 +{{/layout-cell}}
268 +{{/layout-section}}
269 +
270 +{{layout-section ac:type="single"}}
271 +{{layout-cell}}
272 +(% class="auto-cursor-target" %)
273 +**Expertnsyntax**
274 +
275 +{{expand title="Übersicht der verfügbaren Expertensyntax ..."}}(% class="wrapped" %)
276 +|=(((
17 17  Typ
18 18  )))|=(((
19 19  Syntax
... ... @@ -416,7 +416,7 @@
416 416  )))
417 417  |(% colspan="1" %)(% colspan="1" %)
418 418  (((
419 -
679 +\\
420 420  )))|(% colspan="1" %)(% colspan="1" %)
421 421  (((
422 422  ~|
... ... @@ -426,7 +426,7 @@
426 426  )))
427 427  |(% colspan="1" %)(% colspan="1" %)
428 428  (((
429 -
689 +\\
430 430  )))|(% colspan="1" %)(% colspan="1" %)
431 431  (((
432 432  !
... ... @@ -433,138 +433,823 @@
433 433  )))|(% colspan="1" %)(% colspan="1" %)
434 434  (((
435 435  Logisches NICHT
436 -)))
437 -{{/expand}}
696 +))){{/expand}}
697 +\\\\
698 +{{/layout-cell}}
699 +{{/layout-section}}
700 +{{/layout}}
701 +{{/sv-translation}}
438 438  
439 -{{expand title="Anwendungsbeispiele zum Expertensyntax"}}
440 -**Verwendungsbeispiele**
703 +{{sv-translation language="en"}}
704 +{{expand title="Display expert syntax"}}
705 +=== Expert syntax ===
441 441  
442 -Nachfolgend sind Beispiele aufgeführt, die Ihnen zeigen, wie Sie den Expertensyntax verwenden können.
443 -
444 -{{info}}
445 -Neben den allgemeinen Beispielen, die unabhängig von der Institution verwendet werden können, sind auch Einschränkungen zu Daten möglich, welche institutionsspezifisch sind und je nach Institution übermittelt werden ((% class="confluence-link" %)DFN-AAI Attribute(%%)).
446 -Für OPAL Nutzer enthält die Seite [[Übersicht der OPAL-Shibboleth-Attribute>>url:https://bildungsportal.sachsen.de/help/attribute-opal_de.html||shape="rect"]] alle aktuell verwendbaren institutionsspezifischen Attribute sächsischer Institutionen.
447 -{{/info}}
448 -
707 +(% class="wrapped" %)
449 449  |=(((
450 -Beispiele für Regeln in den Tabs //«Sichtbarkeit»//, //«Zugang»// und //«Punkte»// (Struktur-Baustein)
709 +Type
451 451  )))|=(((
452 -Auswirkungen
711 +Syntax
712 +)))|=(((
713 +Description
453 453  )))
454 454  |(((
455 -isGuest(0) oder isGuest(0)=1 oder isGuest(0)=TRUE
716 +(% class="TableParagraph" %)
717 +**Constants**
456 456  )))|(((
457 -Ausschließlich Gäste haben Zugang auf den Kursbaustein.
719 +(% class="TableParagraph" %)
720 +//TRUE //or //1//
721 +)))|(((
722 +(% class="TableParagraph" %)
723 +True
458 458  )))
459 459  |(((
460 -inLearningGroup("Anfänger") = 0
726 +\\
461 461  )))|(((
462 -Mit Ausnahme der Gruppe //«Anfänger»// ist der Kursbaustein für alle Kursteilnehmer sichtbar.
728 +(% class="TableParagraph" %)
729 +//FALSE //or //0//
730 +)))|(((
731 +(% class="TableParagraph" %)
732 +False
463 463  )))
464 464  |(((
465 -(now >= date("22.03.2017 12:00")) & (now <= date("23.08.2017 18:00")) | inLearningGroup("Betreuer")
735 +(% class="TableParagraph" %)
736 +**Variable**
466 466  )))|(((
467 -Der Kursbaustein ist zwischen dem 22.03.2017 und 23.08.2017 für alle Kursteilnehmer sichtbar, während er für Mitglieder der Lerngruppe //«Betreuer»// jederzeit sichtbar ist.
738 +(% class="TableParagraph" %)
739 +//now//
740 +)))|(((
741 +(% class="TableParagraph" %)
742 +Current server system time
468 468  )))
469 469  |(((
470 -(now >= date("03.09.2017 00:00")) & (now <= date("13.10.2017 00:00")) & inRightGroup("Assessoren")| isUser("autor")
745 +(% class="TableParagraph" %)
746 +**Functions**
471 471  )))|(((
472 -Der Kursbaustein ist zwischen dem 03.09.2017 und 13.10.2017 für alle Kursteilnehmer der Rechtegruppe //«Assessoren»// sichtbar, während er für die Person mit dem Benutzernamen //«autor»// jederzeit sichtbar ist.
748 +(% class="TableParagraph" %)
749 +//date("[date]")//
750 +)))|(((
751 +(% class="TableParagraph" %)
752 +Query date
473 473  )))
754 +|(% colspan="1" %)(% colspan="1" %)
755 +(((
756 +\\
757 +)))|(% colspan="1" %)(% colspan="1" %)
758 +(((
759 +(% class="TableParagraph" %)
760 +//inLearningGroup("//[string]//")//
761 +)))|(% colspan="1" %)(% colspan="1" %)
762 +(((
763 +(% class="TableParagraph" %)
764 +Returns TRUE for all members of the learning group with the title [string] of the current course.
765 +)))
766 +|(% colspan="1" %)(% colspan="1" %)
767 +(((
768 +\\
769 +)))|(% colspan="1" %)(% colspan="1" %)
770 +(((
771 +(% class="TableParagraph" %)
772 +//inLearningGroup("//[string1]//","//[string2]//")//
773 +)))|(% colspan="1" %)(% colspan="1" %)
774 +(((
775 +(% class="TableParagraph" %)
776 +Returns TRUE for all members of the specified learning group [string1] of the course with the specified course ID=[string2].
777 +)))
778 +|(% colspan="1" %)(% colspan="1" %)
779 +(((
780 +\\
781 +)))|(% colspan="1" %)(% colspan="1" %)
782 +(((
783 +(% class="TableParagraph" %)
784 +//inLearningGroupWaitingList("//[string]//")//
785 +)))|(% colspan="1" %)(% colspan="1" %)
786 +(((
787 +(% class="TableParagraph" %)
788 +Returns TRUE for all users on the waiting list of the learning group [string] of the current course.
789 +)))
790 +|(% colspan="1" %)(% colspan="1" %)
791 +(((
792 +\\
793 +)))|(% colspan="1" %)(% colspan="1" %)
794 +(((
795 +(% class="TableParagraph" %)
796 +//inLearningGroupWaitingList("//[string1]//","//[string2]//"// //)//
797 +)))|(% colspan="1" %)(% colspan="1" %)
798 +(((
799 +(% class="TableParagraph" %)
800 +Returns TRUE for all users on the waiting list of the learning group [string1] of the course with the specified course ID=[string2].
801 +)))
802 +|(% colspan="1" %)(% colspan="1" %)
803 +(((
804 +\\
805 +)))|(% colspan="1" %)(% colspan="1" %)
806 +(((
807 +(% class="TableParagraph" %)
808 +//inRightGroup("//[string]//")//
809 +)))|(% colspan="1" %)(% colspan="1" %)
810 +(((
811 +(% class="TableParagraph" %)
812 +Returns TRUE for all members of the right group [string].
813 +)))
814 +|(% colspan="1" %)(% colspan="1" %)
815 +(((
816 +\\
817 +)))|(% colspan="1" %)(% colspan="1" %)
818 +(((
819 +(% class="TableParagraph" %)
820 +//isLearningGroupFull("//[string]//")//
821 +)))|(% colspan="1" %)(% colspan="1" %)
822 +(((
823 +(% class="TableParagraph" %)
824 +Returns the Boolean TRUE (=full) or FALSE (=not full) for the specified learning group in the current course.
825 +)))
826 +|(% colspan="1" %)(% colspan="1" %)
827 +(((
828 +\\
829 +)))|(% colspan="1" %)(% colspan="1" %)
830 +(((
831 +(% class="TableParagraph" %)
832 +//isLearningGroupFull("//[string1]//","//[string2]//")//
833 +)))|(% colspan="1" %)(% colspan="1" %)
834 +(((
835 +(% class="TableParagraph" %)
836 +Returns the Boolean TRUE (=full) or FALSE (=not full) for the specified learning group=[string1] of the course with the course ID=[string2].
837 +)))
838 +|(% colspan="1" %)(% colspan="1" %)
839 +(((
840 +\\
841 +)))|(% colspan="1" %)(% colspan="1" %)
842 +(((
843 +(% class="TableParagraph" %)
844 +//isUser("//[string]//")//
845 +)))|(% colspan="1" %)(% colspan="1" %)
846 +(((
847 +(% class="TableParagraph" %)
848 +Returns TRUE for the user with the user name [string].
849 +)))
850 +|(% colspan="1" %)(% colspan="1" %)
851 +(((
852 +\\
853 +)))|(% colspan="1" %)(% colspan="1" %)
854 +(((
855 +(% class="TableParagraph" %)
856 +//inLearningArea("//[string]//")//
857 +)))|(% colspan="1" %)(% colspan="1" %)
858 +(((
859 +(% class="TableParagraph" %)
860 +Returns TRUE for all members of the groups in the learning area [string] of the current course.
861 +)))
862 +|(% colspan="1" %)(% colspan="1" %)
863 +(((
864 +\\
865 +)))|(% colspan="1" %)(% colspan="1" %)
866 +(((
867 +(% class="TableParagraph" %)
868 +//inLearningArea("//[string1]//","//[string2]//")//
869 +)))|(% colspan="1" %)(% colspan="1" %)
870 +(((
871 +(% class="TableParagraph" %)
872 +Returns TRUE for all members of the groups in the specified learning area [string1] of the course with the specified course ID=[string2].
873 +)))
874 +|(% colspan="1" %)(% colspan="1" %)
875 +(((
876 +\\
877 +)))|(% colspan="1" %)(% colspan="1" %)
878 +(((
879 +(% class="TableParagraph" %)
880 +//getNumberOfEnrollments("//[string1]*//")//
881 +)))|(% colspan="1" %)(% colspan="1" %)
882 +(((
883 +(% class="TableParagraph" %)
884 +Returns TRUE, when the configured number of learning group members is reached in the learning area (string1).
885 +)))
886 +|(% colspan="1" %)(% colspan="1" %)
887 +(((
888 +\\
889 +)))|(% colspan="1" %)(% colspan="1" %)
890 +(((
891 +(% class="TableParagraph" %)
892 +//isGlobalAuthor(0)//
893 +)))|(% colspan="1" %)(% colspan="1" %)
894 +(((
895 +(% class="TableParagraph" %)
896 +Returns TRUE for all members of the OPAL author group.
897 +)))
898 +|(% colspan="1" %)(% colspan="1" %)
899 +(((
900 +\\
901 +)))|(% colspan="1" %)(% colspan="1" %)
902 +(((
903 +(% class="TableParagraph" %)
904 +//isCourseAdministrator(0)//
905 +)))|(% colspan="1" %)(% colspan="1" %)
906 +(((
907 +(% class="TableParagraph" %)
908 +Returns TRUE for all owners of your course (learning resource).
909 +)))
910 +|(% colspan="1" %)(% colspan="1" %)
911 +(((
912 +\\
913 +)))|(% colspan="1" %)(% colspan="1" %)
914 +(((
915 +(% class="TableParagraph" %)
916 +//isCourseCoach(0)//
917 +)))|(% colspan="1" %)(% colspan="1" %)
918 +(((
919 +(% class="TableParagraph" %)
920 +Returns TRUE for all users who supervise a learning group.
921 +)))
922 +|(% colspan="1" %)(% colspan="1" %)
923 +(((
924 +\\
925 +)))|(% colspan="1" %)(% colspan="1" %)
926 +(((
927 +(% class="TableParagraph" %)
928 +//isGuest(0)//
929 +)))|(% colspan="1" %)(% colspan="1" %)
930 +(((
931 +(% class="TableParagraph" %)
932 +Returns TRUE for all users who visit OPAL as guests.
933 +)))
934 +|(% colspan="1" %)(% colspan="1" %)
935 +(((
936 +\\
937 +)))|(% colspan="1" %)(% colspan="1" %)
938 +(((
939 +(% class="TableParagraph" %)
940 +//isExternalUser(0)//
941 +)))|(% colspan="1" %)(% colspan="1" %)
942 +(((
943 +(% class="TableParagraph" %)
944 +Returns TRUE for everyone who uses OPAL as an external user.
945 +)))
946 +|(% colspan="1" %)(% colspan="1" %)
947 +(((
948 +\\
949 +)))|(% colspan="1" %)(% colspan="1" %)
950 +(((
951 +(% class="TableParagraph" %)
952 +//hasAttribute("//[AttrName]//","//[string]//")//
953 +)))|(% colspan="1" %)(% colspan="1" %)
954 +(((
955 +(% class="TableParagraph" %)
956 +Returns TRUE if [string] matches the value of the AAI attribute [AttrName] of the respective user.
957 +)))
958 +|(% colspan="1" %)(% colspan="1" %)
959 +(((
960 +\\
961 +)))|(% colspan="1" %)(% colspan="1" %)
962 +(((
963 +(% class="TableParagraph" %)
964 +//isInAttribute("//[AttrName]//","//[substring]//")//
965 +)))|(% colspan="1" %)(% colspan="1" %)
966 +(((
967 +(% class="TableParagraph" %)
968 +Returns TRUE if [substring] matches a portion of the value of the AAI attribute [AttrName] of the respective user.
969 +)))
970 +|(% colspan="1" %)(% colspan="1" %)
971 +(((
972 +\\
973 +)))|(% colspan="1" %)(% colspan="1" %)
974 +(((
975 +(% class="TableParagraph" %)
976 +//getUserProperty("//[string]//")//
977 +)))|(% colspan="1" %)(% colspan="1" %)
978 +(((
979 +(% class="TableParagraph" %)
980 +Returns the specified user property of the executing user.
981 +)))
982 +|(% colspan="1" %)(% colspan="1" %)
983 +(((
984 +\\
985 +)))|(% colspan="1" %)(% colspan="1" %)
986 +(((
987 +(% class="TableParagraph" %)
988 +//getPassed("//[integer]//")//
989 +)))|(% colspan="1" %)(% colspan="1" %)
990 +(((
991 +(% class="TableParagraph" %)
992 +Returns the Boolean TRUE (=passed) or FALSE (=not passed) from the course element with the specified ID.
993 +)))
994 +|(% colspan="1" %)(% colspan="1" %)
995 +(((
996 +\\
997 +)))|(% colspan="1" %)(% colspan="1" %)
998 +(((
999 +(% class="TableParagraph" %)
1000 +//getScore("//[integer]//")//
1001 +)))|(% colspan="1" %)(% colspan="1" %)
1002 +(((
1003 +(% class="TableParagraph" %)
1004 +Returns the number of points from the course element with the specified ID.
1005 +)))
1006 +|(% colspan="1" %)(% colspan="1" %)
1007 +(((
1008 +\\
1009 +)))|(% colspan="1" %)(% colspan="1" %)
1010 +(((
1011 +(% class="TableParagraph" %)
1012 +//getAttempts("//[integer]//")//
1013 +)))|(% colspan="1" %)(% colspan="1" %)
1014 +(((
1015 +(% class="TableParagraph" %)
1016 +Returns the number of completed attempts from the course element with the specified ID. Can be applied to course elements of the type //Test, Self-test//, //Survey //(possible return values 0 or 1), and //Task //(return value = number of submitted files).
1017 +)))
1018 +|(% colspan="1" %)(% colspan="1" %)
1019 +(((
1020 +\\
1021 +)))|(% colspan="1" %)(% colspan="1" %)
1022 +(((
1023 +(% class="TableParagraph" %)
1024 +//getInitialEnrollmentDate("//[integer]//")//
1025 +)))|(% colspan="1" %)(% colspan="1" %)
1026 +(((
1027 +(% class="TableParagraph" %)
1028 +Returns the date of the respective course participant's first-time enrolment from the course element //Enrolment// with the specified ID.
1029 +)))
1030 +|(% colspan="1" %)(% colspan="1" %)
1031 +(((
1032 +\\
1033 +)))|(% colspan="1" %)(% colspan="1" %)
1034 +(((
1035 +(% class="TableParagraph" %)
1036 +//getRecentEnrollmentDate("//[integer]//")//
1037 +)))|(% colspan="1" %)(% colspan="1" %)
1038 +(((
1039 +(% class="TableParagraph" %)
1040 +Returns the date of the respective course participant's last enrolment from the course element //Enrolment// with the specified ID.
1041 +)))
474 474  |(((
475 -isInAttribute("surname","Mue")
1043 +\\
476 476  )))|(((
477 -Gibt TRUE für alle Personen, deren Attribut //surname// die Buchstabenfolge "Mue" enthält. Gibt z.B. TRUE für den Wert "Mueller" oder "Muehlebacher" zurück.
1045 +(% class="TableParagraph" %)
1046 +//getInitialCourseLaunchDate(0)//
1047 +)))|(((
1048 +(% class="TableParagraph" %)
1049 +Returns the date of the first course visit of the respective course participant.
478 478  )))
1051 +|(((
1052 +\\
1053 +)))|(((
1054 +(% class="TableParagraph" %)
1055 +//getRecentCourseLaunchDate(0)//
1056 +)))|(((
1057 +(% class="TableParagraph" %)
1058 +Returns the date of the last course visit of the respective course participant.
1059 +)))
479 479  |(% colspan="1" %)(% colspan="1" %)
480 480  (((
481 -(getUserProperty("orgUnit") = "Marketing")
1062 +\\
482 482  )))|(% colspan="1" %)(% colspan="1" %)
483 483  (((
484 -Prüft ob eine Person in der Organisationseinheit "Marketing" ist. Dies ist sinnvoll z.B. wenn die Daten automatisiert aus LDAP übernommen werden.
1065 +(% class="TableParagraph" %)
1066 +//getRecentCourseLaunchDate(0)//
1067 +)))|(% colspan="1" %)(% colspan="1" %)
1068 +(((
1069 +(% class="TableParagraph" %)
1070 +Returns the date of the last course visit of the respective course participant.
485 485  )))
486 486  |(% colspan="1" %)(% colspan="1" %)
487 487  (((
488 -(getPassed("69742969114730") | getPassed("69742969115733") | getPassed("69742969118009")) * 10
1074 +\\
489 489  )))|(% colspan="1" %)(% colspan="1" %)
490 490  (((
491 -Diese Regel wird im Tab //«Punkte»// -> //«Punkte verarbeiten»// des Bausteins //Struktur// gesetzt. Der Baustein //Struktur// zeigt 10 Punkte, wenn einer der Tests (Kursbaustein-IDs "69742969114730", "69742969115733" oder "69742969118009") bestanden wurde, sonst 0 Punkte.
1077 +(% class="TableParagraph" %)
1078 +//getPassedWithCourseId("//[integer-1]//","//[integer- 2]//")//
1079 +)))|(% colspan="1" %)(% colspan="1" %)
1080 +(((
1081 +(% class="TableParagraph" %)
1082 +Returns the Boolean TRUE (=passed) or FALSE (=not passed) from the course element with the ID=[integer-2] of the course with the ID=[integer-1].
492 492  )))
493 493  |(% colspan="1" %)(% colspan="1" %)
494 494  (((
495 -(getScore("69742969114730") + getScore("69742969115733") + getScore("69742969118009")) >= 140 | getPassed("69978845384688")
1086 +\\
496 496  )))|(% colspan="1" %)(% colspan="1" %)
497 497  (((
498 -Diese Regel wird im Tab //«Punkte»// -> //«Bestanden wenn»// des Bausteins //Struktur// gesetzt. Der Baustein //Struktur// zeigt ein //«Bestanden»//, wenn in allen Tests zusammen minimal 140 Punkte erzielt werden oder wenn manuell ein //«Bestanden»// gesetzt wird (Kursbaustein //Bewertung// mit ID "69978845384688").
1089 +(% class="TableParagraph" %)
1090 +//getScoreWithCourseId("//[integer-1]//","//[integer-2]//")//
1091 +)))|(% colspan="1" %)(% colspan="1" %)
1092 +(((
1093 +(% class="TableParagraph" %)
1094 +Returns the number of points from the course element with the ID=[integer-2] of the course with the ID=[integer-1].
499 499  )))
500 500  |(% colspan="1" %)(% colspan="1" %)
501 501  (((
502 -getAttempts("70323786958847") > 0
1098 +\\
503 503  )))|(% colspan="1" %)(% colspan="1" %)
504 504  (((
505 -Gibt TRUE zurück, sobald der betreffende Kursteilnehmer den Test mit spezifizierter ID ein erstes Mal abgeschlossen hat.
1101 +//getMarkWithCourseId(" //[integer-1]//","//[integer-2]//")//
1102 +)))|(% colspan="1" %)(% colspan="1" %)
1103 +(((
1104 +Returns the grade from the course element with the with the ID=[integer-1].
506 506  )))
1106 +|(((
1107 +\\
1108 +)))|(((
1109 +(% class="TableParagraph" %)
1110 +//hasEvaluationCompleted("//KB-ID//")//
1111 +)))|(((
1112 +(% class="TableParagraph" %)
1113 +Returns TRUE for all users who have successfully completed the specified course element.
1114 +)))
1115 +|(((
1116 +\\
1117 +)))|(((
1118 +(% class="TableParagraph" %)
1119 +//getNumberOfEnrollments("//[string1]*//")//
1120 +)))|(((
1121 +(% class="TableParagraph" %)
1122 +Returns TRUE, when the configured number of learning group members is reached in the learning area (string1).
1123 +)))
1124 +|(((
1125 +\\
1126 +)))|(((
1127 +(% class="TableParagraph" %)
1128 +//getOnyxTestOutcome("//[string1]//","//[string2]//")//
1129 +)))|(((
1130 +(% class="TableParagraph" %)
1131 +Returns the value of the output variable from the ONYX test course element with the specified ID (string1) and the specified output variable (string2). The return value is a number.
1132 +)))
507 507  |(% colspan="1" %)(% colspan="1" %)
508 508  (((
509 -getAttempts("70323524635734") <= 3
1135 +\\
510 510  )))|(% colspan="1" %)(% colspan="1" %)
511 511  (((
512 -Gibt FALSE zurück, sobald der betreffende Kursteilnehmer mehr als 3 Dateien in den Abgabeordner des Kursbaustein //Aufgabe// gelegt hat.
1138 +(% class="TableParagraph" %)
1139 +//getOnyxTestOutcomeZK("//[string1]//","//[string2]//")//
1140 +)))|(% colspan="1" %)(% colspan="1" %)
1141 +(((
1142 +(% class="TableParagraph" %)
1143 +Returns the value of the output variable from the ONYX test course element with the specified ID (string1) and the specified output variable (string2). The return value is a string.
513 513  )))
514 514  |(% colspan="1" %)(% colspan="1" %)
515 515  (((
516 -getInitialEnrollmentDate("70323786958847") <= date("26.5.2017 18:00")
1147 +\\
517 517  )))|(% colspan="1" %)(% colspan="1" %)
518 518  (((
519 -Gibt TRUE für diejenigen Kursteilnehmer zurück, die sich vor 18 Uhr des 26. Mai 2017 über den Kursbaustein //Einschreibung// mit spezifizierter ID in eine zur Auswahl stehende Gruppe eingeschrieben haben.
1150 +(% class="TableParagraph" %)
1151 +//getProgress(//"[integer]"//)//
1152 +)))|(% colspan="1" %)(% colspan="1" %)
1153 +(((
1154 +(% class="TableParagraph" %)
1155 +Returns the progress from the course element with the specified ID as a numerical value between 0 and 100 (percent).
520 520  )))
521 521  |(% colspan="1" %)(% colspan="1" %)
522 522  (((
523 -getInitialEnrollmentDate("70323786958847") + 2h > now
1159 +\\
524 524  )))|(% colspan="1" %)(% colspan="1" %)
525 525  (((
526 -Gibt TRUE während zwei Stunden ab Einschreibezeitpunkt für diejenigen Kursteilnehmer, die sich über den Kursbaustein //Einschreibung// mit spezifizierter ID in eine zur Auswahl stehende Gruppe eingeschrieben haben. So kann abgebildet werden, dass jeder Kursteilnehmer nur während einer bestimmten Zeitdauer z.B. ein Skript bearbeiten kann.
1162 +(% class="TableParagraph" %)
1163 +//isPasswordConfirmed("//[string]")
1164 +)))|(% colspan="1" %)(% colspan="1" %)
1165 +(((
1166 +(% class="TableParagraph" %)
1167 +Returns TRUE after entering the correct password (string1).
1168 +
1169 +(% class="TableParagraph" %)
1170 +Can only be used with course elements which offer a password restriction even in simple mode.
527 527  )))
528 528  |(% colspan="1" %)(% colspan="1" %)
529 529  (((
530 -(getInitialCourseLaunchDate(0) >= never) | (getInitialCourseLaunchDate(0) + 2h > now)
1174 +\\
531 531  )))|(% colspan="1" %)(% colspan="1" %)
532 532  (((
533 -Gibt TRUE zurück, wenn der Kursteilnehmer den Kurs noch nicht besucht hat oder während der ersten zwei Stunden des ersten Kursbesuchs. So kann abgebildet werden, dass jeder Kursteilnehmer nur während einer bestimmten Zeitdauer den Kurs sehen kann.
1177 +(% class="TableParagraph" %)
1178 +//comesFrom("//[string]//")//
1179 +)))|(% colspan="1" %)(% colspan="1" %)
1180 +(((
1181 +(% class="TableParagraph" %)
1182 +Returns TRUE if the user has a linked account to OLAT with the specified system ID.
534 534  )))
535 535  |(% colspan="1" %)(% colspan="1" %)
536 536  (((
537 -(getRecentCourseLaunchDate(0) + 10min) > now
1186 +(% class="TableParagraph" %)
1187 +**Units**
538 538  )))|(% colspan="1" %)(% colspan="1" %)
539 539  (((
540 -Gibt TRUE zurück, wenn sich der Benutzer seit mehr als 10 Minuten im Kurs bewegt.
1190 +(% class="TableParagraph" %)
1191 +//min//
1192 +)))|(% colspan="1" %)(% colspan="1" %)
1193 +(((
1194 +(% class="TableParagraph" %)
1195 +Minutes
541 541  )))
542 542  |(% colspan="1" %)(% colspan="1" %)
543 543  (((
544 -getOnyxTestOutcome("84692289655276","SCORE") >= 10
1199 +\\
545 545  )))|(% colspan="1" %)(% colspan="1" %)
546 546  (((
547 -Gibt TRUE zurück, wenn der Benutzer mindestens 10 Punkte erreicht hat.
1202 +(% class="TableParagraph" %)
1203 +//h//
1204 +)))|(% colspan="1" %)(% colspan="1" %)
1205 +(((
1206 +(% class="TableParagraph" %)
1207 +//h//
548 548  )))
549 549  |(% colspan="1" %)(% colspan="1" %)
550 550  (((
551 -getOnyxTestOutcomeZK("84389429397045","PASS") ="true"
1211 +\\
552 552  )))|(% colspan="1" %)(% colspan="1" %)
553 553  (((
554 -Gibt TRUE zurück, wenn der Benutzer den Test bestanden hat.
1214 +(% class="TableParagraph" %)
1215 +//w//
1216 +)))|(% colspan="1" %)(% colspan="1" %)
1217 +(((
1218 +(% class="TableParagraph" %)
1219 +Weeks
555 555  )))
556 556  |(% colspan="1" %)(% colspan="1" %)
557 557  (((
558 -getMark("84692289655276") > 4
1223 +\\
559 559  )))|(% colspan="1" %)(% colspan="1" %)
560 560  (((
561 -Gibt TRUE zurück, wenn die Note des Nutzers für den angegebenen Baustein besser als 4 ist.
1226 +(% class="TableParagraph" %)
1227 +//m//
1228 +)))|(% colspan="1" %)(% colspan="1" %)
1229 +(((
1230 +(% class="TableParagraph" %)
1231 +Months
562 562  )))
1233 +|(% colspan="1" %)(% colspan="1" %)
1234 +(((
1235 +(% class="TableParagraph" %)
1236 +**Operators**
1237 +)))|(% colspan="1" %)(% colspan="1" %)
1238 +(((
1239 +(% class="TableParagraph" %)
1240 +~=
1241 +)))|(% colspan="1" %)(% colspan="1" %)
1242 +(((
1243 +(% class="TableParagraph" %)
1244 +equal to
1245 +)))
1246 +|(((
1247 +\\
1248 +)))|(((
1249 +(% class="TableParagraph" %)
1250 +~>
1251 +)))|(((
1252 +(% class="TableParagraph" %)
1253 +greater than
1254 +)))
1255 +|(((
1256 +\\
1257 +)))|(((
1258 +(% class="TableParagraph" %)
1259 +<
1260 +)))|(((
1261 +(% class="TableParagraph" %)
1262 +less than
1263 +)))
1264 +|(((
1265 +\\
1266 +)))|(((
1267 +(% class="TableParagraph" %)
1268 +~>=
1269 +)))|(((
1270 +(% class="TableParagraph" %)
1271 +greater than or equal to
1272 +)))
1273 +|(((
1274 +\\
1275 +)))|(((
1276 +(% class="TableParagraph" %)
1277 +<=
1278 +)))|(((
1279 +(% class="TableParagraph" %)
1280 +less than or equal to
1281 +)))
1282 +|(((
1283 +\\
1284 +)))|(((
1285 +(% class="TableParagraph" %)
1286 +*
1287 +)))|(((
1288 +(% class="TableParagraph" %)
1289 +Multiplication
1290 +)))
1291 +|(% colspan="1" %)(% colspan="1" %)
1292 +(((
1293 +\\
1294 +)))|(% colspan="1" %)(% colspan="1" %)
1295 +(((
1296 +(% class="TableParagraph" %)
1297 +/
1298 +)))|(% colspan="1" %)(% colspan="1" %)
1299 +(((
1300 +(% class="TableParagraph" %)
1301 +Division
1302 +)))
1303 +|(% colspan="1" %)(% colspan="1" %)
1304 +(((
1305 +\\
1306 +)))|(% colspan="1" %)(% colspan="1" %)
1307 +(((
1308 +(% class="TableParagraph" %)
1309 ++
1310 +)))|(% colspan="1" %)(% colspan="1" %)
1311 +(((
1312 +(% class="TableParagraph" %)
1313 +Addition
1314 +)))
1315 +|(% colspan="1" %)(% colspan="1" %)
1316 +(((
1317 +\\
1318 +)))|(% colspan="1" %)(% colspan="1" %)
1319 +(((
1320 +(% class="TableParagraph" %)
1321 +-
1322 +)))|(% colspan="1" %)(% colspan="1" %)
1323 +(((
1324 +(% class="TableParagraph" %)
1325 +Subtraction
1326 +)))
1327 +|(((
1328 +(% class="TableParagraph" %)
1329 +**Booleans**
1330 +)))|(((
1331 +(% class="TableParagraph" %)
1332 +&
1333 +)))|(((
1334 +(% class="TableParagraph" %)
1335 +Logical AND
1336 +)))
1337 +|(((
1338 +\\
1339 +)))|(((
1340 +(% class="TableParagraph" %)
1341 +~|
1342 +)))|(((
1343 +(% class="TableParagraph" %)
1344 +Logical OR
1345 +)))
1346 +|(((
1347 +\\
1348 +)))|(((
1349 +(% class="TableParagraph" %)
1350 +!
1351 +)))|(((
1352 +(% class="TableParagraph" %)
1353 +Logical NOT
1354 +)))
1355 +{{/expand}}
563 563  
564 -{{note title="Achtung!"}}
565 -Bitte beachten Sie, dass die oben erwähnten Kursbaustein-IDs Beispiele sind. Wenn Sie Ihren Kurs erstellen, müssen Sie jeweils die IDs Ihrer Kurse referenzieren.
1357 +{{expand title="Application examples of the expert syntax"}}
1358 +=== Application examples ===
1359 +
1360 +In the following section, you will find examples on how to use the expert syntax.
1361 +
1362 +{{info}}
1363 +In addition to these institution-independent examples, there are also institution-dependent rules that restrict and transmit data according to the user's institution (DFN-AAI attributes).
1364 +
1365 +For OPAL users, the page [[Overview of OPAL Shibboleth attributes>>url:https://bildungsportal.sachsen.de/help/attribute-opal_de.html||shape="rect"]] contains all currently usable institution-specific attributes of Saxon institutions.
1366 +{{/info}}
1367 +
1368 +(% class="wrapped" %)
1369 +|=(((
1370 +(% style="color: rgb(63,68,68);" %)Examples of rules in the tabs //«Visibility», «Access», //and// «Points» //(structure element)
1371 +)))|=(((
1372 +Effects
1373 +)))
1374 +|(((
1375 +(% class="TableParagraph" %)
1376 +isGuest(0) or isGuest(0)=1 or isGuest(0)=TRUE
1377 +)))|(((
1378 +(% class="TableParagraph" %)
1379 +Only guests have access to the course element.
1380 +)))
1381 +|(((
1382 +(% class="TableParagraph" %)
1383 +inLearningGroup("Beginners") = 0
1384 +)))|(((
1385 +(% class="TableParagraph" %)
1386 +With the exception of the group //«Beginners»,// the course element is visible to all course participants.
1387 +)))
1388 +|(((
1389 +(% class="TableParagraph" %)
1390 +(now >= date("22.03.2017 12:00")) & (now <= date("23.08.2017 18:00")) | inLearningGroup("Supervisors")
1391 +)))|(((
1392 +(% class="TableParagraph" %)
1393 +The course element will be visible to all course participants from 22.03.2017 to 23.08.2017. For the members of the learning group //«Supervisors», //in contrast, it will be visible// //at any time//.//
1394 +)))
1395 +|(((
1396 +(% class="TableParagraph" %)
1397 +(now >= date("03.09.2017 00:00")) & (now <= date("13.10.2017 00:00")) & inRightGroup("Assessors")| isUser("Author")
1398 +)))|(((
1399 +(% class="TableParagraph" %)
1400 +The course element will be visible to all course participants of the right group //«Assessors»// from 03.09.2017 to 13.10.2017. For the person with the user name //«Author», //in contrast, it will be visible at any time.
1401 +)))
1402 +|(% colspan="1" %)(% colspan="1" %)
1403 +(((
1404 +(% class="TableParagraph" %)
1405 +isInAttribute("surname","Mue")
1406 +)))|(% colspan="1" %)(% colspan="1" %)
1407 +(((
1408 +(% class="TableParagraph" %)
1409 +Returns TRUE for all persons whose attribute //surname// contains// //the letter sequence "Mue". It returns TRUE e.g. for the value "Mueller" or "Muehlebacher".
1410 +)))
1411 +|(% colspan="1" %)(% colspan="1" %)
1412 +(((
1413 +(% class="TableParagraph" %)
1414 +(getUserProperty("orgUnit") = "Marketing")
1415 +)))|(% colspan="1" %)(% colspan="1" %)
1416 +(((
1417 +(% class="TableParagraph" %)
1418 +Checks whether a person is in the organisation unit "Marketing". This is for example useful if the data are automatically transferred from LDAP.
1419 +)))
1420 +|(% colspan="1" %)(% colspan="1" %)
1421 +(((
1422 +(% class="TableParagraph" %)
1423 +(getPassed("69742969114730") | getPassed("69742969115733") | getPassed("69742969118009")) * 10
1424 +)))|(% colspan="1" %)(% colspan="1" %)
1425 +(((
1426 +(% class="TableParagraph" %)
1427 +This rule is set in the tab //«Points» //-> //«Process points»// of the course element //Structure//. The course element //Structure //shows 10 points if any of the tests (course element IDs "69742969114730", "69742969115733", or "69742969118009") has been passed, otherwise it will show 0 points.
1428 +)))
1429 +|(% colspan="1" %)(% colspan="1" %)
1430 +(((
1431 +(getScore("69742969114730") + getScore("69742969115733") + getScore("69742969118009")) >= 140 | getPassed("69978845384688")
1432 +)))|(% colspan="1" %)(% colspan="1" %)
1433 +(((
1434 +(% class="TableParagraph" %)
1435 +This rule is set in the tab //«Points» //->
1436 +
1437 +//«Passed if»// of the course element //Structure//. The course element //Structure //shows a //"passed"// if a minimum of 140 points is achieved in all tests together or if a //«passed» //is set manually// //(course element //Assessment //with the ID "69978845384688").
1438 +)))
1439 +|(% colspan="1" %)(% colspan="1" %)
1440 +(((
1441 +(% class="TableParagraph" %)
1442 +getAttempts("70323786958847") > 0
1443 +)))|(% colspan="1" %)(% colspan="1" %)
1444 +(((
1445 +(% class="TableParagraph" %)
1446 +Returns TRUE as soon as the course participant has completed the test with the specified ID for the first time.
1447 +)))
1448 +|(((
1449 +(% class="TableParagraph" %)
1450 +getAttempts("70323524635734") <= 3
1451 +)))|(((
1452 +(% class="TableParagraph" %)
1453 +Returns FALSE as soon as the course participant has saved more than 3 files in the drop box of the course element //Task//.
1454 +)))
1455 +|(((
1456 +(% class="TableParagraph" %)
1457 +getInitialEnrollmentDate("70323786958847") <= date("26.5.2017 18:00")
1458 +)))|(((
1459 +(% class="TableParagraph" %)
1460 +Returns TRUE for those course participants who have enrolled in one of the available groups before 6 p.m. on May 26, 2017 via the course element //Enrolment// with a specified ID.
1461 +)))
1462 +|(% colspan="1" %)(% colspan="1" %)
1463 +(((
1464 +(% class="TableParagraph" %)
1465 +getInitialEnrollmentDate("70323786958847") + 2h > now
1466 +)))|(% colspan="1" %)(% colspan="1" %)
1467 +(((
1468 +(% class="TableParagraph" %)
1469 +Returns TRUE within two hours from the time of enrolment for those course participants who have enrolled in one of the available groups via the course element //Enrolment// with a specified ID. In this way, it can be ensured that each course participant can only e.g. process a script during a certain period of time.
1470 +)))
1471 +|(% colspan="1" %)(% colspan="1" %)
1472 +(((
1473 +(% class="TableParagraph" %)
1474 +(getInitialCourseLaunchDate(0) >= never) | (getInitialCourseLaunchDate(0) + 2h > now)
1475 +)))|(% colspan="1" %)(% colspan="1" %)
1476 +(((
1477 +(% class="TableParagraph" %)
1478 +Returns TRUE if the course participant has not yet visited the course, or during the first two hours of the first course visit. In this way, it can be ensured that each course participant can only see the course for a certain period of time.
1479 +)))
1480 +|(% colspan="1" %)(% colspan="1" %)
1481 +(((
1482 +(% class="TableParagraph" %)
1483 +(getRecentCourseLaunchDate(0) + 10min) > now
1484 +)))|(% colspan="1" %)(% colspan="1" %)
1485 +(((
1486 +(% class="TableParagraph" %)
1487 +Returns TRUE if the user has been active in the course for more than 10 minutes.
1488 +)))
1489 +|(((
1490 +(% class="TableParagraph" %)
1491 +getOnyxTestOutcome("84692289655276","SCORE") >= 10
1492 +)))|(((
1493 +(% class="TableParagraph" %)
1494 +Returns TRUE if the user has reached at least 10 points.
1495 +)))
1496 +|(((
1497 +(% class="TableParagraph" %)
1498 +getOnyxTestOutcomeZK("84389429397045","PASS") ="true"
1499 +)))|(((
1500 +(% class="TableParagraph" %)
1501 +Returns TRUE if the user has passed the test.
1502 +)))
1503 +|(((
1504 +(% class="TableParagraph" %)
1505 +getMark("84692289655276") > 4
1506 +)))|(((
1507 +(% class="TableParagraph" %)
1508 +Returns TRUE if the user's grade for the specified course element is better than 4.
1509 +)))
1510 +
1511 +{{note title="Attention!"}}
1512 +Please note that the above-mentioned course element IDs are just examples. When you create a course, you need to reference the ID of your own course.
566 566  {{/note}}
567 567  {{/expand}}
568 -{{/layout-cell}}
569 -{{/layout-section}}
570 -{{/layout}}
1515 +{{/sv-translation}}
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -193333130
1 +324444003
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/LMS/pages/193333130/Expertenmodus
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/LMS/pages/324444003/Expert Mode