Skip to content · Zum Inhalt

Presets: keep the way you open a table

A preset is a stored selection: the table, the table filter, the field filter, the fields that become columns, and the three options of the dialog. Everyone who may read the preset table sees the same presets, so a colleague opens the same records with the same columns as you do.

Before you start

  • Know the table you need and that you may change it.
  • Have a code and a name ready: a preset without them cannot be saved.

Save the settings of an editor session as a preset

  1. Search for Data Editor and open the dialog.
  2. Choose the table in Source Table No. and type the records in Table Filter.
  3. Choose Select Fields and include the fields that become the columns of the grid.
  4. Type the code of the preset in Preset and a short name in Preset Name.
  5. Choose Save Preset. The preset is stored with the table, both filters, the field selection and the options.
  6. Search for Data Editor Preset and check the new line in the list.

The settings a preset stores: the filter, the texts and the options

What happens

The preset keeps the table, both filters, the field numbers that become columns, and the options Without Validation, Exclude FlowFields and Read in Parallel. Saving with the code of an existing preset updates that preset; the number of presets is unlimited.

Example

A consultant keeps the selection they use every Monday: code 10005, name JD, description Adatum Corporation, table 102, table filter ITEM-001 and field filter WH-01. The line appears in the list beside 10006 (name AS, description Fabrikam, table 103, filter ITEM-002, field filter WH-02) and 10007 (name MK, description Contoso, table 104, filter ITEM-003, field filter WH-03).

Tell one preset from another

  1. Sort the list by Code with the column header; the codes are unique, so every line is one selection.
  2. Read Name and Description: the name is short and the description says what the selection is for.
  3. Keep the description up to date when the selection changes.

Two selections differ by their filter, their text and what the last run did

What happens

The code, the name and the description are the identity of the preset; the table, the filters, the field list and the options are its content. The list is shared by everyone who may read the preset table, so the description is what a colleague reads before choosing a preset.

Example

The presets 10005, 10006 and 10007 all open a table of the same kind, but their descriptions — Adatum Corporation, Fabrikam and Contoso — say which customer each selection was made for. 10008, name RS, description Coho Winery, and 10009, name LB, description Alpine Ski House, follow the same pattern.

Show a preset as JSON

  1. Open Data Editor Preset and select the line.
  2. Choose Show JSON. The JSON column of the line fills with the preset as JSON text.
  3. Read or copy the text; the keys are the names of the preset's fields.

The settings a preset carries, as the fields that hold them

What happens

The JSON holds the same settings the page shows: the code, the name, the description, the table, the table filter, the field filter, the field list and the three options. The text can be edited in the column and read back with Import JSON, so a preset can be corrected as text when the list is easier to read that way.

Example

The preset DOC-1, name Preset, with the table filter Code=ADM*, is shown as JSON; the text holds its code, its name, table 10, the filter and its field filter WH-03.

Move a preset to another company

  1. Select the preset and choose Export JSON. The browser downloads the preset as a .json file.
  2. Open the other company and search for Data Editor Preset.
  3. Choose Import JSON and select the file, or paste its text into the JSON column first.
  4. The preset is created with the code in the text, or updated when the code already exists.

The filter and the text that travel with a selection

What happens

The page reports "Preset %1 was exported." and "Preset %1 was imported.". Text that cannot be read is refused with "The JSON text is not valid JSON.", text without a code with "Enter a code for the preset.", and an empty column with "Enter the JSON of a preset before importing." Nothing is written when the text is refused.

Example

The consultant exports the preset 10006, name AS, description Fabrikam, with the table filter ITEM-002, and imports the file in the customer's company. The preset appears there with the same code, name and filter.

If something goes wrong

What you seeWhyWhat to do
"Enter a code for the preset."The preset has no code.Type a code in Preset; it is what the lookup shows.
"Enter a name for the preset."The preset has no name.Type a name that says what the preset is for.
"A preset with the code %1 already exists."A new preset uses the code of an existing one.Choose another code, or open the existing preset and save it again.
"Choose a table before saving the preset."The selection has no table.Choose the table in Source Table No. first.
"Preset %1 names field %2, which table %3 does not have."The field list was saved against another version of the table.Correct the field list and save the preset again.
"Select a preset."An action needs a selected line.Select the line in the list first.
"Enter the JSON of a preset before importing."The JSON column is empty.Paste the JSON text or export a preset first.
"The JSON text is not valid JSON."The text is not a complete JSON object.Copy the whole text, including the outer braces.