Closed pvgenuchten closed 7 months ago
suggestion from @josegar74: a combobox, for anchors that use a certain codelist, to allow users to add any string (and add it as gco:characterString) or select a value from dropdown, which adds the gmx:anchor with a link to the relevant codelist, config in config_editor should be something like
<field xpath="..." type="anchorSelector" codelist="thesaurus:inspire:mediatypes"/>
Should this be defined at a field level for all views or only per view ?
An option would also be
<fields>
<for name="gmd:useLimitation"
use="data-gn-keyword-picker">
<directiveAttributes data-thesaurus-key="external.theme.httpinspireeceuropaeucodelistEconomicActivityValue"/>
</for>
or maybe both.
And then gn-keyword-picker should be able to deal with a couple of cases:
Is your feature request related to a problem? Please describe. inspire md profile v2 recommends the use of anchors linking to common thesauri (from inspire registry), for example for accessConstraints, spatial reference system, onlineresource/description.
Describe the solution you'd like would be interesting to link a thesaurus to the relevant gmx:anchor field, so users can select a value from a pull down, in stead of inserting the value and the uri manually
i wonder if we should also introduce a 'other' value, to allow users to insert an alternative value manually