Solution

Property Summary

TypeNameSummary

.

The first form that loads when a solution is deployed..

The i18n database server connection and database table that stores the i18n keys for a solution..

The name of the login form that loads when a solution is deployed..

Get the first module that is also a login solution..

The list of modules that have been added to a solution..

Flag that tells if authentication is needed in order to access the solution..

The 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"..

The custom CSS used by the solution (a MEDIA lib entry)..

The direction that text is displayed..

The menu bar title of a solution..

This is the version of the solution, this can be any kind of string but try to follow "Semantic Versioning"..

Events Summary

TypeNameSummary

The method that is executed when autosave results in validation or save failures..

The method that is to onOpen just that it executes before the login on solutions with a login form (not login soliution)..

The method that is executed when a solution closes..

Method that is executed when data broadcast occurs..

The method that is executed when a solution opens and an error occurs..

The method that is executed when a solution opens..

Properties Details

comment

Returns String

Sample

firstForm

The 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 Number

Sample

i18nDataSource

The i18n database server connection and database table that stores the i18n keys for a solution.

Returns String

Sample

loginForm

The name of the login form that loads when a solution is deployed.

Returns Number

Sample

loginSolutionName

Get the first module that is also a login solution.

Returns String

Sample

modulesNames

The list of modules that have been added to a solution.

Returns String

Sample

mustAuthenticate

Flag 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 Boolean

Sample

solutionType

The 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 Number

Sample

styleSheet

The 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 Number

Sample

textOrientation

The direction that text is displayed.

Options include: DEFAULT left to right right to left locale specific

Returns Number

Sample

titleText

The menu bar title of a solution.

Returns String

Sample

version

This 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 String

Sample

Last updated