how can import xlsx with import action v 3.1

i want to import xlsx file but just can import csv and its good for me if i can
13 Replies
Nima Hamidpour
Nima Hamidpourβ€’5mo ago
just can import csv in document this page ,i want to import xlsx file instead csv
toeknee
toekneeβ€’5mo ago
We don't have XLSX support as far as I can see Seems to only be in the export
Nima Hamidpour
Nima Hamidpourβ€’5mo ago
yes but its needed very good can customize this section
toeknee
toekneeβ€’5mo ago
Please feel free to do a PR and Add support! πŸ™‚
Nima Hamidpour
Nima Hamidpourβ€’5mo ago
to who?
toeknee
toekneeβ€’5mo ago
Filament.
Dennis Koch
Dennis Kochβ€’5mo ago
I think there are plugins that support import Excel. I think Dan kept simple for a reason for core
Nima Hamidpour
Nima Hamidpourβ€’5mo ago
yes i want to create alias for canImporter interface namespace and replace my trait for support xlsx in laravel but not work
Disouric
Disouricβ€’5mo ago
what does not work?
Nima Hamidpour
Nima Hamidpourβ€’5mo ago
when i create custom trait from canImporter and change possible file accepted and add xlsx and in app service provider create alias from canimporter name space to my trait not work
toeknee
toekneeβ€’5mo ago
It wouldn't you will need to then adjust the methods to handle .xlsx you can't process .xlsx like csv which is why it's not been done yet. I would suggest as Dennis has and use a filament plugin
Nima Hamidpour
Nima Hamidpourβ€’5mo ago
thanks