<< Overview |
Contents
Scripts in InnoListThe Scripting-Support allows you to write your own code, for manipulation of data and control over the inputs in forms.Add your scripts to the subdirectory scripts/ of the application (Application Directory: Directory containing .apl/.ap file) or use the script editor reachable using the top right toolbar. There are predefined scripts shipped with InnoList that may be executed directly or may be adapted to your needs. 1. Groovy/Java ScriptsManipulation of DataThese are scripts that may contain any Java or Groovy-Code. Predefined variables/functions allow the access to the data stored and allow changes (Create, Edit, Delete, Read). Typical Use Cases:
Script-Reference: Java/Groovy 2. Javascript ScriptsControl Input in Forms: Dynamics, Modifications, Calculations, ValidationAny Javascript-Code to be executed in forms during creation/editing or triggered by a button click in the form. Helpful if additional logic is necessary for inputs. Predefined functions allow to read and write the values of most field types. Also interations with messages using alert() or outputs of created text are possible. Typical Use Cases:
Script-Reference: Javascript Related Links |