Support peExportType in Web modules¶
What is new - 8.0.1¶
The peExportType is a property of the cDRReport class that can be set to express the developer's default export type choice. The Windows GUI DRExportOptions.dg already supported this property by setting the export choice combo to the value stored in peExportType. However, the web interface did not support this.
Desktop interface¶
To support this, add the following code to the object that sends ExportChoices of the oExportReportWebView web component.
Function ReportExportType Returns Integer
Integer eExportType
Get peExportType of oReport to eExportType
Function_Return eExportType
End_Function
Drilldown interface¶
To support this, add the following code to the object that navigates to the oExportReportWebView web component.
Procedure OnGetNavigateForwardData tWebNavigateData ByRef NavigateData Handle hoToView
Integer eExportType
Get peExportType of oReport to eExportType
Get NamedValueAdd NavigateData.NamedValues "ExportType" eExportType to NavigateData.NamedValues
End_Procedure