Upload attachments with import wizard?

I used to be able to upload notes AND their attachments. The import wizard had a field for filename, ID and file type. This no longer seems to be part of the import wizard for notes. Is my memory incorrect or did this change?

I guess I can do it via the database directly, but I’m sure I used to be able to import notes with attachments.

Which version is this?

I think you might have some customization breaking things for you… I just tried this on the live demo and it works fine:

https://demo.suiteondemand.com (user:will, pass: will)

Thanks @pgr for checking on that. I tried it on two of my installations and it didn’t work on either. One is freshly installed with no customizations other than a few extra fields. The are both 7.11.2, They are both on the same server. Maybe it could be a server issue? I ended up just importing them into the database directly, but it was so much easier just to import via the wizard. Hmm, I never thought of checking the demo. Maybe it’s my version of PHP or something. I’ll have to investigate further. Thanks again for looking into.

Actually I didn’t try with the importer (I didn’t read your initial post correctly).

The fields are there in the database: filename, file_mime_type

I believe this could be a problem with the fields not being marked as “importable” in Studio / Notes / Fields, or maybe that is getting overriden somewhere…

Thanks @pgr, didn’t think of that either… just checked the fields in Studio. They are there (for sure because they are in the DB), they are also all marked as importable = “yes”. They just don’t seem to appear as available when using the Wizard. I’ll try the wizard on the demo and post results.

PS - I also tried a quick repair and rebuild without success.

Update… even though the fields in Studio were marked as importable=“yes”, just for testing I tried to re-save the fields, even though there were no changes. Voila, now the fields are available in the Wizard.

So the fix is just re-save the fields in Studio and they’ll be available in the import Wizard.

Thanks @pgr for getting me on the right track!!! :slight_smile:

Yes I also saw that in my system… they were “importable=true” in Studio, but didn’t appear in the importer… :huh:

This seems to be a bug…