Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Added

 

Polish

 Powrót do spisu komponentów: AttachmentPlus Attachments

 

Panel
titlePodstawowe informacje

Kategoria: Załącznik

Umiejscowienie akcji: Tabela, Przycisk tabeli

Dostępna od wersji: 1.0.0

Panel
titleOpis

Akcja służy do usunięcia informacji o załączniku z tabelki oraz odpięciu tego załącznika z aktualnego procesu. Załącznik pozostanie w może również zostać usunięty z archiwum.

Akcja dodaje przycisk do tabelki podczas wczytywania formularza. Po kliknięciu w przycisk i niezaznaczeniu żadnego wiersza w tabeli, na górze strony zostanie wyświetlony komunikat o treści zdefiniowanej w parametrze "Wiadomość o braku zaznaczenia:". Po wyborze danego wiersza i kliknięciu w przycisk, wyświetlone zostanie okienko z pytaniem potwierdzającym zamiar usunięcia załącznika (TAK/NIE). Po akceptacji zostanie odczytany nr id z danego wiersza i wybranej kolumny (ustawionej w parametrze "Kolumna dla "Id pliku""). Następnie zostanie usunięty wskazany wiersz w tabeli oraz odłączony dokument o podanym id z aktualnego procesu. UWAGA, gdy dokument o podanym id nie istnieje w procesie, wybrany wiersz zostanie usunięty.

Panel
titleParametry konfiguracyjne
Nazwa parametruOd wersjiOpisTyp parametruWartość domyślnaRodzaj polaUwagi i ograniczenia
Nazwa przycisku*1.0.0Nazwa jaka ma zostać wyświetlona na przycisku.TekstUsuńPole edytowalne

Pole Parametr jest ukryte ukryty w przypadku podpięcia akcji pod przycisk tabeli.

Nazwa ikony przycisku1.0.0Nazwa ikony która ma zostać wyświetlona na dodanym przycisku. Spis: Ikon (automatycznie do nazwy doklejane jest słowo " silk- ").TekstdeletePole edytowalne

Pole Parametr jest ukryte ukryty w przypadku podpięcia akcji pod przycisk tabeli.

Kolumna dla "Id pliku"*1.0.0Zmienna w tabeli która będzie przechowywać id pliku (unikalny identyfikator dokumentu w systemie) dodanych załączników.Zmienna Pole edytowalne 
Wiadomość o braku zaznaczenia:*1.0.0Treść komunikatu , który ma się wyświetlić w przypadku braku wyboru wiersza, po wciśnięciu przycisku.TekstProszę najpierw wybrać linię w tabeli.Pole edytowalne 
Usuń z archiwum*1.0.23Określa, czy dokument odpinany z procesu powinien zostać także usunięty z archiwum.LogicznyNIEPole edytowalne 
Warunek dla wiersza1.0.23Warunek, jaki musi zostać spełniony, by akcja została wykonana w danym wierszu. Za pomocą zmiennej kontekstowej Indeks wiersza można odnieść się do poszczególnych wartości danego wiersza.Funkcja logiczna Pole edytowalne 

Parametr* -pole wymagane

 
Panel

 

titleZmienne kontekstowe
Nazwa zmiennej kontekstowejOd wersjiOpisTyp parametru
Indeks wiersza1.0.23Przechowuje informacje o indeksie obecnie ustawianego wiersza. Można ją wykorzystać w parametrze "Warunek dla wiersza", by uzyskać wartości z wybranego wiersza.Całkowita
Panel
titlePrzykładowa konfiguracja

Umieszczenie akcji na tabeli

Image RemovedImage Added

Umieszczenie akcji pod przyciskiem tabeli

Image RemovedImage Added

Panel
titleChange log

 1.0.0

  • Dodanie komponentu

x1.x0.13

  • Dodanie możliwości podpięcia akcji pod przycisk tabeli

1.0.23

  • Dodanie nowego parametru Usuń z archiwum
  • Dodanie nowego parametru Warunek dla wiersza

1.0.29

  • Poprawienie wykonywania warunkowego
Panel
titlePakiet z przykładowym formularzem wykorzystującym akcję

 

View file
nameAttachmentPluginTest 2017-04-20 .zip
height250

Hide If
special@anonymous
Panel
titleZadania związane z komponentem

Archiwalne

JIRA
server192.168.1.52 JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyPWET-107

English

Return to the list of available actions

Info

If you have trouble understanding how the action works, check the descriptions: Action, Conditional execution, Component parameters

components list: Plus Attachments

 

Panel
titleBasic information

Category: Table

Action location: Table, Table button

Available from version: 1.0.0

Selecting a row and fulfilling the condition from the parameter: "Blocking condition for the row
The action is used to remove information about the attachment from the table and to detach this attachment from the current process. The attachment can also be deleted from the archive depending on the configuration of the parameters. The action adds a button to the table while the form is being loaded. After clicking the button and not selecting any row in the table, a message will be displayed at the top of the page with the content defined in the "No selection message:" parameter. After selecting a given line and clicking on the button, a window will be displayed with a question confirming the intention to remove the attachment (YES / NO). After acceptance, the id number will be read from the given row and selected column (set in the "Column for "File Id" " parameter). Then the indicated row in the table will be deleted and the document with the given id will be detached from the current process. NOTE, when the document with the given id does not exist in the process, the selected line will be deleted.
Panel
titleDescription

Locks buttons whose identifiers are given in arguments. We assign the action to a dynamic table whose buttons will be blocked. We can lock the buttons for specific rows by setting the Call type parameter to: Call after the line is selected (the default value of this parameter is: Call after conditional execution condition) and then setting the Block condition parameter for the line. To refer to the number of the selected line, use the context variable "Selected line".

Panel
titleAction execution
Warning

Leaving the conditional field blank is tantamount to setting it to "true."

Location of the actionCall typeOperation of the "Conditional execution" parameterCondition of calling the action
TableCall after conditional execution conditionExecutes an actionThe "Conditional Execution" parameter will return "true"
Called after line selectionActivates the response to the row selection event
Panel
titleConfiguration parameters
Parameter Notes Call type38Block condition 38
Name of the parameter

Parameter name

From version

Description

Paremeter type

Default value

Field type

Comments and restrictions

Button name*

1.0.

Specifies when to lock the table buttonsTextCall after conditional execution conditionValue list

Values to choose from:

Displayed ValueValue transmitted
Call after conditional execution conditioncondition-passed
Called after line selectionrow-selected
Buttons ids1.0.0Id of dynamic table buttons (available from PWE level) that will be lockedAn array of text values Editable field Basic button identifiers are:

- add - add line button
- insert - line insert button
- delete - delete line button
- copy - line copy button

1

The name to be displayed on the button.

Text

 

Editable field

The parameter is hidden when an action is attached to a table button.
Icon name1.0.1

The name of the icon to be displayed on the added button. List: Icons (the word "silk-" is automatically attached to the name).

Text Editable field
The parameter is hidden when an action is attached to a table button.
Column for "file id"*1.0.1Variable in the table that will store the file id (unique document identifier in the system) of added attachments.Variable Editable field 
No selection message*1.0.1The content of the message that is to be displayed in the case of no line selection, after pressing the button.Text Editable field 
Delete from archive*1.0.23Determines whether the document being detached from the process should also be removed from the archive.BooleanNOEditable field 
Condition for row
1.0.23(The parameter appears after choosing "Call after selecting the line" in the "Call type" parameter)Logical The condition that must be met for an action to be performed on a row. The context variable Row Index can be used to refer to the individual values of a row.Logical Function  Editable field 

Parameter*- required mandatory field 

Panel
titleSample configuration

Image Removed

Context variables
Context variable nameFrom versionDescriptionParameter type
Row index
1.0.23Stores information about the index of the row currently being accessed. It can be used in the 'Condition for row' parameter to obtain values from the row.Integer
Panel
titleExampleConfiguration example

 

Table configuration

Image Added

Table button configuration

Image Added

Panel
titleChange log

 1.0.0

  • Adding a component

1.0.1

Added blocking option after selecting the line

13

  • Enable to add action to the table button

1.0.38

  • Addition of the "Call type" parameter

1.0.40

  • Solution to the problem in case of an empty table
 

 

 

23

  • Added new parameter Delete from archive
  • Added new parameter Condition for row