you will need to create a Java Action that can extract the sheet names from the uploaded Excel file. For this, you will use the Apache POI library to read the Excel file and retrieve the sheet names.
Dependencies:
poi-x.x.x.jar (Core library)poi-ooxml-x.x.x.jar (For .xlsx files)poi-ooxml-schemas-x.x.x.jarxmlbeans-x.x.x.jarYou can add these libraries to your Mendix project by placing them in the libs folder.
Once the Java action is ready, you can call it from a microflow to retrieve the sheet names after the file has been uploaded.
FileDocument object that corresponds to the uploaded file.After retrieving the list of sheet names, you can display them in the Mendix UI: