Changes for page Zähler


From version 1.4
edited by gru
on 19.08.2021, 11:03
Change comment: There is no comment for this version
To version 1.14
edited by gru
on 30.08.2021, 17:25
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,26 +1,26 @@
1 1  {{content/}}
2 2  
3 3  {{id name="fig_counter"/}}
4 -{{figure image="counter_de.png"}}Configuration interface for creating counters: (1) list of existing counters, (2) area for editing the selected counter, (3) metadata of the counter.{{/figure}}
4 +{{figure image="counter_en.png"}}Configuration interface for creating counters: (1) list of existing counters, (2) area for editing the selected counter, (3) metadata of the counter.{{/figure}}
5 5  
6 6  The values of the counters can be changed with the action [[Change counter>>doc:Formcycle.Designer.Workflow.Actions.ModifyCounter]] and read out via [[variables>>doc:Formcycle.UserInterface.Variables]] and thus used in [[conditions>>doc:Formcycle.Designer.Workflow.FlowControl.Condition]], for example.
7 7  
8 8  == Creating a counter ==
9 9  
10 -Öffnen Sie das Modul "Daten > Zähler" und klicken Sie auf die Schaltfläche "Neu" {{ficon name="plus-circle-outline"/}} in der Kopfzeile der Liste (siehe Punkt 1 in der [[Abbildung>>||anchor="fig_counter"]]). Daraufhin können die entsprechenden [[Einstellungen>>||anchor="HKonfigurationsoptionen"]] für den Zähler getroffen werden und der Zähler ist. Mit einem Klick auf die Schaltfläche //Speichern// wird der Zähler angelegt.
10 +Open the "Data > Counter" module and click the "New" button {{ficon name="plus-circle-outline"/}} in the header of the list (see point 1 in [[figure>>||anchor="fig_counter"]]). Then the appropriate [[settings>>||anchor="HKonfigurationsoptionen"]] for the counter can be made. With a click on the //Save// button the counter is created.
11 11  
12 12  == Configuration options ==
13 13  
14 14  ; Name
15 -: Name des hlers
15 +: Name of the counter
16 16  ; Current value
17 -: Hier wird der aktuelle Wert des hlers angezeigt. Nach einen Klick auf das Stiftsymbol kann der Wert angepasst und über ein Klick auf den Haken übernommen werden.
17 +: The current value of the counter is displayed here. After clicking on the pencil symbol, the value can be adjusted and accepted by clicking on the check mark.
18 18  ; Reset automatically
19 -: Wenn diese Option aktiviert wurde, kann über die folgenden Optionen festgelegt werden, unter welchen Bedingungen der Zähl zurückgesetzzt werden soll:
19 +: If this option has been activated, the following options can be used to specify under which conditions the counter is to be reset:
20 20  :; Initial value
21 -:: Wert auf den der hler zurückgesetzt werden soll
21 +:: Value to which the counter is to be reset
22 22  :; Condition
23 -:: Bedingung unter welcher der Zähler zurückgesetzt werden soll. Zur Auswahl stehen die folgenden Optionen:
23 +:: Condition under which the counter is to be reset. The following options are available for selection:
24 24  ::: - Counter greater than or equal
25 25  ::: - Counter less than or equal
26 26  ::: - daily
... ... @@ -27,24 +27,32 @@
27 27  ::: - weekly
28 28  ::: - monthly
29 29  ::: - yearly
30 -:: Entsprechend der hier getroffenen Auswahl werden die folgenden Felder sichtbar
30 +:: According to the selection made here, the following fields become visible:
31 31  ::; Value
32 -::: Wert mit dem der Zähler verglichen werden soll. Nur verfügbar, wenn //Zähler größer gleich// oder //Zähler kleiner gleich// als Bedingung ausgewählt wurde.
32 +::: Value with which the counter is to be compared. Only available if //counter greater than or equal// or //counter less than or equal// has been selected as condition.
33 33  ::; at
34 -::: Uhrzeit, an der das Zurücksetzen stattfinden soll. Nur verfügbar, wenn //täglich//, //wöchentlich//, //monatlich// oder //jährlich// als Bedingung ausgewählt wurde.
34 +::: Time at which the reset should take place. Only available if //daily//, //weekly//, //monthly// or //annually// is selected as condition.
35 35  ::; On days
36 -::: Wochentag, an dem das Zurücksetzen stattfinden soll. Nur verfügbar, wenn //wöchentlich// als Bedingung ausgewählt wurde.
36 +::: Day of the week on which the reset should take place. Only available if //weekly// is selected as condition.
37 37  ::; Day of the month
38 -::: Tag in Monat, an dem der Zähler zurückgesetzt werden soll. Nur verfügbar, wenn //monatlich// oder //jährlich// als Bedingung ausgewählt wurde.
38 +::: Day in month on which the counter is to be reset. Only available if //monthly// or //yearly// is selected as condition.
39 39  ::; Month
40 -::: Monat, in dem der Zähler zurückgesetzt werden soll. Nur verfügbar, wenn //jährlich// als Bedingung ausgewählt wurde.
40 +::: Month in which the counter is to be reset. Only available if //annual// is selected as condition.
41 41  
42 -Unter den Einstellungen werden zudem die folgenden Informationen unter //Zähler-Metadaten// angezeigt:
42 +The following information is also displayed under the settings in //Counter meta data//:
43 43  
44 44  ; UUID
45 -: Systeminterne UUID des hlers
45 +: System internal UUID of the counter
46 46  ; Angelegt am
47 -: Zeitpunkt, an dem der hler erstellt wurde
47 +: Time when the counter was created
48 48  ; Geändert am
49 -: Zeitpunkt, an dem zum letzten Mal Änderungen am hler vorgenommen wurden
49 +: Time when changes were last made to the meter
50 50  
51 +== Variables ==
52 +
53 +The values of counters can be read out via [[variables>>doc:Formcycle.UserInterface.Variables]], for example in the workflow or as values of form elements. The syntax is as follows:
54 +{{code language="none"}}[%$COUNTER_CLIENT.<name of the counter>%]{{/code}}
55 +
56 +{{velocity}}
57 +##Ein der obenstehenen Funktion ähnliches Template kann auch per Autocomplete direkt im JavaScript-Bereich des Formulardesigners eingefügt werden. Hierzu muss hintereinander {{code language=none}}Counter query{{/code}} (oder zumindest {{code language=none}}Counter{{/code}}) eingegeben werden und die vom Autocomplete vorgeschlagene Option //Counter query// mit einem Klick oder mit den Pfeiltasten ausgewählt und der der Enter-Taste bestätigt werden.
58 +{{/elocity}}