© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago
JonathanH-UK

Unable to store the original CSV file and access the filename from an Importer

I'm attempting to use the Filament v3 Importer to replace some legacy PHP code but I'm struggling with it 😦
I really need to log the original uploaded filename and keep a copy of the uploaded file.

Ideally I would like to use the filename as the Job Batch
name
name
(which is currently
null
null
). However the
FileUpload
FileUpload
action appears to be hard-coded inside a huge function in the
CanImportRecords
CanImportRecords
Trait and I cannot see any way to expose the underlying data from within my ImportAction or Importer classes.

Is there any simple way to achieve this please?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Custom CSV Importer file
FilamentFFilament / ❓┊help
2y ago
CSV Importer
FilamentFFilament / ❓┊help
2y ago
Just get the original filename?
FilamentFFilament / ❓┊help
6mo ago
Translating Filament CSV Importer
FilamentFFilament / ❓┊help
13mo ago