Scripting is an advanced option that allows you to execute a script when an action is triggered. Scripts can be executed under any set of conditions.
A Script action runs when a new Training Signup record is created, which signs a new person up for training. The script copies two master KBs to create the Training KBs for the trainee, populates their passwords and login information, and then updates the KB record and Training Signup record with the information needed for a trainee to login. |
You can access the Actions wizard in several ways, but the easiest way is to select Setup [Table] from the table where you want to create the action.
Name your action and give it a description. The name of the Script action must match the name of the script file.
Once your action is saved the system automatically adds an S: before your given title to distinguish the action as Script. |
/usr/local/agiloft/data/[KB]/scripts
For Windows servers: /agiloft/scripts
For security reasons, it is not possible to upload the file to the server from the browser. You must have direct access to the server. |
The following extensions designate how the script executes:
Related articlesRelated articles appear here based on the labels you select. Click to edit the macro and add or change labels. |