Is there a way to automate the importing of custom module items? I’d like to ftp a CSV file instead of using the “Import” within the module. Can this be done?
No, this is not currently possible. The import operation needs to interact with the CMS API.
So perhaps when the Open API is released there will be a way to automate the creation of items and/or submit an import file, but not as yet via FTP.
@Adam.Wilson , Thanks for the info. Do you have any suggestions to use imported data via CSV file to display items from it? Parsing the CSV file with javascript is my next step, but maybe you have some other ideas? By updating the CSV file via FTP, this will allow the content on the page to be updated, but maybe there’s a better way…?
Hmm, I’m not really sure with a CSV.
I’d probably try to work with JSON data and process it with Liquid ( JSON (parsing via Liquid) ).
Is converting the CSV to JSON a possibility?
yes, I will use PapaParse to convert it to JSON.