fgl_report_configureDistributedURLPrefix
Configures the URL prefix containing the host and optionally the port and prepended paths for previewing a document.
Syntax
fgl_report_configureDistributedURLPrefix(
urlPrefix STRING )
- urlPrefix is a URL by which the web server can be reached.
Usage
This function is applicable when these conditions apply:
- Previewing is selected by a call to the function
fgl_report_selectPreview
. - The preview format is PDF, XLS, XLSX, HTML, RTF, OORTF, or Postscript.
- The Genero Report Engine (GRE) is running in distributed mode on a remote
machine.Note: This option is not needed and not taken into consideration when the GRE is running in distributed mode on the same machine as the DVM.
- The web server deviates from the default "http://HOST:8080", where "HOST"
denotes the value "host" passed in the call to
fgl_report_configureDistributedProcessing(host,port)
.
For an example of Genero code using a reporting function, see Using report output functions. This example may not use the specific function discussed in this topic, however it provides details on where you would place this (and other) report output functions.