A2v10 Platform documentation
UK


The model.json file

Each application folder that describes an endpoint must contain a model.json description file. This file describes all the possible actions that are allowed on this endpoint.


All Object Properties are represented by the objects, in which the property name defines the name of the action, and the content is the object describing this action.

Endpoint object properties

Name Type Description
source String Data source. This is actually the name of the connection string (connectionString) from the application config file. If not specified, it is considered equal to the "Default" string. If the connection string is not found, an exception is thrown.
schema String The sql-scheme name for the data model. Can be overridden in specific actions. If not specified, thendbo.
model String Model name. Can be overridden in specific actions.
actions actions Object describing the possible actions with the given endpoint.
dialogs dialogs object describing the dialogs that can be invoked for the given endpoint.
popups popups object describing the pop-up windows that can be invoked for the given endpoint.
commands commands Object describing the commands that can be executed for the given endpoint.
reports reports Object describing the reports associated with the given endpoint.
files files Object describing the work with downloadable files.