About Production Scripts

To ensure that DivePort users are presented with current data, Workbench developers can create scripts that run in DivePort as a result of a user action, such as:

  • Logging on
  • Logging off
  • Opening a page
  • Refreshing a page
  • Triggering a DI-Production script click action

For example, adding information to a form portlet can cause a Production script to run that updates an input table with the new information.

Production scripts use the prd file extension and if your DivePort platform uses projects, the path to the script must include the project name. The format is:

project://<project-name>/<directory>/<script-name>.prd

TIP: Optionally, you can include a specific run configuration as follows:

project://<project-name>/<directory>/<scriptname>.prd?runconfig=<runconfig>

When a Production script runs on DivePort, an animated DI logo appears on the screen.

For detailed information about Production scripts, see Workbench Help.