NEW
Create of dialog of type newRecordDialog
Create button via Dialog. Which has a toolbar. It opens in ‘add-mode’. Triggers de AddRecord in the BE. Call GetInitialValues. Optionally we can pass optional info to the GetInitivalues.
Then the data Is displayed in the form. When the user presses Save, it saves the Data. It should show the new record in the maint.screen. On the toolbar in the Dialog, there is attribute ‘EventToolbarGo:
On the UI via the GetInitialValues, attributes ForeignKeyFields + Values are passed.
Calls into BE, and returns (Preview) the dataset with initial values.
IN the toolbar, there is a toolbarkey:
Create a TableIO from the ribbon to the most important form.
In the database, table FrameworkDB.Type
, a type of text can be defined. For example:
txt.sendung.formular
This is the type of a specific text.
The types are exported and imported during the staging process, with one remark: The flag must be set to 'S'.
Important are these fields:
As an attribute of the SimpleSwatText instance, the typeRange
must be set to this SelfKey
value, i.e. txt.sendung.formular
.
Now, when entering a text and Saving this text, the Text is stored in FrameworkDB.Txt table, together with the selected Type
and the selfhndl
of the selected (Sendung) record.
Comma separated list of type(s) (seems to work with a |