# Add Agent Identifiers to the form

**URL:** <https://speciforum.org/t/add-agent-identifiers-to-the-form/856>\
**Category:** Forms\
**Tags:** Specify-7, Specify-6, Members-only\
**Created:** [November 4, 2022, 7:13pm UTC](https://speciforum.org/t/add-agent-identifiers-to-the-form/856 "2022-11-04T19:13:29Z")\
**Posts on this page:** 3\
**Page:** 1

<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 4, 2022, 7:13pm UTC](https://speciforum.org/t/add-agent-identifiers-to-the-form/856/1 "2022-11-04T19:13:29Z")

</div>

> Before beginning, please review our documentation on [editing forms](https://speciforum.org/t/editing-forms-in-specify-7/1557).

Starting with [Specify Schema 2.10](https://speciforum.org/t/specify-schema-2-10-release-notes/830), you can add **Agent Identifiers** to the Agent form!

You can see [all of the fields available in this table on the schema release notes](https://speciforum.org/t/specify-schema-2-10-release-notes/830#:~:text=FALSE-,AgentIdentifier,-Column%20Name).

 ![Agent Identifier default form](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/e/e28fe26bc6808ea98a320ef49016150ebc345b72.png)

## Add to the Form Definition

To add Agent Identifier to your form definition, you can simply open your form definition in [App Resources](https://speciforum.org/t/app-resources-in-specify-7/582) and then check “Show All Tables”.

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

Once selected, you can choose **Agent Identifier** from the list of tables. Next click on the **Create** button.

This dialog will appear allowing you to choose from the default view definition for Agent Identifier (`AgentIdentifiers`):

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

You can select this item and add it to your form definition. Now you can make your modifications and click **Save** to commit it to the database!

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

If you seek inspiration to make the most of this table, refer to this topic:

> [@Add links from Agent to ORCID, Bionomia, Wikidata, and more](https://speciforum.org/t/add-links-from-agent-to-orcid-bionomia-wikidata-and-more/1985):
>
> This guide will show you how to add links to ORCID, Bionomia, and Wikidata using the Agent Identifier table. First, make sure you have unhidden the identifiers field in the Agent table in the [Schema Config](https://speciforum.org/t/using-the-schema-config-in-specify-7/535) so that this relationship and the fields within the Agent Identifier table are accessible to you and other users within the current discipline. Second, you will need to add the Agent Identifier subview to your Agent form, which you can do by following thes…

> **Specify 6 XML-based instructions**
>
> ## **View components:**
> 
> ```auto
> <view name="AgentIdentifiers"
> class="edu.ku.brc.specify.datamodel.AgentIdentifier"
> >
> <desc><![CDATA[Subform within the agent form.]]></desc>
> <altviews>
> <altview name="AgentIdentifiers Table View" viewdef="AgentIdentifiers Table" mode="view"/>
> <altview name="AgentIdentifiers Table Edit" viewdef="AgentIdentifiers Table" mode="edit"/>
> <altview name="AgentIdentifiers View" viewdef="AgentIdentifiers" mode="view"/>
> <altview name="AgentIdentifiers Edit" viewdef="AgentIdentifiers" mode="edit" default="true"/>
> </altviews>
> </view>
> 
> ```
> 
> ## **View Definition components:**
> 
> ```auto
> <viewdef
> type="formtable"
> name="AgentIdentifiers Table"
> class="edu.ku.brc.specify.datamodel.AgentIdentifier"
> gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
> settable="edu.ku.brc.af.ui.forms.DataSetterForObj">
> 
> <desc><![CDATA[AgentIdentifiers subform table for Agent form.]]></desc>
> <definition>AgentIdentifiers</definition>
> </viewdef>
>         
> <viewdef
> type="form"
> name="AgentIdentifiers"
> class="edu.ku.brc.specify.datamodel.AgentIdentifier"
> gettable="edu.ku.brc.af.ui.forms.DataGetterForObj"
> settable="edu.ku.brc.af.ui.forms.DataSetterForObj"
> useresourcelabels="true">
> <desc><![CDATA[subform on the Agent form.]]></desc>
> <enableRules/>
> 
> <columnDef>100px,2px,473px,5px,120px,2px,125px,0px,15px,p:g</columnDef>
> <columnDef os="lnx">115px,2px,510px,5px,120px,2px,198px,0px,15px,p:g</columnDef>
> <columnDef os="mac">130px,2px,530px,5px,105px,2px,218px,0px,15px,p:g</columnDef>
> <columnDef os="exp">p,2px,473px,5px:g,p,2px,125px,0px,15px,p:g</columnDef>
> <rowDef auto="true" cell="p" sep="2dlu"/>
> 
> <rows>
> <row>
> <cell type="label" labelfor="1"/>
> <cell type="field" id="1" name="identifier" uitype="text"/>
> <cell type="label" labelfor="2"/>
> <cell type="field" id="2" name="identifierType" uitype="text"/>
> </row>
> <row>
> <cell type="label" labelfor="7"/>
> <cell type="field" id="7" name="remarks" uitype="textareabrief" rows="2" colspan="6"/>
> </row>
> <!--<row>
> <cell type="label" labelfor="9"/>
> <cell type="field" id="9" name="createdByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
> <cell type="label" labelfor="10"/>
> <cell type="field" id="10" name="modifiedByAgent" uitype="label" readonly="true" uifieldformatter="Agent"/>
> </row>
> <row>
> <cell type="label" labelfor="11"/>
> <cell type="field" id="11" name="timestampModified" uitype="label" readonly="true"/>
> <cell type="label" labelfor="12"/>
> <cell type="field" id="12" name="timestampCreated" uitype="label" readonly="true"/>
> </row>-->
> </rows>
> </viewdef>   
> 
> ```

## Add to the Agent Form

Once you have the view definition defined above, you can add the following XML to your **Agent** view definition:

```auto
 <row>
      <cell type="subview" id="agentIdentifiers" viewname="AgentIdentifiers" name="identifiers" colspan="18"/>
</row>

```

---

<div class="post-metadata">

**Author:** ![Plarson](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/plarson/32/797_2.png) [@Plarson](https://speciforum.org/u/Plarson)\
**Post date:** [January 6, 2023, 9:13pm UTC](https://speciforum.org/t/add-agent-identifiers-to-the-form/856/2 "2023-01-06T21:13:18Z")

</div>

This was very helpful, thanks!

---

<div class="post-metadata">

**Author:** ![Elizabeth](https://avatars.discourse-cdn.com/v4/letter/e/34f0e0/32.png) [@Elizabeth](https://speciforum.org/u/Elizabeth)\
**Post date:** [January 13, 2026, 7:32pm UTC](https://speciforum.org/t/add-agent-identifiers-to-the-form/856/3 "2026-01-13T19:32:35Z")

</div>


