GetReportTypes
| Description: | Subroutine that returns a list of report names and labels, either from legacy reports, the , or both. |
| Returns: | Array |
Usage: ![]() |
Script Only. |
| Function Groups: | Report |
| Related to: | GetOutputTypes |
Format: ![]() |
\ReportPanel.GetReportTypes(pReportLabels, pReportNames[, ExcludeJSONReports]); |
| Parameters: |
| pReportLabels |
| Required. A pointer to an array of report labels' (display names) found in reports. |
| pReportNames |
| Required. A pointer to an array of report names. |
| ExcludeJSONReports |
| Optional Boolean. TRUE to exclude reports defined in JSON (created by Report Studio). Defaults to FALSE. |
| Comments: | GetReportTypes must be prefaced by \ReportPanel\, as shown in the "Format" section above. |
| Legacy reports can be made exempt from this function through setting the ExcludeLegacyReports application property to TRUE. This can be done either in the advanced mode of "Edit Properties" or in the Settings.Dynamic file within your installation of VTScada. |
