[]
        
(Showing Draft Content)

Core.PageReport

Class: PageReport

Core.PageReport

PageReport class

Table of contents

생성자

속성

메소드

Constructors

constructor

new PageReport(options?)

Create new instance of PageReport class.

Parameters

Name Type Description
options? Partial<{ i18n: i18n ; language: string ; memoizeData: boolean }> pageReport options - language: report language. Default language is 'en'.

Properties

name

Readonly name: string


parameters

Readonly parameters: Object

Index signature

▪ [name: string]: Parameter


reportParameters

Readonly reportParameters: ReportParameters


resourceLocator

Readonly resourceLocator: ResourceLocator


viewSettings

Readonly viewSettings: ViewSettings


LicenseKey

Static LicenseKey: string

Methods

load

load(report, options?): Promise<void>

Loads the report template.

Parameters

Name Type Description
report string | Report URI or the report template or template object.
options? Object Execution time settings.
options.environment? Environment -
options.reportParameters? { Name: string ; Value: ParameterVariant[] }[] -
options.resourceLocator? Partial<ResourceLocator> -

Returns

Promise<void>


run

run(): Promise<PageDocument>

Starts rendering the report.

Returns

Promise<PageDocument>


validateParameters

validateParameters(): ValidationResults

deprecated use "reportsParameters.validate()" instead. Validates the parameter values.

Returns

ValidationResults

Validation result.