We would like to include our institution acronym into our catalog number during DwCA export.
If we follow the guides the exported catalog number is the numeric one: eg. 896415, which is our default catalog number format (CatalogNumberNumeric #########) without the leading zeros.
The corresponding part of the DwCA definition:
We have a record formatter at collection level to add prefix to the catalog number.
<format name="CollectionObject" title="CollectionObject" class="edu.ku.brc.specify.datamodel.CollectionObject" default="true">
<switch single="true">
<fields>
<field uifieldformatter="CatalogNumber" sep="NHMD">catalogNumber</field>
</fields>
</switch>
</format>
When I add the formatName=“CollectionObject” attribute to the DwCA definition, we experience no change in the export.
The only solution we found is to refer the catalog number from the determination table, like this:
<field term="http://rs.tdwg.org/dwc/terms/catalogNumber" stringId="1,9-determinations,1.collectionobject.collectionObject" value="" oper="1" isNot="false" isRelFld="true" />
This way we get NHMD896415, what we wanted.
What would be the preferred process to meet the same objective in a more elegant way?
Specify 7 Version: v7.9.6.2, also in v7.10.2.3