Control
How to generate auth_code and token_code
In this article, you can see how to generate the auth_code and token_code, necessary to use the sc_api_upload and sc_api_download. These keys must be generated individually, follow the steps below to generate them without error. To use the upload ...
Using the sc_confirm macro
In this article, see a practical example of using the sc_confirm macro. This macro can only be used on PHP buttons created in the toolbar of form and control applications, with the aim of confirming the action's excursion. See how to create a PHP ...
Example of sc_apl_conf
In this example we will see how to make a form start blank with the macro sc_apl_conf. 1. We create an application of the Form type 2. Then in the onApplicationInit event we use the macro sc_apl_conf: 3. We save the changes and execute the ...
Dynamically change the theme of a project with the sc_set_theme macro
Scriptcase provides macros, functions created by the developers of Scriptcase, which will assist in customizing applications as well as simplifying code editing at events. In this article, we will see how to use the sc_set_theme macro in practice, to ...
sc_alert - Show Error Message with SweetAlert (error)
To use the new SweetAlert functionality and display an error message, the following parameters must be taken into account: When executing it would look like this:
sc_alert - Show Confirmation Message with SweetAlert (success)
To use the new SweetAlert functionality and display a confirmation message, the following parameters must be taken into account: When executing it would look like this:
sc_alert - Show Information Message with SweetAlert (info)
To use the new SweetAlert functionality and display an information message, the following parameters must be taken into account: When executing it would look like this:
Show Warning Message with SweetAlert (warning) - sc_alert
To use the new SweetAlert functionality and display a warning message, the following parameters must be taken into account: When executing it would look like this:
Show Question Message with SweetAlert - sc_alert
To use the new SweetAlert functionality and display a question message, the following parameters must be taken into accoun: When executing it would look like this:
Popular Articles
Necessary libraries to install the Scriptcase in Windows 7
To install Windows 7 SP1, you need to verify that the system has the following items installed: * Visual C ++ Redistributable Packages for Visual Studio (2008) x86 and x64. * Visual C ++ Redistributable Packages for Visual Studio (2010) x86 and x64. ...
Fatal error: Array and string offset access syntax with curly braces is no longer supported
You can come across this error when running a login application created by a security module generated before Scriptcase 9.8. This error occurs only in an environment with PHP 8 or superior because of a change in the array elements access, that now ...
Setting password recovery in Scriptcase
To configure the password recovery, it's necessary to do some steps so that works correctly. To the recovery happens, will be necessary that you have and configure a SMTP server. After login, you'll access the menu Options > Settings > System ...
System error, missing file api-ms-win-crt-runtime-l1-1-0.dll
This error is solved in two optional ways. A- Installing the software via windows upgrate Microsoft has created Visual C ++ Redistributable for Visual Studio 2015 on WindowsUpdate KB2999226. So you can install it through Windows Update. 1- Type ...
Using friendly URL
The friendly URL was included from Scriptcase 7, in order to make the URL, of the applications generated by Scriptcase, cleaner and easier to associate them with applications. For example, using friendly URLs the link to a Scriptcase application ...
Recent Articles
Getting API key from Gemini AI and Chat GPT
Getting Gemini AI API Key 1 - Access Google AI Studio with your Google account: https://aistudio.google.com/welcome 2 - After logging in, you'll see the screen below. Click "Get API Key" as shown in number 1. Then, click the "Create API Key" button ...
How to use the Setup Python App
How to use the Setup Python App 1. In cPanel, open Setup Python App. Click Create Application. Choose the Python version. Application Root: folder where your application will be located. Application URL: domain or subdomain that will run the app. ...
How to Import a Large Database via SSH
You need to have: Access to the cPanel of your hosting account. SSH access enabled (if you don't have it, request it from your hosting provider). The .sql backup file already uploaded to the server (via FTP or through the cPanel File Manager). A ...
Establishing remote connection to the MySQL database
Note: In this tutorial, we will be using DBeaver. 1.Open DBeaver Launch DBeaver. 2. Create a New Connection Click the "New Database Connection" button or press Ctrl + Shift + N. In the list that appears, select MySQL (you can type "MySQL" in the ...
Corrigindo sincronizar aplicação no módulo de segurança
In this article, we’ll see how to fix the issue in the sync_app application (default name) without having to recreate the security module. This fix applies to a security module created in a version prior to 9.12.021 and using the following types: ...