This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:software:tim:multiaccess [2018/06/12 15:24] Julian Le |
en:software:tim:multiaccess [2021/07/01 09:52] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Multi-Access-Handling ====== | ====== Multi-Access-Handling ====== | ||
- | If more than one user can access the same [[en:software:tim:smartform_basics|smartform]] simutanously, it is recommended to lock the editing for other users, when one user opens it. | + | If more than one user can access the same [[:en:software:tim:smartform_basics|smartform]] simutanously, it is recommended to lock the editing for other users, when one user opens it. |
- | This blockade also works in the preview window in the ToDo-Client, but not in the preview window of the processmanager client, because it displays the [[en:software:tim:multiaccess#special_accesses_to_the_smartform_that_are_not_affected_by_the_blocking|view's special case]]. | + | This blockade also works in the preview window in the ToDo-Client, but not in the preview window of the processmanager client, because it displays the [[:en:software:tim:multiaccess#special_accesses_to_the_smartform_that_are_not_affected_by_the_blocking|view's special case]]. |
- | Will man nur gewisse Bereiche einer Smartform bei Bearbeitung blocken, so wird in diesem [[:software:tim:section_handling?s[]=section&s[]=lockable#locking|Artikel]] näheres dazu erklärt. | + | Will man nur gewisse Bereiche einer Smartform bei Bearbeitung blocken, so wird in diesem [[:software:tim:section_handling?s[]=section&s[]=lockable#locking|Artikel]] näheres dazu erklärt. If you want to lock only certain parts of the smartform, go to this [[:en:software:tim:section_handling?s[]=section&s[]=lockable#locking|article]]. |
- | If you want to lock only certain parts of the smartform, go to this [[en:software:tim:section_handling?s[]=section&s[]=lockable#locking|article]]. | + | |
The options are explained in this article with disadvantages and advantages. | The options are explained in this article with disadvantages and advantages. | ||
Line 14: | Line 13: | ||
===== Multi-Access-Handling via the Smartform ===== | ===== Multi-Access-Handling via the Smartform ===== | ||
- | An advanteg of this method is: The properties file does not have be edited, instead the handling is regulated via a [[en:software:tim:smartform_basics|smartform]]-attribute. Moreover does this setting only effect one process/[[en:software:tim:smartform_basics|smartform]], this means the others keep their settings. | + | An advanteg of this method is: The properties file does not have be edited, instead the handling is regulated via a [[:en:software:tim:smartform_basics|smartform]]-attribute. Moreover does this setting only effect one process/[[:en:software:tim:smartform_basics|smartform]], this means the others keep their settings. |
- | To do this, the form-elemnt has to contain the attribute ''multiAccess=REPLACEME''. | + | To do this, the form-elemnt has to contain the attribute ''multiAccess=REPLACEME''. |
3 values can be assigned to this attribute. | 3 values can be assigned to this attribute. | ||
Line 26: | Line 25: | ||
==== false: ==== | ==== false: ==== | ||
- | ''multiAccess = "false"'' means that the smartform is not editable immediately, to edit it the pencil icon has to be clicked first. When this happens, the smartform is locked for every other user until the editor closes the smartform.\\ | + | ''multiAccess = "false"'' means that the smartform is not editable immediately, to edit it the pencil icon has to be clicked first. When this happens, the smartform is locked for every other user until the editor closes the smartform. |
If a smartform is being edited, every other user can see who is editing. | If a smartform is being edited, every other user can see who is editing. | ||
Line 32: | Line 31: | ||
1. User 1 opens the smartform first: | 1. User 1 opens the smartform first: | ||
- | {{ :en:software:tim:multiaccess1.png?400|}} | + | {{:en:software:tim:multiaccess1.png?400 }} |
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
2. User 2 opens the smartform, after suer 1 clicked on edit "smartform": | 2. User 2 opens the smartform, after suer 1 clicked on edit "smartform": | ||
- | {{ :en:software:tim:multiaccess2.png?400 |}} | + | {{:en:software:tim:multiaccess2.png?400 }} |
+ | \\ | ||
==== auto: ==== | ==== auto: ==== | ||
- | Wenn ''multiAccess = "auto"'' gesetzt wird, sperrt der Nutzer die [[:software:tim:smartform_basics|Smartform]] automatisch beim Öffnen. Andere Nutzer können sie solange nicht bearbeiten, bis der Bearbeitende User die [[:software:tim:smartform_basics|Smartform]] schließt. D.h. es ist mit dieser Einstellung nicht möglich eine [[:software:tim:smartform_basics|Smartform]] "nur" anzusehen, ohne deren Bearbeitung zu verhindern. | + | ''multiAccess = "auto"'' means that the smarform is automatically locked when someone opens the smartform. Others cannot edit the smartform unless the editing user closes the smartform. This means that with this setting it is not possible to "just" view a smartform without preventing the editing. |
---- | ---- | ||
- | ===== Multi-Access-Handling über die tim.properties Datei ===== | + | ===== Multi-Access-Handling via the tim.properties file ===== |
- | Diese Methode macht vor allem Sinn, wenn ein Multi-Access-Handling für alle Prozesse/[[:software:tim:smartform_basics|Smartforms]] stattfinden soll. Denn eine Änderung in der [[:software:tim:tim.properties|tim.properties]] Datei wirkt global (auf alle Mandanten und Prozesse). | + | This is especially useful if Multi-Access-Handling occur for every process/smartform. Because a change in the [[en:software:tim:tim.properties|tim.properties]] file has an effect globally (all clients and processes): |
- | Der [[:software:tim:tim.properties|tim.properties ]]Datei muss die Zeile ''form-access-mode=ERSETZMICH'' hinzugefügt werden. | + | The line ''form-access-mode=REPLACEME'' has to be added to the propereties file. |
- | Auch bei dieser Methode gibt es 3 verschiedene Werte: | + | This time the are again 3 different values: |
==== multi ==== | ==== multi ==== | ||
- | ''form-access-mode=multi'' ist die Default-Einstellung, das bedeutet mehrere Benutzer können gleichzeitig eine [[:software:tim:smartform_basics|Smartform]] bearbeiten. | + | ''form-access-mode=multi'' is the default setting, this means more than one user can access the smartform. |
==== single ==== | ==== single ==== | ||
- | Ist ''form-access-mode= false'' gesetzt, so ist die [[:software:tim:smartform_basics|Smartform]] nicht sofort bearbeitbar. Dazu muss zuerst auf das Stiftsymbol geklickt werden. Danach ist die Bearbeitung für alle anderen User gesperrt, solange bis der Bearbeitende die [[:software:tim:smartform_basics|Smartform]] schließt.\\ | + | ''form-access-mode= false'' means that the smartform is not editable immediately, to edit it the pencil icon has to be clicked first. When this happens, the smartform is locked for every other user until the editor closes the smartform. |
- | Wird eine [[:software:tim:smartform_basics|Smartform]] gerade bearbeitet, kann jeder andere Nutzer sehen, wer diese zur Zeit bearbeitet. | + | |
==== single-auto ==== | ==== single-auto ==== | ||
- | Wenn ''form-access-mode=auto'' gesetzt wird, sperrt der Nutzer die [[:software:tim:smartform_basics|Smartform]] automatisch beim Öffnen. Andere Nutzer können die [[:software:tim:smartform_basics|Smartform]] solange nicht bearbeiten, bis der Bearbeitende sie schließt. D.h. es ist mit dieser Einstellung nicht möglich, eine [[:software:tim:smartform_basics|Smartform]] "nur" anzusehen, ohne deren Bearbeitung durch andere User zu verhindern. | + | ''form-access-mode=auto'' means that the smarform is automatically locked when someone opens the smartform. Others cannot edit the smartform unless the editing user closes the smartform. This means that with this setting it is not possible to "just" view a smartform without preventing the editing. |
---- | ---- | ||
- | ===== Freigabe der Smartform ===== | + | ===== Unlocking the Smartform ===== |
+ | A locked smartform can be unlocked via different events. After one of the following resolves, one click on the smartform is enough to edit it. | ||
- | Eine geblockte Smartform kann durch mehrere Events freigegeben werden. Nach eintreten eines der folgenden Punkte reichet ein Klick auf das Smartform-Tab in der XXXXX um die Smartform wieder selbst bearbeiten zu können: | + | ==== Closing the Smartform ==== |
- | ==== Schlließen der Smartform ==== | + | When the editing user closes the smartform, it is unlocked for editing. |
- | Wenn der bearbeitende User die Smartform schließt, wird sie wieder zur Bearbeitung freigegeben. | + | ==== Finishing the Task ==== |
- | ==== Erledigen der Aufgabe ==== | + | When the editing user finished the task, the smartform is unlocked for editing. |
- | + | ||
- | Erledigt der bearbeitende Benutzer die Aufgabe, wird die Smartform wieder zur Bearbeitung freigegeben. | + | |
==== Logout ==== | ==== Logout ==== | ||
- | Schließt ein Benutzer TIM, während er eine Aufgabe bearbeitet, wird diese wieder zur Bearbeitung freigegeben. | + | If a user closes tim, while he was working on the task, the smartform is unlocked for editing. |
==== Timeout (30m) ==== | ==== Timeout (30m) ==== | ||
- | Fängt ein User an eine Smartform zu bearbeiten, trägt aber 30 Minuten keine Änderung ein, wird ihm das Bearbeitungs-Recht entzogen und die Smartform wird wieder zur Bearbeitung freigegeben. | + | If a user starts to edit a smartform. but does not change anything for 30 minutes, the editing right is revoked and the smartform is unlocked for editing. |
- | Will man das Zeitfenster anpassen, also es kürzer oder länger machen, kann man dies durch einfügen der Zeile ''section timeout=XX'' in der [[:software:tim:tim.properties|tim.properties -Datei]] machen. Das XX gibt dabei die gewünschte Dauer in Minuten an. | + | If you want to set the time, e.g. longer or shorter, adding the line ''section timeout=XX'' in the properties will do the trick. The XX is the desired time in minutes. |
---- | ---- | ||
- | |||
===== Special accesses to the smartform that are not affected by the blocking ===== | ===== Special accesses to the smartform that are not affected by the blocking ===== | ||
- | Wenn ein Benutzer das Starterrecht besitzt, kann er nicht nur aktuelle Aufgaben sehen, sondern auch Instanzen eines Prozesses. Sollte ein solcher User aus der Unstanz-Sicht auf die Smartform zugreifen, blockiert er weder die Smartform noch wirkt sich eine Blockade der Smartform durch einen anderen User auf ihn aus. | + | If a user has the starter role, he can not only see the current task, but also the instances of a process. If such a user accesses the smartform via the instance view, he does not block the smartform and he cannot be blocked by other users. |