To learn how to use the templates available within the ScriptCase in the security module, follow these steps:
1 – Create a new Control application.
2 – Check the option to use HTML Template
4 – We will use the external library, and select our file “ login02.html ”
5 – Run the application
In the Security module
1 – First, let’s create a security module, accessing the menu “Modules >> Security”
2 – Select one of the Security types. In this example, we will use the “Group” type.
3 – Select the connection and define whether you want Scriptcase to create security tables, or use tables that already exist in the database.
4 – Make or confirm the association of the fields that will be used in security.
5 – Then, in “Configuration”, click on the item “Login Template”, and check Yes in the option ” Use template in the login screen “. You can then select an existing template or create a new one. We will use “login02”.
6 – If the option is not enabled, click on “ Enable external libraries ”.
7 – We will be redirected to the “External Libraries” options, where we should check ” Use the library ” ” samples ” and finally ” Save project libraries “
8 – Returning to the security module settings, select the template, and proceed with the other settings until you finish creating the module.
9 – Open the login application that was created by the security module.
10 – Run the application