F
Filament4mo ago
Keika

Import Action Examples

Hi, are there examples/tutorials on how to create a new Import Action? For my import I need to update records, but the field I need to change is a status which would not be part of the CSV file that I have. I have to compare an amount column with what's in the CSV and change the status to paid if the amounts match. I don't really get how to create my own job for the processing, any help would be great. Thanks
2 Replies
Keika
KeikaOP4mo ago
The job part. From what I understand, the job associated with the importer does the actual processing (creating/updating) of the record. As I want to update based on a comparision and not simply from a column in the CSV, I think I need to create a new job for that. I can't find what to put in the constructor and handle methods of the the newly created job
Want results from more Discord servers?
Add your server