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

Kategoria: Ulubione

Umiejscowienie akcji: Tabela, Przycisk tabeli

Dostępna od wersji: 1.0

Akcja służy do zapisania danych z "Tabeli dynamicznej" pod konkretną nazwą w danej kategorii. Możliwe jest wybranie konkretnych kolumn do zapisu. Dane tak zapisane można odczytać za pomocą innych akcji. Akcje ustawiamy na "Tabele dynamiczną" którą chcemy zapisać lub z poziomu przycisku tabeli. Po uruchomieniu formularza zostanie dodany przycisk zapisu (nazwa i ikona według ustawień parametrów akcji). Po kliknięciu w przycisk następuje wyświetlenie okna "Zapisywanie szablonu formularza". W oknie podajemy nazwę szablonu (pod jaką nazwą ma zostać zapisana nasza tabela) oraz zaznaczamy/odznaczamy opcję ustawiającą czy szablon ma być domyślny (chyba że parametry akcji ustawione są tak, żeby tej opcji nie wyświetlać). Podczas zapisu, nazwa szablonu musi być inna, w przeciwnym razie zwrócony zostanie błąd. Błąd nie będzie wyświetlony w przypadku zaznaczenia opcji "nadpisz istniejący szablon".

Nazwa parametruOd wersjiOpisTyp parametruWartość domyślnaRodzaj polaUwagi i ograniczenia

Nazwa przycisku*

1.0Nazwa wyświetlana na dodanym przycisku w tabeli.Tekst"Zapisz jako szablon"Pole edytowalneParametr schowany w przypadku umieszczenia akcji na przycisku tabeli.

Nazwa ikony dla przycisku

1.0Nazwa ikony która ma się wyświetlić na dodanym przycisku. Spis: Ikon (automatycznie do nazwy doklejane jest słowo " silk- ");Tekst"table-save"Pole edytowalneParametr schowany w przypadku umieszczenia akcji na przycisku tabeli.

Kategoria tworzonego szablonu*

1.0Nazwa kategorii w której będzie zapisywana dana tabela. Zaleca się inna nazwę dla każdej tabeli.Tekst"Kategoria"Pole edytowalne 

Lista wybranych kolumn do zapisania jako szablon

1.0Lista zmiennych z tabeli, których wartości będą zapisane do szablonu. Wartości kolumn, które nie zostały zmapowane, będą ustawione na pustą wartość. Tablica zmiennych Pole edytowalne 

Domyślnie zaznaczone pole 'zapisz jako domyślny szablon'*

1.0Ustawia opcję "Zapisz jako domyślny" wartością domyślną "True".LogicznyTakPole edytowalne

 

Ukrywanie pola zapisu jako domyślnego szablonu*

1.0Ustawia widoczność opcji (z zaznaczeniem) "Zapisz jako domyślny" w oknie zapisu formularza. W przypadku ukrycia opcji, użytkownik nie ma możliwości zmiany opcji ustawionej przez parametr 'Domyślnie zaznaczone pole 'zapisz domyślny szablon'.LogicznyNiePole edytowalne 

Domyślnie zaznaczone pole nadpisania szablonu*

1.0Ustawia opcje "Nadpisz istniejący szablon" wartością domyślą 'True'.LogicznyNiePole edytowalne 

Ukrywanie opcji 'nadpisania szablonu'*

1.0Ustawia widoczność opcji (z zaznaczeniem) "Nadpisz istniejący szablon" w oknie zapisu formularza. W przypadku ukrycia opcji, użytkownik nie ma możliwości zmiany opcji ustawionej przez parametr 'Domyślnie zaznaczone pole nadpisania szablonu'.LogicznyTakPole edytowalne 

Parametr*- pole wymagane

Konfiguracja akcji

Okno po kliknięciu przycisku wczytania szablonu

 1.0.1

  • Dodanie komponentu

1.0.2

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

  ← Return to the list of available actions

If you have a problem understanding how the action works, check: ActionConditional executionComponents parameters

Category: Favourites

Action location: Table, Table button

Available from version: 1.0

The action is used to save data from the "Dynamic Table" under a specific name in a given category. It is possible to select specific columns to be saved. Data written in this way can be read using other actions. We set the actions to "Dynamic table" which we want to save or from the table button level. After running the form, a save button will be added (name and icon according to the action parameters settings). After clicking the button, the "Saving the form template" window is displayed. In the window, enter the name of the template (under which name our table should be saved) and select / deselect the option that sets whether the template should be the default (unless the action parameters are set so that this option is not displayed). When saving, the template name must be different, otherwise an error will be returned. The error will not be displayed if the "overwrite existing template" option is selected.

 From versionDescriptionParameter typeDefault valueField typeRestrictions
The name of the button*1.0Name displayed on the added button in the table.Text"Save template"Editable field
Parameter is hidden when an action is placed on a table button.
The name of the icon for the button1.0The name of the icon to be displayed on the added button. List: icons (the word "silk-" is automatically attached to the name).Text"table-save"Editable field
Parameter is hidden when an action is placed on a table button.
The category of the created template*1.0The name of the category in which the given table will be saved. A different name is recommended for each table.Text"Category"Editable field 
List of selected columns to save as a template1.0List of variables from the table, the values of which will be saved to the template. Column values that have not been mapped will be set to an empty value.Variable array Editable field 
By default, the 'save default template' box is checked*1.0Sets the "Save As Default" option to the default of "True".BooleanYesEditable field 
Hide the save field as the default template*1.0Sets the visibility of the "Save as default" option (with the check mark) in the save form dialog. If the option is hidden, the user cannot change the option set by the parameter 'Default checked' save default template '.BooleanNoEditable field 
By default, the template override box is selected*1.0Sets "Overwrite Existing Template" to default to 'True'.BooleanNoEditable field 
Hiding the 'template overwrite' option*1.0Sets the visibility of the option (with the checkmark) "Overwrite existing template" in the form saving dialog. If an option is hidden, the user cannot change the option set by the 'Default template override field' parameter.BooleanYesEditable field 

Parameter*- mandatory field 

Sample configuration

Loading window

1.0

  • Adding a component

1.0.1

  • Enable to attach an action to a table button