A2v10 Platform documentation
UK


Popups

The pop-up window can be either embedded in the markup or have downloadable external content. In the latter case, it has its own model and its own template.

The popups object describes the pop-ups that are possilble at the current endpoint. Object property names are window names. Each property represents an object of the following structure:


Properties of the pop-up window object

Name Type Description
source string Optional. Data source. If not specified, taken from the parent item.
schema string Optional. 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.
index boolean Whether the pop-up window displays an index model. For the index model, the saved procedure with the '.Index' suffix is executed, for the regular - with the '.Load' suffix.
template string Path to the template file for the pop-up window. Learn more about templates.
view string Path to the view file for the pop-up window. Typically, the root element of the window markup will be the Popup item.
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.