EDD Exports as Reports
Copyright © 2020 EarthSoft, Inc • Modified: 24 Feb 2020
As an alternative to exporting EDDs from EDP, EDD exports can be published like other reports in EQuIS. Published EDD exports can be run as reports in EQuIS Professional or EQuIS Enterprise EZView.
In order to publish EDD exports as reports using the EQuIS Professional Report Publisher, follow these steps:
1.Zip all of the EDD format files (*.xsd, *.vb, *-enum.xml, *.rvf, *-export.xml) into a single *.zip file.
2.Start EQuIS Professional and connect to the desired database and facility.
3.Go to the Report Publisher Open File Dialog by doing one of the following:
a.Click the Reports button in the Publish section of the Home Ribbon or
b.Click the Reports button on the Home tab (as if you were going to run an existing report) and in the list of reports, right-click in the white space and choose Import Report(s) or click the Publish button at the top-right of the dialog.
4.Change the file type to "EDD Export Formats (*.zip)" (see Figure 1).
5.Browse to the *.zip file containing all of the EDD format files and click Open.
6.When prompted, click OK to import the report(s).
Figure 1: Importing EDD Export Format *.zip File
The next time you open that facility (so the list of reports is refreshed), the EDD exports defined in *-export.xml will be listed in the report list as shown in Figure 2.
Figure 2: List of EDD Export Reports
Behind the scenes, the process of importing the reports does the following:
•Adds the *.zip file to the DT_FILE (as a BLOB), and assigns a FILE_ID.
•Creates a record in ST_REPORT for each <report>node defined in the *-export.xml file.
•Creates a record in ST_REPORT_PARAMETER for each<param> node defined in the <report>\<parameters>node.
•Creates a record in ST_REPORT_PARAMETER (PARAM_NAME='@file_id') that contains the FILE_ID associated with the *.zip file.
•Creates a record in ST_REPORT_PARAMETER (PARAM_NAME='@output_type') that contains a list of supported output types (e.g. zip, mdb, xml, xls, xlsx).
After the reports have been published to the database as described in the previous section, users can run the EDD export reports like any other report. The reports can be run within EQuIS Professional or EQuIS Enterprise EZView. When running the report, users select the desired input parameters and the desired output type (see Figure 3).
Figure 3: Selecting "Save As" Output Type when Running EDD Export Report
An error was being thrown when exporting to Excel. The following fixes have been applied:
•Exporting a table to Excel should honor the equis.exe.config setting for excelVersion and export xls or xlsx as specified.
•Exporting a CrossTab to Excel WITHOUT TEMPLATE should honor the equis.exe.config setting for excelVersion and export xls or xlsx as specified.
•Exporting a CrossTab to Excel WITH TEMPLATE should match Excel version (xls or xlsx or xlsm) of the template, regardless of the equis.exe.config setting for excelVersion.
•Exporting a CrossTab without template when equis.exe.config excelVersion = 2003 Following a CrossTab Export using an Excel 2007/2010 template should result in an xls file, not an xlsx or xlsm file.
•Exporting a report where ST_REPORT.REPORT_TYPE is either 'proc' or 'func' and ST_REPORT.xls references a template should export an Excel filename matching the Excel template regardless of the setting of equis.exe.config excelVersion.
oWhen ST_REPORT.xlt references an .xlt template either with or without macro, the output filename should be .xls.
oWhen ST_REPORT.xlt references an .xltx template without macro, the output filename should be .xlsx.
oWhen ST_REPORT.xlt references an .xltm template with a macro, the output filename should be .xlsm.
oThe same should be true of user reports where either: 1: ST_REPORT.xlt is null and ST_USER_REPORT.xlt is not null.
oST_REPORT.xlt is not null and ST_USER_REPORT.xlt is null.
•Exporting a report where ST_REPORT.REPORT_TYPE is "class" and the report implements Excel templates should behave as proc and func reports. The Analytical Results II (previously called Beta Analytical Results) are such reports.
•Executing a saved CrossTab Report that references an Excel template should adopt the version and HasMacro status of the template, regardless of the setting of equis.exe.config excelVersion.