Closed jaydeepgirigoswami closed 7 months ago
Hi, The documentation was wrong. the prevent default is only available for press upload button. This was fixed yesterday https://docs.spreadsheet-importer.com/pages/Events/#event-when-the-upload-button-is-pressed https://docs.spreadsheet-importer.com/pages/CHANGELOGSPREADSHEETIMPORTER/#0313-2024-01-30 Please use this event and the latest version 0.31.4
Hi @jaydeepgirigoswami can you confirm that the new version fixed it for you?
Hello Marian,
Yes, the new version fix worked, The data is being Prevented from inserting into Database. Thanks for the update.
Quick question: I had a internal meeting with my Team regarding the BTP development, there was a question from the security team asking:
Hi @jaydeepgirigoswami ,
what do you mean with secure
? In what context?
The good thing about being Open Source is that you can check yourself and look at the whole code.
The only external library is use is SheetJS.
Everything else is UI5 APIs.
In my opinion this component makes your system more secure because you´re not sending files to your backend system but do everything only on the frontend and send only data to the backend.
OData Version
OData V2
Draft
Yes
Scenario
Freestyle
Environment
BAS
UI5 Spreadsheet Component
1.120.4
What happened?
Hello Marian,
I have used Spreadsheet uploader to upload Excel file in my Fiori Freestyle application.
While Uploading i check duplicates in the method attachCheckBeforeRead and provide error message which is working fine.
But when user clicks on Continue ayway and tries to upload the data by clicking on Upload button, i want to add a check on the upload button and provide the error there as well.
So i checked the event -> attachChangeBeforeCreate -> but i was not able to add message or prevent the data from being upload using oEvent.preventDefault().
Could you let me know what way i can add message and prevent user from uploading the data in database?
Relevant log output
Spreadsheet Component Init
Manifest