Start a conversation

Programming

Programming Tips and Tutorials within Scriptcase

  • GoJS Library is no longer available

    GoJS library is no longer available for native use in Scriptcase.  We have purchased a GoJS O&M license for Scriptcase 9 and, by our understanding, we could distribute GoJS to any number of end users,...

  • Increase in days, months or years

    If it is required to increase the days, months or years based on a date. In this example we are going to increase the months, the first thing we must do is declare a variable that contains the start d...

  • How to use scriptcase with composer

    Getting composer.phar To quickly install Composer in the current directory, run the following script in your terminal. php -r copy('https://getcomposer.org/installer', 'composer-setup.php'); php -r if...

  • Update a widget based on another widget.

    1-) Create a Grid (product table), whose configuration is     Grid Modules → Orientation to Slide     Configuration → Columns per pages: 5     Link between Applications → Link to a blank application t...

  • Change background color of a Field with Radio Button In a Form

    1. Create a field of type Radio and add a manual loockup with the possible values 2. Create an Ajax Event of type onChange or onLoad, with the respective field (active in this case) 3. Create a cambia...

  • Create an Iframe within a field by passing a variable value

    To create an iframe within a Grid. First, the two related Grids must be created so that they can display the content. The secondary grid must be filtered by a variable so that it receives the value of...

  • Open a mailbox by Imap

    To receive or view emails through Imap within the SC, the imap_open function would be used.  Then, within an application of the Blank type you must create a method that will be responsible for carryin...

  • Updating a field through a Trigger

    To update a field through Trigger, you must first create a Trigger that runs within the database. In this example, a Trigger will be developed so that before updating (BEFORE UPDATE) it updates a cert...

  • Selecting records and generating PDF

    Today you will understand how to select records from a grid application and generate a Report PDF for each one selected. You'll need to configure two applications: grid and report pdf. See how below. ...

  • Use a procedure to display results in a form field

    In this tutorial you will be doing an example of how to call a procedure and display the result in a field. 1. We create a procedure, for example: 2. Then we call it on the onValidate event, and assig...