Production Parameters

When a DivePort event such as visiting a page or activating a click action causes a Production script to run, DivePort passes along some portal parameters. DiveLine also passes parameters to Production, specifically two automatic parameter values:

_USER

_diveline_dataroot

When a DivePort page includes a QuickView portlet, shared QuickView selections are passed to the Production script. The DivePort QuickViews are added to the parameter space at run time as auto-generated parameters; that is, $(QUICKVIEW_VALUE <dimension>) is sent to the Production engine and applied to the script automatically.

  • All parameters that are passed consist of the QuickView name preceded by an underscore. For example, the parameter for the Sales Region QuickView is $(_Sales Region). In the Production script, you can reference $(_Sales Region) to obtain the QuickView value being sent.
  • When DivePort opens a Production script with QuickView with multiple values selected, the values are written to a file, and the parameter is replaced with the name of that file. The script needs to handle the file, rather than multiple values.

  • In the case of All Values, the literal string All Values is passed.
  • For Run Production Script click actions, row selection takes precedence over saved QuickView values.

 

For more information about Production scripts, see Workbench Help.