New Solution Wizard
A wizard for creating new solutions
Last updated
A wizard for creating new solutions
Last updated
A Solution is a single application that can be run in any of the Servoy Clients. It contains forms, business logic and datalayer definitions.
Creating a new solution (or importing a solution) in Servoy creates a new Eclipse project.
Here are the steps for creating a Solution:
Choose one of the following
Select File > New > Servoy Solution from the menu in Servoy Developer.
Right click on the All Solutions node OR the active solution none. Select Create new solution from the menu. A window will appear.
Enter a name for the solution.
Click Finish. The new solution will become the active solution in Solution Explorer.
Best practices
Choose a name for your solution that makes sense. This name will also become part of the URL when accessing it from the browser.
It is recommended to only have one resource project per workspace to reduce confusion.
During the new solution creation an advanced settings panel is available in order to define some additional parameters to the new application.
The solution type determines whether solution should run as application or is a utility solution which contains common functionality (modules), code to be execute at import (import solution) or authentication code (login and authenticator solutions).
More information about Solution Types.
By default the solution project will be created in the folder of the current workspace. You can also create the solution in a different location, such as your git folder.
You can choose whether your new solution or module will make use of the resources, such as database servers, styles and security. If you choose to do so, then it's highly recommended to have a single resources project inside your workspace. So if none exists yet, then it needs to be created and otherwise you should use the existing one.
In case you are creating a more dynamic module with utility methods, it is usually better to choose no resources module. This means that you are able to use it in other projects as well without the dependency on these particular resources.
NG Client solutions can use direct css styling or less styling (Leaner Style Sheets).
You may desire to use an existing solution from an export (.servoy) file.
To import a solution in Servoy Developer:
Choose one of the following
Select File > Import. A window will appear, select the Servoy > Import Solution and click Next.
Right click on the All solutions node in Solution Explorer and select Import a solution. A window will appear.
You should have a window that has the text 'Import a solution' at the top.
Select the .servoy file you want to import.
The newly imported solution will become the active solution in Solution Explorer.