To import a solution, the first thing needed is to have running Servoy Application Server, see Installing and Running the Servoy Application Server. Once the server is running, one can use the Server Administration web utility to manage the server, including importing solutions into the Application Server.
Accessing the Application Server Administration Utility
To access the Application Server Administration Utility:
- Open a web browser
Enter the following URL
Importing the Solution
To import a solution in the Administration Utility:
- Verify the Application Server is not started as a team repository:
- Find the
servoy.application_server.startRepositoryAsTeamProvider value near the bottom of the main page of the Administration Utility.
- If the value is set to true, change the value to false and save the settings by clicking the Save Settings button.
- Restart the Application Server (look for a button near the top of the main page).
- Select the Solutions link on the left side menu.
- At the bottom of the solution list, click on the Import a Solution link. The Solution Import page will appear.
- Enter the location of the
.servoy file. See Exporting a Solution from Servoy Developer for how to generate a
- For a typical import, leave all the default settings as is. Some of the more popular setting are explained in the note below.
- Click the Import! button. A summary screen will appear.
- At the end of the import, the summary screen will indicate the import as successful.
To verify that the solution has been imported, click on the Solutions link again to show the solutions list.
Some Popular Import Options
Some of the more popular import options include:
- Allow reserved SQL keywords - This option will allow reserved SQL keywords to be used for names in the database. If unchecked, the import will fail if it encounters any reserved word regardless of the database platform. Do check the DBMS documentation for reserved words pertinent to the installation.
- Display data model changes - any changes made to the database will be displayed in the status screen while the import runs. This can be a lengthy list if there are many changes.
- Import solution sample data - if any sample data has been stored with the solution export file, it will attempt to copy it to the database. If there are rows already in the database table it is trying to write to, it will not copy any data regardless of this option setting.
- i18n data - Allows importing the i18n data stored with the export file. There's also an option to import only the new keys that do not exist in the current i18n database.
Quick Start Video