ExportFromWeb: Boolean;
ExportFromWeb: Boolean;
The ExportFromWeb property determines which operation is performed on the report in the web application, that is, export or opening in the preview mode.
The ExportFromWeb property is relevant for the reports that contain FME maps. It is necessary to specify the path to the topobase for correct displaying of FME map in the web application. The desktop application does not find the topobase on opening the report in the preview mode at the relative path that is why it is necessary to specify the absolute path.
Considering value of the ExportFromWeb property, the absolute path can be set in the OnBeforeExportReport export event. If the ExportFromWeb property returns True (export), the relative path is specified; if it returns False (preview), the absolute path is specified, for example:
If Exp.ExportFromWeb = True Then
fn := "flash\tb_russia2.swf";
Else
fn := "C:\Work\tb_russia2.swf";
End If;
See also: