Open ame-appsmith opened 1 year ago
This issue cannot be confidently fixed without creating a new version of the widget, which will be done in the new widgets being built for the platform via the Widget Design System.
Fixing this might introduce regression for users already using the filepicker data by formatting the data.
This will be fixed under the WDS project cc @jsartisan
This will be fixed under the WDS project cc @jsartisan
What is the WDS project?
@khushRD it's a project we have internally to improve our existing widgets. You can try parsing an excel on the client by finding a 3rd party JS library but I personally haven't tried whether that would work
I tried parsing it using XLSX and FileReader and it worked
Is there an existing issue for this?
Description
When uploading an XLS(X) file via the FilePicker widget and setting the Data format property to Array of Objects, the
data
property of the sheet is not converted to an array of JSON objects as it happens for CSV files, where users are able to access the data directly or display it in tables without using helper JS functions for conversion.Workaround: At this juncture, we can use a JS function that converts the data from the excel format to an array of JSON objects like this:
Steps To Reproduce
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
v1.9.37.1