How can I use Solspace Importer to recognize uploaded files (that are already available in the file manager)?
- Use the filename?
- Use some file ID?
- Use the files entry name?
I couldn't find anything about in the documentation.
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It only takes a minute to sign up.Sign up to join this community
If you look at the data stored in
exp_channel_data for regular EE File Upload fields, you'll see files stored this way, eg:
1 is your upload field ID (this changes depending on your upload directory), and
myfile.jpg is your filename.
To import File Upload field data, you would therefore need the filename, prefixed with
X with your file upload directory ID) in your source file (eg. your CSV file).