Page History
In Servoy, a developed application is called a "solution". A solution in general contains a set of forms (the equivalent of layouts, UIs or screens in other platforms) and business logic.
Solutions can also contain just business logic, to be used for server side processing using Servoy Batch Processors or to expose through the Servoy Headless Client, for example as a webservice.
Solutions are developed using Servoy Developer which is available as a plugin for Eclipse or can be downloaded pre-packaged with Eclipse from the Servoy website.
For more information on developing solutions in Servoy or on Servoy Developer, see the following guides:
Servoy Programming Reference Guide
Hidden | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Cache | ||||||||||||||
| ||||||||||||||
firstFormThe first form that loads when a solution is deployed.
NOTE: If the Login form is specified, then the firstForm is the first form that will load next after the loginForm. Returns Supported Clients Sample i18nDataSourceThe i18n database server connection and database table that stores the i18n keys for a solution. Returns Supported Clients Sample loginFormThe name of the login form that loads when a solution is deployed. Returns Supported Clients Sample loginSolutionNameGet the first module that is also a login solution. Returns Supported Clients Sample modulesNamesThe list of modules that have been added to a solution. Returns Supported Clients Sample mustAuthenticateFlag that tells if authentication is needed in order to access the solution.
If unchecked, the Smart Client will always require authentication, regardless of this setting.
If checked, authentication is required, and either a provided loginSolution or otherwise the default Servoy login mechanism will be used.
If default Servoy login mechanism is used, the "servoy.webclient.basic.authentication" setting on the Admin Page can be used to enable the use of the standard browser basic authentication. Returns Supported Clients Sample solutionTypeThe type of a solution; can be "Normal" (non-module), "Module", "Web client only", "Smart client only",
"Login", "Authenticator", "Pre-import hook module", "Post-import hook module", "Mobile".
These constants are defined in SolutionMetaData class. Returns Supported Clients Sample styleSheetThe custom CSS used by the solution (a MEDIA lib entry). It can reference other media resources (even additional .css through relative '@import' statements).
For NGClient - this CSS will be available directly in the browser. Returns Supported Clients Sample textOrientationThe direction that text is displayed.
Options include:
DEFAULT
left to right
right to left
locale specific Returns Supported Clients Sample titleTextThe menu bar title of a solution. Returns Supported Clients Sample versionThis is the version of the solution, this can be any kind of string but try to follow "Semantic Versioning".
This version is important when you are making modules that are distributed by the Servoy Package Manager.
Then this version is used to know what the developer has installed. This version should be in sync then with the webpackage.json file. Returns Supported Clients Sample onClose(force)The method that is executed when a solution closes. The default is -none-. Parameters Returns Supported Clients Sample onDataBroadcast(dataSource, action, pks, cached)Method that is executed when data broadcast occurs. The default is -none-. Parameters Supported Clients Sample onError(ex)The method that is executed when a solution opens and an error occurs. The default is -none. Parameters Returns Supported Clients Sample onOpen(arg, queryParams)The method that is executed when a solution opens. The default is -none-. Parameters Supported Clients Sample |