Hello,
I've created a custom editor view of ISO19139 and would like to include the
thesaurus picker. Unfortunately, although existing keywords are displaying,
the picker is not. I've found that if I change the xpath of the field to
the parent of descriptiveKeywords, which is MD_DataIdentification, then the
picker does appear.
For ease of use we're focusing on a small set of fields, and I really don't
want all of MD_DataIdentification, but we really need the thesaurus picker
available. Any suggestions?
Below is the current code of my custom view. Thanks for any help.
<view name="cic-gddp">
<tab id="default" default="true" >
<section name="cic-gddp-identification">
<!-- title -->
<field
xpath=
"/gmd:MD_Metadata/gmd:identificationInfo/*/gmd:citation/gmd:CI_Citation/gmd:title"
/>
<!-- abstract -->
<field
xpath=
"/gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:abstract"
/>
<!-- originator -->
<field
xpath=
"/gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:citedResponsibleParty/gmd:CI_ResponsibleParty/gmd:role/gmd:CI_RoleCode[@codeListValue='originator']/../../gmd:CI_ResponsibleParty"
/>
<!-- topic category(ies) -->
<field
xpath=
"/gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:topicCategory/gmd:MD_TopicCategoryCode"
/>
</section>
<section name="cic-gddp-keywords">
<!-- keywords -->
<field xpath=
"/gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:descriptiveKeywords"
</field>
</section>
<section name="cic-gddp-temporal">
<!-- temporal extent -->
<field
xpath=
"/gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:extent/gmd:EX_Extent/gmd:temporalElement"
/>
<!-- date -->
<field
xpath=
"/gmd:MD_Metadata/gmd:identificationInfo/gmd:MD_DataIdentification/gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date/gmd:dateType/gmd:CI_DateTypeCode[@codeListValue='publication']/../../../gmd:CI_Date"
/>
</section>
</tab>
</view>
--
Kevin Dyke
Spatial Data Analyst/Curator
John R. Borchert Map Library, University of Minnesota Libraries
Office: 612.301.3932
Email: dykex005@anonymised.com
Web: kevinrdyke.com