Akcja służy do dodawania pola tworzy pole we wskazanym miejscu na formularzu, w celu wczytywania załączników do procesu (do skonfigurowanej klasy lub otwiera okno konfiguracyjne). W celu wczytania plików, należy je upuścić na wybrane pole.które umożliwia załadowanie pliku do procesu metodą "złap i upuść". Po upuszczeniu pliku na tym polu, zgodnie z konfiguracją załącznik jest dodawany do określonej klasy dokumentów lub wyświetlane jest okno dodawania pliku.
Akcja umożliwia również dodanie kilku różnych pól konfiguracyjnych oraz jednoczesne ładowanie kilku dokumentów do różnych klas (w zależności od pola).Gdy pole jest aktywne (przed zwolnieniem przycisku myszki), obwódka posiada grubszą i ciemniejsza ramkę.
Panel
title
Parametry konfiguracyjne
Nazwa parametru
Od wersji
Opis
Typ parametru
Wartość domyślna
Rodzaj pola
Uwagi i ograniczenia
Nazwa pola*
1.0.1
Nazwa jaka ma być wyświetlana na środku polaTreść, która będzie wyświetlana wewnątrz pola "drag and drop".
Tekst
Pole edytowalne
Pozycja pola
1.0.1
Miejsce wyświetlenia pola na podstawie podanej zmiennej formularza (domyślnie na górze albo na dole formularza)formularzu.
Tekst
Pole edytowalne
Pozycje można wybrać z listy lub samodzielnie wpisać (TOP, LEFT, BOTTOM, RIGHT)
Zmienna formularza
1.0.1
Zmienna formularzaprzy ktorej ma być wyświetlone pole, która umożliwia upuszczenie pliku na "swoim" polu.
Zmienna
Pole edytowalne
Jeżeli zmienna jest ukryta, pola do umieszczania pliku zostają także ukryte
Pokaż okno dodawania dokumentów
1.0.1
Wybranie konfiguracji klasy dokumentowParametr decydujący o wyświetleniu okna konfiguracji dodawania pliku.
Logiczny
falseNie
Checkbox
true- wyświetlanie okna po przeciągnieciu pliku, dzięki czemu nastąpi możliwość konfiguracji dynamicznej (wybór klasy, opis, itp),
false- brak okna, konfiguracja statyczna (zawsze do tej samej klasy). Możliwość przepisania zmiennych procesu do indeksów klas dokumentów.
Klasa dokumentów
1.0.1
Lista klas dokumentów dostępnych w systemie. Wybór klasy dokumentów, do której dodany zostanie upuszczany plik.
Tekst
Pole edytowalne
Parametr widoczny gdy Pokaż okno dodawania dokumentów ustawiony na "nie".
Opis dokumentu
1.0.1
W przypadku braku opisu, podawana jest nazwa klasyOpis dodawanego dokumentu.
Tekst
Pole edytowalne
Parametr widoczny gdy Pokaż okno dodawania dokumentów ustawiony na "nie".
Nazwa indeksu
1.0.1
Lista indeksów wybranej klasy dokumentów.
Tablica wartości tekstowych
Pole edytowalne
Wybór z listy możliwy jest po podaniu klasy.
Parametr widoczny gdy Pokaż okno dodawania dokumentów ustawiony na "nie".
Wartość indeksu
1.0.1
Zmienna przypisana do wybranego Wartość/zmienna przepisywana do indeksu.
Zmienna
Pole edytowalne
Parametr widoczny gdy Pokaż okno dodawania dokumentów ustawiony na "nie".
Zapisz jako nowa wersja dokumentu
1.0.1Zapisuje
jako nową wersję dokumentuParametr decydujący o tym, czy dodawany dokument ma zostać zapisany jako nowa wersja.
Logiczny
falseNie
Checkboxtrue- w przypadku powtarzających się indeksów oraz jednego dokumentu o takich samych indeksach w klasie
Parametr widoczny gdy Pokaż okno dodawania dokumentów ustawiony na "nie".
1.0.1
Wartości, które zapiszemy, bądź którymi nadpiszemy zmienne zadeklarowane w szablonie.Parametr definiujący, jakie klasy będą dostępne do wyboru w oknie dodawania dokumentów.
Tablica wartości tekstowych
Pole edytowalne
Parametr widoczny gdy Pokaż okno dodawania dokumentów ustawiony na "tak".
Wyświetl indeksy
1.0.1
Określa czy w oknie dodawania dokumentów mają zostać wyświetlone indeksy.
Logiczny
falseNie
Checkboxtrue- dodatkowo wyświetlony zostaje formularz indeksów
Parametr widoczny gdy Pokaż okno dodawania dokumentów ustawiony na "tak".
Sprawdź uprawnienia
1.0.1
Określa czy mają zostać sprawdzone uprawinieniauprawnienia do klasy dokumentów mają być sprawdzane.
Logiczny
falseNie
Checkbox
Parametr widoczny gdy Pokaż okno dodawania dokumentów ustawiony na "tak".
Wybierz pierwszą klasę
1.0.1
Określa czy z listy klas dokumentów ma zostać wybrana pierwsza pozycja.
Logiczny
falseNie
Checkbox
true- pierwsza pozycja zostaje wybrana automatycznie
Parametr widoczny gdy Pokaż okno dodawania dokumentów ustawiony na "tak".
Dozwolone rozszerzenia plików
1.0.12
Ogranicza wyszukiwane pliki, do tych z podanymi rozszerzeniami. Rozszerzenia podajemy poprzedzone kropką i rozdzielamy je przecinkiem, np. 'jpg, txt'.
Tekstowy
Pole edytowalne
Parametr*- pole wymagane
Panel
title
Przykładowa konfiguracja
Podstawowa konfiguracja
Image Removed
Dodawanie do wybranej klasy dokumentów
Image Removed
Image AddedImage Added
Przykład formularza
Image Removed
Przykładowe konfiguracje
Image RemovedImage RemovedImage Removed
Image Added
Okno konfiguracyjne (dodawania dokumentów), po przeciągnięciu 4 plików na pole
Image RemovedImage Added
Panel
title
Change log
1.0.1
Dodanie komponentu
1.0.x12
Obsłużenie wykonywania warunkowego pokazywania / ukrywania pola drag and drop
1.0.12
Usunięcie problemu dwuetapowego wyświetlania. Pola drag and drop umieszczone nad i pod polem tekstowym (textarea) nie będą niepotrzebnie zmieniały swojej wysokości.
3Previous names: Document generation (up to version
1
.0.33)Category: Documents
Location of the action: Form
Panel
title
Description
Generates a document from the given template based on the current process data. Preparation of the document template is described on the page: DOCX template for generating PDF. The document can be attached to the process in which the automatic task was called. You can set your own name for the document and choose one of two types - PDF or DOCX. The component allows you to set variable values in the template using the mapping. If the variables in the template already have the corresponding variables on the form, then using this component we can overwrite these mappingsThe action is used to add a field in the indicated place on the form in order to load attachments to the process (to the configured class or opens the configuration window). In order to load files, they should be dropped onto the selected field.
The action also allows you to add several different configuration fields and simultaneously load several documents into different classes (depending on the field). When the field is active (before releasing the mouse button), the border has a thicker and darker frame.
Panel
title
Configuration parameters
Parameter name
From version
Description
Paremeter type
Default value
Field type
Comments and restrictions
FormatIndex Name*
1.0.3
The file format in which the document will be generated.
Text
PDF
Non-editable dropdown list
Values to choose from: PDF, DOCX
Preview*1
List of indexes of the selected document class.
Table of text values
Editable field
Selection from the list is possible after entering the class.
Document class
1.0.3
It allows the user to preview a document after it has been generated
Logical1
List of document classes available in the system.
Text
Editable field
Message*
Field position
1.0.3Message displayed when generating the document. If the show parameter is set to true this parameter is not used1
Place where the field is displayed based on the given form variable (default at the top or bottom of the form).
Text
Editable field
Document class*
Field name
1.0.31
Thename
of the document class to which the generated document will be added. Note - the parameter must contain the original name of the document class as the translations are not supported
to be displayed in the middle of the field.
Text
Editable dropdown list
Values to choose from: <names of document classes available in the system>
You can enter your own name, but if the component does not find a class in the system it will show an error message.
Template*
field
Check permissions
1.0.3
The name of the template of the generated document. The template should be attached to the process in which we use the automatic task. The method of adding the template has been described here(1.1.3)
Text
Editable field
If it does not find a template in the system, the component will show error message.
Attach*1
Specifies whether to check the permissions.
Logical
No
Checkbox
Show indexes
1.0.3Attach the generated document to the process1
Specifies whether to display indexes.
Logical
No
Non-editable dropdown list
New version*
Checkbox
Yes - additionally, the index form is displayed
Choose first class
1.0.31Saves the
document attached to the process as a new version. It works only when exactly one document from the same class is attached to the process with the same indexesDefines whether the first item should be selected from the list of document classes.
Logical
No
Non-editable dropdown list
Document nameCheckbox
Yes - the first item is selected automatically
Document description
1.0.24Allows you to enter your own name of the generated document. If this parameter is not completed the system will generate the name itself1
In the absence of a description, the class name is provided.
Text
Editable field
If "/" or "\" is found in the name, the component will show error message.
Mapping keys
Document class names
1.0.31
The
keys from the template that we want to map to the appropriate values given in "Mapping Values". E.g. for the values in the template: "@ name @" enter the key "name"
values we will save or overwrite the variables declared in the template.
Table of text values
Editable field
Mapping values
Show window for adding documents
1.0.3
Values that we save or with which we overwrite the variables declared in the template
Table of text values
Editable field
Document placement
1.0.X
Specifies where to place the document - in the archive in the process or nowhere (then only displays the document for preview)
Text
Archive
Editable dropdown list1
Selecting Document Class Configuration.
Logical
No
Checkbox
Yes- displaying the window after dragging the file, thanks to which dynamic configuration (class selection, description, etc.) will be possible,
No- no window, static configuration (always in the same class). Option to rewrite process variables into document class indexes.
Save as new version of the document
1.0.1
Saves as a new version of the document.
Logical
No
Checkbox
Yes - for duplicate indexes and one document with the same indexes in the class.
Variable form
1.0.1
The form variable at which the field should be displayed.
Index value
1.0.1
Variable assigned to the selected index.
Parameter*- mandatory field
Panel
title
Configuration example
Podstawowa konfiguracja
Image Removed
Dodawanie do wybranej klasy dokumentów
Image Removed
Przykład formularza
Image Removed
Przykładowe konfiguracje
Image RemovedImage RemovedImage Removed
Okno konfiguracyjne (dodawania dokumentów), po przeciągnięciu 4 plików na pole
Image Removed
Basic configuration
Image Added
Example of a form
Image Added
Configuration window (for adding documents) after dragging 4 files to the field
Image Added
Panel
title
Change log
1.0.31
Addingacomponent
1.0.11
Adding the parameters "Mapping keys" and "Mapping values"
1
Conditional execution of showing / hiding the drag and drop field
1.0.23
Changing the section from "General" to "Documents"
1.0.24
Adding the "Document name" parameter
1.0.33
Changing the name from "Generating a document" to "Generating a document from a template"
1.0.43
Update of the dynamic form
Removal of the option of placing actions under the acceptance button
X
Fixed the two-step display problem. The drag and drop field placed above and below the textarea will not change its height unnecessarily.