# Attachment Plugin not working with defined Attachment Forms

**URL:** <https://speciforum.org/t/attachment-plugin-not-working-with-defined-attachment-forms/2466>\
**Category:** Get Help\
**Created:** [April 3, 2025, 5:31am UTC](https://speciforum.org/t/attachment-plugin-not-working-with-defined-attachment-forms/2466 "2025-04-03T05:31:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![leobrimblecombe](https://avatars.discourse-cdn.com/v4/letter/l/ecd19e/32.png) [@leobrimblecombe](https://speciforum.org/u/leobrimblecombe)\
**Post date:** [April 3, 2025, 5:31am UTC](https://speciforum.org/t/attachment-plugin-not-working-with-defined-attachment-forms/2466/1 "2025-04-03T05:31:22Z")

</div>

Hello,

We have been using custom attachment forms for the various attachment fields on our Specify 6 instance without issue. E.g. CollectionObjectAttachmentBRI

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/0/0c7f2b68c12de0e7cdbd3408eff35e7587d6c887.png)

Where the workflow is to browse for the attachment using

> uitype=“browse”

However when the form is initialised in our Specify 7 instance the browse does not work and the “Choose a file or drag it here” attachment plugin that initializes with the default ObjectAttachment form does not load, leaving no way to add new attachments. (The green arrow to add a new COAttachment does not prompt a way to actually browse or add the attachment.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/b/b8d2c2133668d800d34ef736a9423968aa44128d.jpeg)

I can reset the CollectionObject view to use the default ObjectAttachment subview, but this removes all the fields that we would typically include with the Attachment:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/5/562a98a5713f6bf65e6cc27768702a1ae865e9ea.jpeg)

Is there a way to get the “Choose a file or drag it here” attachment plugin to start by default on the custom CollectionObjectAttachmentBRI form?

The XML for the subview is the same as the default with the exception of the viewname:

> cell type=“subview” id=“attachments” viewname=“CollectionObjectAttachmentBRI” name=“collectionObjectAttachments” initialize=“btn=true;icon=CollectionObjectAttachment” colspan=“2”\>

We’re running Specify 7 v7.9.6.2  
[Specify 7 System Information - 2025-04-03T05\_26\_48.752Z.txt](https://speciforum.org/uploads/short-url/z8OdGwKffl7CsIGLZQu0plaeckQ.txt) (1.2 MB)  
and Specify 6.8.03

---

<div class="post-metadata">

**Author:** ![leobrimblecombe](https://avatars.discourse-cdn.com/v4/letter/l/ecd19e/32.png) [@leobrimblecombe](https://speciforum.org/u/leobrimblecombe)\
**Post date:** [November 10, 2025, 12:38am UTC](https://speciforum.org/t/attachment-plugin-not-working-with-defined-attachment-forms/2466/2 "2025-11-10T00:38:02Z")

</div>

Hello,

We’re still having this issue and any solution I’ve tried has either broken Specify 6 or Specify 7.  
We’ve also noticed another issue in that the Attachment Image Metadata is not showing up on the Specify 7 forms.  
In Specify 6, the process acts as follows:  
There is a custom Collection Object Attachment form and an Attachment Image Meta- CollectionObjectAttachmentBRI & AttachmentImageAttributeBRI  
We can use the browse button to add a file, and then add metadata as well - like in the screenshot above.

In Specify 7 using these custom forms there is no option to browse or add a file - the “Choose a file or drag it here” dialogue does not show.  
If I reset it back to ObjectAttachment form, I only get the fields “File Name, Title, Make Public” - In Specify 6 this only shows up when adding an image from the form:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/2/26d02a66802a3fc1dfe1047b5ac6768bf29e3453.png)

I’ve tried creating a default attachment form ObjectAttachment with the fields we use in CollectionObjectAttachmentBRI (e.g. Original file name, title, subject, Image creation date etc.) but the this breaks Specify 6 entirely.

The Image Metadata is also not showing up under any circumstances - I’ve tried creating adding the AttachmentImageAttributeBRI at different levels to see if it’ll show up, but it doesn’t appear at all on the Specify 7 forms, only the comments field shows up.

Here is what our custom CollectionObjectAttachmentBRI form looks like: (I’m not sure why this isn’t showing up in the forum post)

 The CollectionObjectAttachment form. 110px,5dlu,p:g 

Note: the fields for this form all use “attachment.field” syntax - if i remove this, it doesn’t work in Specify 6. If I don’t remove this, it causes issues in Specify 7 if I try to set this form as the default ObjectAttachment form.

And here is the AttachmentImageAttributeBRI form:

```xml
<viewdef name="AttachmentImageAttributeBRI Form" class="edu.ku.brc.specify.datamodel.AttachmentImageAttribute" type="form" gettable="edu.ku.brc.af.ui.forms.DataGetterForObj" settable="edu.ku.brc.af.ui.forms.DataSetterForObj" useresourcelabels="true">
	<desc>The Attachment Image Attribute form.</desc>
	<columnDef>125px,5dlu,p:g</columnDef>
	<rowDef auto="true" cell="p" sep="2px"/>
	<rows>
		<row>
			<cell type="label" labelfor="photographer"/>
			<cell type="field" id="photographer" name="text2" uitype="text"/>
		</row>
		<row>
			<cell type="label" labelfor="context"/>
			<cell type="field" id="context" name="text1" uitype="combobox"/>
		</row>
		<row>
			<cell type="label" labelfor="imageType"/>
			<cell type="field" id="imageType" name="imageType" uitype="combobox"/>
		</row>
		<row>
			<cell type="label" labelfor="magnification" label="Magnification"/>
			<cell type="field" id="magnification" name="magnification" uitype="text"/>
		</row>
		<row>
			<cell type="label" labelfor="creativeCommons" label="Licence"/>
			<cell type="field" id="creativeCommons" name="creativeCommons" uitype="combobox"/>
		</row>
	</rows>
</viewdef>

```

Any help with a method for getting the “Choose a file or drag it here” dialogue box to appear on the CollectionObjectAttachmentBRI form in Specify 7 would be great, and if there’s any reason that the attachmentImageAttributeBRI form isn’t showing as a subview that would also be very helpful.

Apologies for the block of text. Any help would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [November 12, 2025, 10:15pm UTC](https://speciforum.org/t/attachment-plugin-not-working-with-defined-attachment-forms/2466/3 "2025-11-12T22:15:34Z")

</div>

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](https://speciforum.org/t/send-a-backup-to-specify/767) 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](https://speciforum.org/t/editing-forms-in-specify/1557#p-2936-view-definition-names-55) -

> ## 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 display `Accession`, and Collecting Event will display `CollectingEvent`).

If you are showing a subview like `attachmentImageAttribute`, you can explicitly reference the `AttachmentImageAttributeBRI` view definition like so on the `ObjectAttachment` view definition:

```xml
<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 | `AttachmentsForm` |
> | Collecting Trip | `CollectingTripForm` |
> | Journal | `JournalForm` |
> | Other Identifier | `OtherIdentifiers` |
> | FieldNotebookAttachment | `ObjectAttachment` |
> | FieldNotebookPageSet | `ObjectAttachment` |
> | FieldNotebookPageSetAttachment | `ObjectAttachment` |
> | GiftAttachment | `ObjectAttachment` |
> | LoanAttachment | `ObjectAttachment` |
> | PermitAttachment | `ObjectAttachment` |
> | PreparationAttachment | `ObjectAttachment` |
> | LocalityAttachment | `ObjectAttachment` |
> | ReferenceWorkAttachment | `ObjectAttachment` |
> | RepositoryAgreementAttachment | `ObjectAttachment` |
> | StorageAttachment | `ObjectAttachment` |
> | TaxonAttachment | `ObjectAttachment` |
> | TreatmentEventAttachment | `ObjectAttachment` |
> 
> _Source Code:_ [Specify Data Model](https://github.com/specify/specify7/blob/e78d4c6f1a18be74ccc1fbba2f0f4b7ae1ac5066/specifyweb/specify/datamodel.py#L4371)

---

<div class="post-metadata">

**Author:** ![leobrimblecombe](https://avatars.discourse-cdn.com/v4/letter/l/ecd19e/32.png) [@leobrimblecombe](https://speciforum.org/u/leobrimblecombe)\
**Post date:** [January 30, 2026, 4:57am UTC](https://speciforum.org/t/attachment-plugin-not-working-with-defined-attachment-forms/2466/4 "2026-01-30T04:57:13Z")

</div>

Hi Grant,

Thanks for the info on this issue!

Sorry for not getting back to this sooner, but I’m back looking at this issue now and only really have one main question that’s still bugging me.

Note: I was only using the fact that I could overwrite the `ObjectAttachment` field as a workaround to the fact that the `CollectionObjectAttachment` view definition wasn’t functioning as expected.  
I think in an ideal situation there wouldn’t need to be any use of `ObjectAttachment` at all, but it worked as an okay way to get both the “Choose a file or drag it here” prompt to come up and also have the custom fields we want in the attachment view - unfortunately this workaround of creating an `ObjectAttachment` form at the Attachment level to supercede the default one breaks our existing Specify 6 process (which we don’t expect to support much longer, but can’t go around breaking core functionality in either (unfortunately for me.))

Ignoring the object attachment and lower level attachment form stuff, can you see any reason why our `CollectionObjectAttachment` view definition (`CollectionObjectAttachmentBRI` in this case) doesn’t have the prompt to “Choose a file or drag it here”?

(Apologies for the repeat of the same information that’s in the above messages - I’m trying to lay it out as clearly as I can 😅)  
On the `CollectionObject` form it is called like this:

```auto
<cell type="subview" id="attachments" viewname="CollectionObjectAttachmentBRI" name="collectionObjectAttachments" initialize="align=right;btn=true"/>

```

and on the `CollectionObjectAttachment` view definition it looks like this:

```auto
<viewdef>
	<desc>The CollectionObjectAttachment form.</desc>
	<!--columnDef>110px,2dlu,p:g,5dlu,100px,2dlu,85px</columnDef> -->
	<columnDef>110px,5dlu,p:g</columnDef>
	<rowDef auto="true" cell="p" sep="2px"/>
	<rows>
		<row>
			<cell type="label" labelfor="1"/>
			<cell type="field" id="1" name="attachment.origFilename" initialize="editoncreate=true" cols="30" uitype="browse" isrequired="true"/>
		</row>
		<row>
			<cell type="label" labelfor="title"/>
			<cell type="field" id="title" name="attachment.title" uitype="text" cols="30"/>
		</row>
		<row>
			<cell type="label" labelfor="subject"/>
			<cell type="field" id="subject" name="attachment.remarks" uitype="text" cols="30"/>
		</row>
		<row>
			<cell type="label" labelfor="dateImaged"/>
			<cell type="field" id="dateImaged" name="attachment.dateImaged" uitype="text"/>
		</row>
		<row>
			<cell type="label" labelfor="copyrightHolder"/>
			<cell type="field" id="copyrightHolder" name="attachment.copyrightHolder" uitype="text"/>
		</row>
		<row>
			<cell type="label" labelfor="copyrightDate"/>
			<cell type="field" id="copyrightDate" name="attachment.copyrightDate" uitype="text"/>
		</row>
		<row>
			<cell type="label" labelfor="license"/>
			<cell type="field" id="license" name="attachment.license" uitype="text"/>
		</row>
		<row>
			<cell type="label" labelfor="credit"/>
			<cell type="field" id="credit" name="attachment.credit" uitype="text"/>
		</row>
		<row>
			<cell type="label" labelfor="eDocs"/>
			<cell type="field" id="eDocs" name="attachment.metadataText" uitype="text"/>
		</row>
		<row>
			<cell type="subview" id="imageatt" viewname="AttachmentImageAttributeBRI" name="attachment.attachmentImageAttribute" colspan="3"/>
		</row>
		<row>
			<cell type="label" labelfor="Comments"/>
			<cell type="field" id="Comments" name="remarks" uitype="textareabrief" rows="3"/>
		</row>
	</rows>
</viewdef>

```

I feel like there should be something that should be some way to trigger this form to come up with the “Choose a file or drag it here” picker without resorting to changing any of the underlying code or replacing it with the ObjectAttachment form/a frankenstein’d version of it.

I should note that this exact same format and issue occurs with our `ConservEventAttachmentBRI`, `LocalityAttachmentBRI`, `AgentAttachmentBRI`, `CollectingEventAttachmentBRI`, `LoanAttachmentBRI` and a couple other forms - most of these I’ve just opted not to use our custom forms for and are just the default (non-edited) `ObjectAttachment` form on PROD, but that does mean we miss the functionality of being able to add any attachment info other than the default fields of `Filename, Title and MakePublic`

Let me know if there’s anything missing or anything else you’d like from me.  
Once again, thanks for all the help on this - I really appreciate it.

Best regards,  
Leo

---

<div class="post-metadata">

**Author:** ![leobrimblecombe](https://avatars.discourse-cdn.com/v4/letter/l/ecd19e/32.png) [@leobrimblecombe](https://speciforum.org/u/leobrimblecombe)\
**Post date:** [February 18, 2026, 5:56am UTC](https://speciforum.org/t/attachment-plugin-not-working-with-defined-attachment-forms/2466/5 "2026-02-18T05:56:12Z")

</div>

Hello,  
I was looking through the issues on GitHub and I noticed that this issue is (I believe) essentially a duplicate of

> <https://github.com/specify/specify7/issues/5078>
>
> \*\*Describe the bug\*\*
> Likely related to or a manifestation of both https://githu…b.com/specify/specify7/issues/3988 and https://github.com/specify/specify7/issues/3328.
> 
> \*\*To Reproduce\*\*
> Steps to reproduce the behavior:
> 
> 1. Define a custom Attachment view definition
> \`\`\`xml
> \<viewdef name="Attachment (2)" class="edu.ku.brc.specify.datamodel.Attachment" type="form" gettable="edu.ku.brc.af.ui.forms.DataGetterForObj" settable="edu.ku.brc.af.ui.forms.DataSetterForObj"\>
> \<desc\>The Attachment Table\</desc\>
> \<enableRules/\>
> \<columnDef\>p,2px,p:g\</columnDef\>
> \<rowDef auto="true" cell="p" sep="2px"/\>
> \<rows\>
> \<row/\>
> \</rows\>
> \<rows\>
> \<row\>
> \<cell type="label" labelfor="origFilename" label="FILENAME"/\>
> \<cell type="field" id="origFilename" name="attachment.origFilename" initialize="editoncreate=true" uitype="browse" isrequired="true"/\>
> \</row\>
> \<row\>
> \<cell type="label" labelfor="title" label="TITLE"/\>
> \<cell type="field" id="title" name="attachment.title" uitype="text"/\>
> \</row\>
> \<row\>
> \<cell type="label" labelfor="ispub" label=""/\>
> \<cell type="field" id="ispub" name="attachment.isPublic" uitype="checkbox" label="Make Public"/\>
> \</row\>
> 		
> \</rows\>
> \</viewdef\>
> \`\`\`
> 2. Upload a Collection Object Attachment
> 3. See that the custom form is not being used (UX testers can verify by going to the meta menu '-\> Form Definition' and see that there is no 'Edit Form Definition' button visible). Also notice the \`Title\` field is still required.
> 
> \*\*Expected behavior\*\*
> Custom attachment forms should be used when they exist.
> 
> \*\*Screenshots\*\*
> \<img width="1919" alt="image" src="https://github.com/specify/specify7/assets/37256050/908c4385-3ccf-464c-a294-40782c387d97"\>
> 
> 
> \*\*Crash Report\*\*
> \[Specify 7 System Information - 2024-07-08T15\_34\_41.060Z.txt\](https://github.com/user-attachments/files/16131365/Specify.7.System.Information.-.2024-07-08T15\_34\_41.060Z.txt)
> 
> macOS, Arc, \`edge\` (https://github.com/specify/specify7/commit/080b32ceaec14d747291bbb020d6329f48dcedc0)

The workaround that we used also seems very similar to the workaround mentioned in the issue.

---

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [February 23, 2026, 7:19pm UTC](https://speciforum.org/t/attachment-plugin-not-working-with-defined-attachment-forms/2466/6 "2026-02-23T19:19:12Z")

</div>

Hi @leobrimblecombe,

We are looking into issuing a proper fix for [this issue](https://github.com/specify/specify7/issues/5078) in the 7.12.1 update (which will be entering development soon)! I think we’ll need to push a fix on our side to resolve this rather than attempting a workaround in the XML.

Thank you for your detailed description of the issue you were encountering . I think we are on the same page as you now and are very much looking forward to a proper solution across all tables with attachments.

---

<div class="post-metadata">

**Author:** ![leobrimblecombe](https://avatars.discourse-cdn.com/v4/letter/l/ecd19e/32.png) [@leobrimblecombe](https://speciforum.org/u/leobrimblecombe)\
**Post date:** [October 28, 2026, 6:43am UTC](https://speciforum.org/t/attachment-plugin-not-working-with-defined-attachment-forms/2466/7 "2026-10-28T06:43:27Z")

</div>

Hi Grant,

We’ve now updated to 7.12.1 and in the process I had a chance to look into this a little more thoroughly! I was able to get it to work, but found some rather weird things in the process. Apologies if this gets a little wordy or hard to follow.

Previously, all of our custom/defined attachment forms were in the format TableAttachmentBRI (LoanAttachmentBRI, TaxonAttachmentBRI etc.) - these don’t work and my original solution of creating a copy of them called `ObjectAttachment` for each table made some cool bugs.

When I created an CollectionObjectAttachment form called ObjectAttachment and a TaxonAttachment form called ObjectAttachment, the CollectionObject didn’t work but Taxon did. But if I used the ‘_Edit form defintion_’ button, the CollectionObjectAttachment form would load despite not being used, but the **TaxonAttachment** form would 404 trying to open the path `/CollectionObjectAttachment/originalObjectAttachment/`, even though it displayed the correct fields!

After a bit of digging I think I have some idea of what was happening:  
`useViewDefintion` only works to render the attachment pluging when the name is `ObjectAttachment` exactly - the PR that fixed the issue (7811) makes the renderer use the flag `isAttachmentPlugin?`, but the value for it is still hardcoded to `ObjectAttachment` itself, so the `TableAttachmentBRI` fields would never render the attachment plugin, even after the PR.

The second part was that the AttachmentViewer in `Viewer.tsx` queries to get an exact attachment table name, rather than being passed the attachment form from (and also doesn’t have anything for preferring definitions with a database `viewsetid`). This means that it was searching for `CollectionObjectAttachment` and `TaxonAttachment` directly - so it was getting the global view backstop for `CollectionObjectAttachment` (which is why it rendered the default form), but couldn’t find one for the Taxon table (as there isn’t one) - falling back to ObjectAttachment via originalObjectAttachment, which 404s because the name change breaks the URL.

Obviously creating multiple forms called ObjectAttachment wasn’t the way to go about it, but it did also mean that the taxon level was picking up the CollectionObjectAttachment `ObjectAttachment` because it wins the hierarchy of Discipline → Collection.

The solution in the end is that you _can_ have customised attachment forms, it just took me a while to figure out the process was to go through each AttachmentBRI, create a copy of it called just TableAttachment, and then changing the form itself to use ObjectAttachment when calling the subview - e.g:  
Copying TaxonAttachmentBRI into just TaxonAttachment

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/3/3ed32d0fdb643517989b99fd66e3669621883214.png)  
and then changing the Taxon form from:

> cell type=“subview” id=“attachment” viewname=“TaxonAttachmentBRI” name=“taxonAttachments” colspan=“2” initialize=“btn=true;icon=TaxonAttachment”

to

> cell type=“subview” id=“attachment” viewname=“ObjectAttachment” name=“taxonAttachments” colspan=“2” initialize=“btn=true;icon=TaxonAttachment”

This full method still doesn’t play super nicely with Specify 6, which doesn’t render any of the fields this way, but at this point thats fine (we’ve almost entirely moved off Specify 6 now), and at the very least this method allows for attachments to be added in both. Specify 6 is now missing all of the fields except File Name and Title but before there was no way to get both Specify 6 and 7 to have the ability to add attachments at all with custom forms so I’m counting it as a win.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/9/9025a50b5d7c6622de31f264e68c3704d53e91db.png)

I also managed to find a bug in our configuration where because one of our ExchangeInAttachment forms was incorrectly defined as a GiftAttachment datamodel, the Specify 7 ‘Create’ form button on GiftAttachment would 404, which was kinda fun to debug - it was definitely an issue on our end, but it took me a while to find because it was the definition in our second collection that was causing the error when trying to look up the existing forms as templates.

Depending on whether or not you think the naming of the attachment forms being restricted to TableAttachment is a bug or a feature I don’t think there’s much that needs to be done for this, but I figured I’d write it out anyway just in case anyone else is having issues with Attachment forms link to the wrong tables because of weird ObjectAttachment naming stuff.

Let me know if anything here doesn’t make sense.  
Thanks for your help with this, and with Specify 7.12.1! We did the update today so I’m keen to get into using the new features (and hopefully not find too many bugs 😁)

---

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [October 30, 2026, 6:38pm UTC](https://speciforum.org/t/attachment-plugin-not-working-with-defined-attachment-forms/2466/8 "2026-10-30T18:38:58Z")

</div>

Hi @leobrimblecombe,

Thanks for the detailed follow-up! I appreciate you taking the time!

The attachment plugin has a special renderer and its automatic lookup historically only considered `ObjectAttachment` plus the canonical `{$Table}Attachment` name, such as `CollectionObjectAttachment`, `TaxonAttachment`, etc.. Anything outside of that (like `TaxonAttachmentBRI`) is not automatically selected by that attachment workflow.

The 7.12.1 fix addressed the main issue by allowing Specify 7 to prefer a user-defined view for the specific attachment table and then fall back to `ObjectAttachment`.

That’s why the most reliable pattern is always:

- Define the custom form with the canonical table name: `TaxonAttachment`, `CollectionObjectAttachment`, `LoanAttachment`, etc.
- Keep the parent record’s subview pointed at `ObjectAttachment`.
- Let Specify 7 select the table-specific form while still using the attachment plugin.

Creating multiple database forms all named `ObjectAttachment` is a bit unsafe since view names are resolved through the app-resource hierarchy. The first matching definition can therefore be reused for another attachment table, which explains the cross-table behavior you observed.

`originalObjectAttachment` is just an **internal** Specify 7 alias, not a real backend view name, so exposing it in the form-editor URL does produce the 404 you ran into! @jdam2k4 wrote this up on GitHub: [Attachment Form Definition Naming Limitations · Issue #8737 · specify/specify7 · GitHub](https://github.com/specify/specify7/issues/8737), so I hope to sort it out sooner than later.

I think it makes the most sense to consider the canonical `{$Table}Attachment` naming convention an implementation requirement of the current attachment-plugin workflow. Custom names can still be useful when explicitly referenced, but they cannot be used as the automatically selected attachment-plugin form.

Thanks again for documenting this so carefully!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/1/18a843c97bc32b40e8ad0e035755bc88ffaacaf7.svg) [@system](https://speciforum.org/u/system)\
**Post date:** [November 6, 2026, 6:39pm UTC](https://speciforum.org/t/attachment-plugin-not-working-with-defined-attachment-forms/2466/9 "2026-11-06T18:39:49Z")

</div>

Closed on November 6, 2026, 6:39pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
