[]
Core.PageReport
PageReport class
• new PageReport(options?
)
Create new instance of PageReport class.
Name | Type | Description |
---|---|---|
options? |
Partial <{ i18n : i18n ; language : string ; memoizeData : boolean }> |
pageReport options - language: report language. Default language is 'en'. |
• get
name(): string
Gets the report name.
string
• get
parameters(): ReportParameters
Gets the report parameters collection.
• get
resourceLocator(): ResourceLocator
Gets the report resource locator instance.
• Static
get
LicenseKey(): string
deprecated
Use setLicenseKey method instead.
string
• Static
set
LicenseKey(value
): void
deprecated
Use setLicenseKey method instead.
Name | Type |
---|---|
value |
string |
void
▸ load(report
, options?
): Promise
<void
>
Loads the report template.
Name | Type | Description |
---|---|---|
report |
string | Report |
URI or the report template or template object. |
options? |
Object |
Execution time settings. |
options.environment? |
Environment |
- |
options.resourceLocator? |
Partial <ResourceLocator > |
- |
Promise
<void
>
▸ run(): Promise
<PageDocument
>
Starts rendering the report.
Promise
<PageDocument
>
▸ validateParameters(): ValidationResults
Validates the parameter values.
Validation result.