Hi Andrew
EE 4.3.1
DataGrab 3.0.3
I have a situation where the client has supplied a CSV file of entry data with an image column containing a filename and a folder of images. I’ve imported the images into EE using Sync which creates the necessary file database entries and then on importing the CSV the image name is checked against the sync’ed images.
However I’ve discovered that some of the CSV rows contain filenames that do not exist among the imported images which means that the row is ignored during the DataGrab import returning “invalid selection” errors which is thrown by EE’s File Validation function.
It’s not feasible for me to ask the client to rework their data to exclude filenames where the images don’t exist as they don’t have that ability. So what I need to be able to do in this case is create an option for file filedtypes where if the image is not found in the system to set the field data value to NULL or empty and allow the row to be inserted with or without the image.
Where in your code would you suggest I start hacking this into place?
Many thanks
David