Click or drag to resize

ReportExecution Methods

The ReportExecution type exposes the following members.

Methods
 NameDescription
Public methodBuildResultPagesModel Build the result pages of a report model
Public methodCheckInputRestrictions Check the current input restriction values
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExecute Execute the current report
Public methodStatic memberExecuteReportSchedule Execute a report schedule
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGenerateHTMLResult Generate the HTML result of the current execution. If filePath is not specified, a unique file is created in the generation folder.
Public methodGeneratePrintResult Generate the HTML Print result of the current execution
Public methodGenerateResult(ReportFormat) Generate the result of the current execution in a given format and returns the path of the generated file, created in the generation folder. The same execution can be used to generate several formats (e.g. Excel then PDF) without executing the report again, but the calls must be sequential: the report execution state (format, result file path) is shared, so do not generate several formats in parallel.
Public methodGenerateResult(ReportFormat, String) Generate the result of the current execution in a given format to an explicit file path (its directory is created if necessary, an existing file is overwritten) and returns this path. This allows the caller to control the result location instead of the generation folder. The calls must be sequential (see GenerateResult(ReportFormat)). The intermediate files of a conversion (e.g. the HTML rendered for a PDF conversion) are still created in the generation folder.
Public methodGetEnumValues Return the new enum values with a filter applied
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetReportModelsToExecute List of models to execute after cleaning of models involved in View Restrictions
Public methodStatic memberGetReportSchedule Return the report of a given schedule GUID
Public methodStatic memberGetScheduledReport Return the report of a given schedule GUID
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLoadResultTableModel Load the result table of a report model
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodProcessOutput Process the report result for the current output: execute the pre/post scripts and the output device processing
Public methodRender Render the report and returns the result
Public methodRenderHTMLDisplay Render only the HTML result for display
Public methodRenderHTMLDisplayForViewer Render the HTML display for the Web Server
Public methodRenderResult Render the report result
Public methodResetPromptedRestrictions Reset the prompted restrictions of the report to their initial values (without executing the report) and return the HTML of the restrictions panel
Public methodSetError Add an execution error
Public methodStatic memberSetRestrictions Set restriction values from input 1,2,3,4
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdateEnumValues Update the current selected enum values during the report execution
Top
See Also