Hi @leobrimblecombe,
I sincerely apologize for the late response. I’m not sure how this fell off our radar, so I really appreciate you responding this week!
Can you share a copy of your database with me? We can take a look and see why you are experiencing the behavior you have described! Note that support for Specify 6 is limited, and the following explanation applies solely to Specify 7:
To give some more context, Specify will only look at the ObjectAttachment view definition when viewing an attachment from Gift, Loan, Permit, Preparation, Locality, Reference Work, Storage, Taxon, etc. as listed below.
If you are looking at a Collection Object’s attachment, it uses the CollectionObjectAttachment view definition.
If you are looking at the Attachment form directly (not via a link between a base record (e.g. Collection Object)), it uses the AttachmentsForm view definition.
At the moment, ObjectAttachment cannot be edited using the visual form editor, but that will be fixed in the v7.12.0 release of Specify which is coming soon. You can still edit this via XML directly.
From Editing Forms in Specify -
View Definition Names
In most cases, the table has the same view name as its default view (e.g. Collection Object will display the view definition named
CollectionObject, Accession will displayAccession, and Collecting Event will displayCollectingEvent).
If you are showing a subview like attachmentImageAttribute, you can explicitly reference the AttachmentImageAttributeBRI view definition like so on the ObjectAttachment view definition:
<row>
<cell type="subview" id="imageatt" viewname="AttachmentImageAttributeBRI" name="attachment.attachmentImageAttribute" colspan="3" />
</row>
Some tables use a special name for the view definition that is not always the same as the name of the table. The entire list of such cases are included below:
Table Name Default View Name Attachment AttachmentsFormCollecting Trip CollectingTripFormJournal JournalFormOther Identifier OtherIdentifiersFieldNotebookAttachment ObjectAttachmentFieldNotebookPageSet ObjectAttachmentFieldNotebookPageSetAttachment ObjectAttachmentGiftAttachment ObjectAttachmentLoanAttachment ObjectAttachmentPermitAttachment ObjectAttachmentPreparationAttachment ObjectAttachmentLocalityAttachment ObjectAttachmentReferenceWorkAttachment ObjectAttachmentRepositoryAgreementAttachment ObjectAttachmentStorageAttachment ObjectAttachmentTaxonAttachment ObjectAttachmentTreatmentEventAttachment ObjectAttachmentSource Code: Specify Data Model