Hi @nfshoobs,
If you want to perform a mass import of attachments and have access to the asset server backend, you can:
-
Add the attachments directly to the configured
attachments/originalsdirectory for the Asset Server. You can model this off other attachments already present in the directory and on the asset server! -
Create a corresponding
attachmentrecord using SQL for each asset in the database, setting theattachmentLocationfield in each record to the file name in theattachments/originalsdirectory. -
Create a
collectionobjectattachmentrecord with the appropriateCollectionMemberID,AttachmentID, andCollectionObjectID, linking the newattachmentrecord to the correctcollectionobject. You will likely want to include an identifier to match in step 2, allowing you to easily link the correct records!
This process can be automated using a script, allowing you to complete it entirely outside of the main interface and without the use of the APIs.
For some more information about how Specify talks to the asset server, you can read this doc here:
You don’t need to generate the thumbnails manually as they are created dynamically when viewed in Specify 7!