Feedback

Creating a New Application

New Application

With the growing evolution of the Grid/Report application’s features for generating reports, the old PDF Report application was removed from the interface. However, it is still possible to use it.

To enable this functionality, the Scriptcase administrator must access the Options > Settings menu and open the System Settings page.

Access the Options > Settings menu

At the bottom of the page, after the foreign key configuration section, you can enable the old menu application to display it as an option when creating new applications.

Enable the old application

Once enabled, the application will appear on the new application creation screen, as shown in the image below.

List of applications that can be created.

Application Data

Required fields for creating applications

Connection

Defines the connection used for the creation of the application. The existing connections in the project will be listed.

Name

The name of the application being created. It cannot contain special characters.

Tables

Table

Defines the tables to be used in the application. (Form and Calendar can only use one table).

Fields

Defines the fields that will be part of the applications.

Localization

The language of the application to be created. The project’s default language is automatically selected.

SQL

Displays the SELECT command generated after selecting the tables and fields. This field also allows the insertion of a previously created SQL statement, as long as it uses tables that exist in the database selected in the connection.

Relationship

When select two or more tables, the tab “Relationship” will be displayed. In this tab we can see the relationship created between the tables, where we can edit the related fields.

Tela de relacionamento das aplicações

When we click in a link, in the screen above, it will displayed the related field’s edition form, as you can see in the image below.

Campos relacionados

Edit Fields

This screen displays the fields of the selected tables and allows adjustments to be made before creating the application, such as changing the data type, display name, and other configurations.

List of fields in the grid creation process

Fields

Names of the database fields.

Label

Names of the fields in the generated application’s interface.

Datatype

Specifies the field’s data type.

Defines the fields available in the filter.

Theme

On this screen, you can select the theme that the application will use. The default project theme, which can be checked and modified in Project > Properties, is automatically selected.

Definição do esquema das aplicações