Versions Compared

Key

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

Image Added

 

Polish
Info
 Jeśli masz problem ze zrozumieniem jak działa akcja, sprawdź opisy: Akcja, Wykonanie warunkowe, Parametry komponentów
Panel
titlePodstawowe informacje

Kategoria: Tools

Umiejscowienie akcji: Zmienna, Przycisk, Przycisk akceptacji

Dostępna od wersji: 1.0.0 - 1.0.6

Panel
titleOpis
Akcja wyświetla okno modalne, które ma na celu ustawienie wartości wybranej zmiennej na formularzu w zależności od wciśniętego przycisku.
Panel
titleWywołanie akcji
Info

Pozostawienie pustego pola wykonania warunkowego jest jednoznaczne z ustawieniem go na "prawdę".

Umiejscowienie akcjiDziałanie parametru "Wykonanie warunkowe"Warunek wywołania akcji
Zmienna

Uaktywnia akcję

Parametr "Wykonanie warunkowe" zwróci "prawdę"

PrzyciskUaktywnia akcję

Parametr "Wykonanie warunkowe" zwróci "prawdę"

Przycisk akceptacjiUaktywnia akcję

Parametr "Wykonanie warunkowe" zwróci "prawdę"

Panel
titleParametry konfiguracyjne
Nazwa parametruOd wersjiOpisTyp parametruWartość domyślnaRodzaj polaUwagi i ograniczenia
Tytuł okna*1.0.0 - 1.0.6Parametr definiuje tytuł pojawiającego się okna modalnego.Tekst Pole edytowalne 
Treść wiadomości okna*1.0.0 - 1.0.6Określa treść wiadomości pojawiającego się okna modalnego.Tekst Pole edytowalne

 


 

Zmienna do ustawienia*1.0.0 - 1.0.6Określa zmienną, która zostanie ustawiona jedną z dwóch wartości poniższych parametrów Wartość ustawiana po kliknięciu 'Tak' / Wartość ustawiana po kliknięciu 'Nie', w zależności od wciśniętego przycisku.Zmienna Pole edytowalne 
Wartość ustawiana po kliknięciu 'Tak'*1.0.0 - 1.0.6Określa wartość, jaka zostanie ustawiona w ramach wybranej zmiennej po wciśnięciu przycisku 'Tak'.Tekst Pole edytowalne 
Wartość ustawiana po kliknięciu 'Nie'*1.0.0 - 1.0.6Określa wartość, jaka zostanie ustawiona w ramach wybranej zmiennej po wciśnięciu przycisku 'Nie'.Tekst Pole edytowalne 

Parametr*- pole wymagane

Panel
titlePrzykładowa konfiguracja

 

Panel
titlePrzykład działania

Przykład wyglądu okna na podstawie powyższej przykładowej konfiguracji:

Panel
titleChange log

1.0.0 - 1.0.6

  • Dodanie komponentu

1.0.39

  • Naprawa działania akcji na przycisku akceptacji, zmiana nazw parametrów
Panel
titlePakiet z przykładowym formularzem wykorzystującym akcję

View file
nameTesty komponentów - akcje - [AKCJA] Blokowanie_odblokowywanie edycji zmiennych 2019-10-14 10_23_38.zip
height250
 

Hide If
special@anonymous

Zadania związane z komponentem

Aktualne

Archiwalne

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

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-422

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-452

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

Panel
titleBasic information

Category:

General

Tools

Action location:

Table,

Variable,

Form

Button, Acceptance button

Available from version: 1.0.

3

0 - 1.0.6 

Panel
titleDescription
The action blocks/unblocks the editing of header/table variables or specific columns in the selected row of the dynamic table. Note - the action does not unblock tabular variables edit!

Action displays a modal window that aims to set the value of a selected variable on the form depending on the button pressed.

Panel
titleAction execution
Warning

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

Block / unblock conditiontrue" to the currently selected field in the column
Action location 

Parameter operation "Conditional execution"

Action call condition 
TableVariable Activates the action 

Parameter "

Conditional execution" will return "

Variable Invoke

truth"

ButtonActivates the action Parameter "Conditional execution" will return "truth"
FormAcceptance buttonInvoke Activates the action Parameter "Conditional execution" will return "truth" 
Panel
titleConfiguration parameters
Activity type 

Possible values to choose: "Block" and "Unblock" 

Parameter name From versionDescription Parameter type Default value Field type Comments and restrictions 
VariablesWindow name*1.0.0 Variables that will be blocked / unblocked Variables table - 1.0.6Defines the title of the modal window that appears.Text Editable field 

It can not be empty.

 

Window message content*1.0.47Specifies if the action should block variables or unblock 0 - 1.0.6Defines the message content of the modal window that appears.TextBlocking Non editable dropdown list 
Activity type From versionParameter value to enter (without using the drop down list) 
Blocking1.0.47BLOCK
Unblock1.0.47UNBLOCK

Blocking/unblocking fields condition 

1.0.0A function which determines a condition for blocking/unblocking specific fields in a given row based on values from other fields. The function can use the context variable "Selected row". Function  NoEditable field Appears only if the action is placed on a dynamic table. It accepts only functions that return a logical value.Editable field 

 


Variable to be set *

1.0.0 - 1.0.6Specifies a variable that will be set to one of the two values of the following parameters: Value set after clicking 'Yes' / Value set after clicking 'No' depending on the button pressed.Variable Editable field 

 

Value set after clicking 'Yes'*1.0.0 - 1.0.6Defines the value that will be set for the selected variable when the 'Yes' button is pressed.Text Editable field  
Value set after clicking 'No'*1.0.0 - 1.0.6Defines the value that will be set for the selected variable when the 'No' button is pressed.Text Editable field  

Parameter*- required field

Panel
titleSample configuration

Image RemovedImage Added

Table condition example (completed field):

#not(empty(item($Selected row, $Selected variable))).  

Table condition example (identical value in the field on the form and selected table field): 

#eq($variable_form,item($Selected row,$variable_tab)) 
Panel
titleExample
Expand
titleExample 1
Panel
titleExample 1
of use

An example of the window appearance based on the above example configuration:

Image Added

Panel
titleChange log

1.0.3

  • Adding component

0 - 1.0.42

Fixing an error with reading an incorrect value from the line

6

  • Adding component

1.0.56

Dynamic form update - adding an additional parameter "Action type" and validation of the values given in the fields "Condition of blocking / unblocking fields" and "Variables"

39

  • Fixing the action on the accept button, renaming parameters