Hello,
I have a system where i have to import a file.
But i only can accept the following formats: "rar; .zip; .doc; .docx; .docm; .xls; .xlsx; .xlsm; .pdf; .txt; .csv; .xml" and i am not find the solution for this requirement. Someone can help me?
I already see the "accept" property for the widget but i am not able to managed that
Hey Pedro,
Take a look at this post: https://www.outsystems.com/forums/discussion/64918/upload-widget-file-type-validation/
The file's mime type can be checked on client-side.
Regards,
Bogdan
I didn't see the mime types. Thank you, it was very helpful
You're welcome, glad you could solve the issue :)
Hi ,
you can use below forge component for getting file format and apply validation accordingly
https://www.outsystems.com/forge/component-overview/11735/file-size-type-extension-client-side
Thanks
CV Sharma
That was another solution that i test on my personal environment, but in this case, i am not able to use extensions from forge. But it is a valid solution for others