Streaming Excel

Content Type: Module
Categories: Import/Export,Data

Overview

"Streaming Excel Module" allows Mendix applications to efficiently import and export large Excel files. The module supports reading and writing Excel files in a memory-efficient way, handling millions of rows without performance degradation. It includes support for streaming data, custom DateTime formatting, and flexible configurations, making it ideal for handling large datasets. Perfect for developers looking to integrate advanced Excel capabilities into their Mendix apps with minimal impact on system resources.

Documentation

The "Streaming Excel Module" is designed for applications that need to process large Excel files for data import and export. It allows customers to handle massive datasets, efficiently reading and writing rows in a streaming manner without consuming excessive memory. This is useful in scenarios such as bulk data migrations, financial reporting, or generating large datasets in Excel format directly from Mendix applications.

 

Features and Limitations:

Features:

  • Efficient streaming of large Excel files without heavy memory usage.
  • Supports both Excel import and export functionality.
  • Allows for custom DateTime formatting and timezone configurations.
  • Capable of handling millions of rows without performance degradation.
  • Seamless integration with Mendix microflows for flexible data processing.

Limitations:

  • Limited to .xlsx files; other Excel formats are not supported.
  • Streaming only works for Excel files structured with standard rows and cells; complex Excel layouts may require additional handling.

 

Frequently Asked Questions:

Q: Can I use this module to handle .xls files or other Excel formats?

A: No, the module currently only supports .xlsx files (other formats not tested).

 

Q: Does this module support Excel files with multiple sheets?

A: Yes, you can specify which sheet to import or export by setting the sheet name parameter in the Java actions.

 

Q: How does the module handle DateTime fields?

A: You can provide custom DateTime formats and timezone codes when importing or exporting DateTime fields in Excel files.

Releases

Version: 3.1.0
Framework Version: 10.18.0
Release Notes: Fixed issue preventing proper cleanup of temporary files.
Version: 3.0.0
Framework Version: 10.18.0
Release Notes: Updated to 10.18.0 Moved dependencies from userlib to managed dependencies
Version: 2.3.0
Framework Version: 9.24.0
Release Notes: Fixed issue preventing proper cleanup of temporary files.
Version: 2.2.0
Framework Version: 9.24.0
Release Notes: A new parameter, includePhysicalRowIndex, has been added to the Excel import action, allowing you to optionally include the original Excel row numbers in imported data. When enabled, the physical Excel row index is stored directly in the first attribute of your import entity. Important: The first attribute must be of type Integer or Long.
Version: 2.1.0
Framework Version: 9.24.0
Release Notes: ExportOQLToExcel & ExportDataSetToExcel Actions: - Added sheetName parameter to specify the name of the Excel worksheet created by the export. - Added headerRow parameter to optionally include or exclude a header row, using column names from the OQL or DataSet as headers
Version: 2.0.0
Framework Version: 9.24.0
Release Notes: Added "includePhoneticRuns" parameter to "StreamingExcelImport" Java Action to enable or disable phonetic runs. Added "addRowNumber" parameter to "StreamingExcelExport" Java Action to include a sequential row number in the first column. Added "ExportDataSetToExcel" Java Action to export a specified Mendix DataSet directly into an Excel file. Added "ExportOQLToExcel" Java Action to export an OQL statement directly into an Excel file. *** Note: The module now depends on the OQL module and Community Commons module ***
Version: 1.1.0
Framework Version: 9.24.0
Release Notes: Added the "headerRow" parameter to the "StreamingExcelExport" action to enable or disable header row generation from the entity attributes. Improved debug and trace logging.
Version: 1.0.0
Framework Version: 9.24.0
Release Notes: Initial version