F
Filamentβ€’4mo 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 (which is currently null). However the FileUpload action appears to be hard-coded inside a huge function in the 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?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server