Share this page

# ksc_run_web_report

Available in PPM 10.0.1 and later versions.

This command generates a web report. It must be executed from a report type. For details, see Create and configure report types.

In this topic:

## Parameters

This command has the following parameters:

Parameter | Description
--- | ---
USER_ID | The ID of the user who executes the report. The default value is the report’s submitter.
SUBMISSION_LANGUAGE | Report language. The default value is the language used when creating the report.
FILENAME_PREFIX | Prefix added before the “rep_<submission_ID>” in the report file name. Adding a prefix lets you customize the report file name, but the file name always ends with "rep_<submission_ID>" for security considerations.
FILE_EXTENSION | The file extension is automatically detected based on the content type returned by the target URL. If none or unknown, it defaults to .html. You can manually set the file extension by providing a value for this parameter.
WAR | If the JSP or Servlet generating the report is hosted in a custom WAR file, specify the WAR file name (the path). The default value is “itg” (the PPM WAR). Note: You cannot include the WAR file path directly in the URL passed after ksc_run_web_report, you must use this parameter to specify the WAR file name.
CONVERT_SIMPLE_HTML_TO_PDF | Use this parameter only if your report returns simple HTML+CSS1 (which is the case for the built-in JSP reports). Setting this parameter to `true` overrides the FILE_EXTENSION parameter and will always convert reports to PDF format. This is very helpful if you want to attach HTML reports to email notifications, as HTML format can cause issues with mail filters.

## Example

Copy code

    ksc_run_web_report /web/knta/crt/rpt/RequestHistoryReport.jsp
    FILENAME_PREFIX=Request History Report
    CONVERT_SIMPLE_HTML_TO_PDF=true
    ksc_end_report_parameters

https://admhelp.microfocus.com PPM 8942
Tips to improve your search results... OpenText™ Project and Portfolio Management Help Center PPM Help 26.2-26.3 All View Local Help Center View Online Help Center Version: