Server Scripts Reference

<< Click to Display Table of Contents >>

 

Server Scripts Reference

Scripts are programming language modules with which users can create procedures linked to specific events, allowing more flexibility when developing Applications. Scripts executing on the server are those executed on user events and on OnFormChange events of Forms.

To use a script in a server, create a file called server.js on the Application folder, such as C:\Program Files (x86)\Elipse Software\Elipse Mobile Server\Projects\Demo. This way, this script is loaded with the Application.

If this file changes, users must stop the Application and execute it again, or else stop and execute the server again.

Users can create functions in JavaScript to avoid repetitions in server scripts and also to avoid functions with many lines of code in properties.

The next topics contain functions available for use on Elipse Mobile Server.

Was this page useful?