# How to add taxon name column to accession items subview

**URL:** <https://speciforum.org/t/how-to-add-taxon-name-column-to-accession-items-subview/1871>\
**Category:** Get Help\
**Created:** [July 18, 2024, 4:07pm UTC](https://speciforum.org/t/how-to-add-taxon-name-column-to-accession-items-subview/1871 "2024-07-18T16:07:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fedoras](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/fedoras/32/455_2.png) [@fedoras](https://speciforum.org/u/fedoras)\
**Post date:** [July 18, 2024, 4:07pm UTC](https://speciforum.org/t/how-to-add-taxon-name-column-to-accession-items-subview/1871/1 "2024-07-18T16:07:54Z")

</div>

Hi! I got the request to swap out a column “project number” in the accession collection object items with (current) “taxon full name” and additionally “type status”.

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

Looking a the editor, it is not entirely clear what to write in the “name” field of the extra column to produce these.

```auto
<viewdef name="AccessionItems" class="edu.ku.brc.specify.datamodel.CollectionObject" type="form" gettable="edu.ku.brc.af.ui.forms.DataGetterForObj" settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
	<desc>The Collection Object Subform for Accessions.</desc>
	<enableRules/>
	<columnDef>105px,2px,120px,5px,100px,2px,95px,5px,102px,2px,95px,5px,97px,2px,95px,p:g</columnDef>
	<columnDef os="lnx">115px,2px,117px,5px,110px,2px,105px,5px,121px,2px,105px,5px,116px,2px,105px,p:g</columnDef>
	<columnDef os="mac">130px,2px,130px,5px,118px,2px,130px,5px,121px,2px,130px,5px,120px,2px,130px,p:g</columnDef>
	<columnDef os="exp">p,2px,min(p;150px),5px:g,p,2px,p:g(2),5px:g,p,2px,p:g(2),5px:g,p,2px,p:g(2)</columnDef>
	<rowDef auto="true" cell="p" sep="2px"/>
	<rows>
		<row>
			<cell type="label" labelfor="1"/>
			<cell type="field" id="1" name="catalogNumber" uitype="formattedtext"/>
			<cell type="label" labelfor="2"/>
			<cell type="field" id="2" name="altCatalogNumber" uitype="text"/>
			<cell type="label" labelfor="3"/>
			<cell type="field" id="3" name="collection.collectionName" uitype="dsptextfield"/>
			<cell type="label" labelfor="4"/>
			<cell type="field" id="4" name="projectNumber" uitype="text"/>
			<!--<cell type="label" labelfor="5"/>
			<cell type="field" id="5" name="determinations.taxon.fullName" uitype="dsptextfield"/>-->
		</row>
	</rows>
</viewdef>

```

Note: The columns should probably be non-editable, if possible.

---

<div class="post-metadata">

**Author:** ![markp](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/markp/32/1184_2.png) [@markp](https://speciforum.org/u/markp)\
**Post date:** [July 18, 2024, 5:04pm UTC](https://speciforum.org/t/how-to-add-taxon-name-column-to-accession-items-subview/1871/2 "2024-07-18T17:04:49Z")

</div>

Hi @fedoras,

I believe `name="currentDetermination.preferredTaxon.fullName"` and `currentDetermination.typeStatusName` should get the values you are after! I have put it up on the demo instance so you can see what it looks like:

[https://sp7demofish.specifycloud.org/specify/view/accession/1/](https://sp7demofish.specifycloud.org/specify/view/accession/1/)

and a screenshot:

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