New Solution Wizard

A wizard for creating new solutions

Overview

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.

Creating a New Solution

Here are the steps for creating a Solution:

  1. Choose one of the following

    1. Select File > New > Servoy Solution from the menu in Servoy Developer.

    2. Right click on the All Solutions node OR the active solution none. Select Create new solution from the menu. A window will appear.

  2. Enter a name for the solution.

  3. 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.

Advanced Settings

During the new solution creation an advanced settings panel is available in order to define some additional parameters to the new application.

Solution type

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.

Location

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.

Resources project

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.

Less theme

NG Client solutions can use direct css styling or less styling (Leaner Style Sheets).

Importing an Existing Solution

You may desire to use an existing solution from an export (.servoy) file.

To import a solution in Servoy Developer:

  1. Choose one of the following

    1. Select File > Import. A window will appear, select the Servoy > Import Solution and click Next.

    2. Right click on the All solutions node in Solution Explorer and select Import a solution. A window will appear.

  2. You should have a window that has the text 'Import a solution' at the top.

  3. Select the .servoy file you want to import.

  4. The newly imported solution will become the active solution in Solution Explorer.

Last updated