Go to Scriptcase store

Importing a template Project

Scriptcase provides ready-to-use sample projects that can be imported into the development environment. These projects contain preconfigured applications and allow you to view complete usage structures, serving as a basis for studies, tests, customizations, or the development of new projects.

This feature is useful for users who are starting with Scriptcase, for those who want to explore practical examples of how to use the tool, or for those who need an initial base to develop new projects.

The import of sample projects can be accessed through the Project menu, using the Import sample project option, or through the button available in the project list.

Project creation screen

Home

In the Home tab, the sample projects available for import are displayed. Select the project to proceed to the details screen.

Project creation screen

Project details

After selecting the project, Scriptcase displays the project information filled in with default values, such as name and description.

Project information

  • Image - Defines the image used to represent the project.
  • Project name - Defines the project name. This is the only required setting in this step. The name must contain 1 to 32 alphanumeric characters and cannot start with a number.
  • Project description - Optional field used to enter a description for the project. This description can be viewed by hovering the mouse over the created project or in the description column, when the Project List is configured in List mode.
  • Additional project information - Optional field used to record other relevant information about the project.

Database

In this step, define the connection that will be used by the sample project.

The Use default connection (SQLite) option uses the default Scriptcase connection and proceeds directly to the project import screen. This is the fastest option, as it does not require manual database configuration.

When selecting Configure a new connection with my database, the connection configuration screen will be displayed. After configuring the connection, Scriptcase also proceeds to the project import screen.

Sample projects may not be available for all databases.

Sample project import with SQLite database

Below, we will detail the two steps described above.

Use default connection (SQLite)

When selecting the Use default connection (SQLite) option, Scriptcase automatically creates an SQLite database for the project and inserts the tables and records required for the applications to work.

Selecting a connection

After this process, the project will be created and configured with the basic information. Click Open project to access the project and view the created applications.

Configure a new connection with my Database

When selecting the option to use a connection different from SQLite, the list of connections will be displayed.

Selecting a connection

Configure the connection with the selected database.

In the example below, a MySQL connection will be used. For more information about connections, access the section about databases.

Creation of the project main connection

Important

During the import, Scriptcase will create the tables required for the sample project in the selected database. Therefore, it is recommended to use a new or dedicated database for the project, avoiding conflicts with existing tables.

  • Connection name - Defines the name of the new connection.
  • DBMS Driver - Defines the driver that will be used to connect to the database.
  • DBMS Server - Informs the IP or address of the server where the database is located. If the database is on the same machine as Scriptcase, use 127.0.0.1 or localhost.
  • Port - Defines the port used in the connection. The default MySQL port is 3306.
  • User - Informs the user used to access the database.
  • Password - Informs the password used to access the database.
  • Database - Allows you to list and select the database that will be used in the connection.

New database

If a database has not been created yet, click Create Database.

Create database

Enter a name for the database and click OK. After it is created, the new database will be displayed in the Database field.

Generating source code

When clicking Finish, Scriptcase creates the required tables, inserts the sample project records, and generates the corresponding applications.

Selecting a connection

After the process is completed, the project will be created and configured with the basic information. To view the created applications, click Open project.