A2v10 Platform documentation
UK


Dialogs

The dialogs object describes the dialogs possible at the current endpoint. Object property names are the names of the dialogs. Each property represents an object of the following structure:


Properties of the dialog object

Name Type Description
source string Optional. Data source. If not specified, taken from the parent item.
schema string Optional. The name of the SQL schema. If not specified, taken from the parent item.
model string Name of the model. If not specified, taken from the parent item.
merge object Optional. An additional model that will be combined with the main one. It is possible to specify a different schema and a different data source. If the scheme or source is not specified, they are taken from the parent element.
The parameters parameters object allows you to set additional parameters for the second model. It is possible to reference values from the main model. To do this, specify in the value the path to the property of the main model in double curly braces ({{....}}).
index boolean Whether the dialog displays an index model. For the index model, the saved procedure with the '.Index'suffix is executed, for the regular - with the '.Load' suffix.
copy boolean Whether the dialog is a dialog of copying. In this case, a stored procedure with the '.Copy' suffix is executed to load the model. Copying in the index dialogs is not supported.
template string Path to the template file for the dialog. Learn more about templates.
view string Path to the view file for the dialog.
checkTypes string Name of the *.d.ts file for dynamic type checking.
parameters object Object, static parameters that are passed to the model download stored procedure. The property name is the name of the parameter, the value is the value of the parameter.