[GeoNetwork-devel] Multiple values for data-filter for data entry selector

Hi All,

I'm trying to set up a series of data quality reports as sub
templates, so they can be picked using a directory entry selector when
editing a report. The way my config-editor code is currently set up
for this looks like:

<for name="gmd:report" addDirective="data-gn-directory-entry-selector">
      <directiveAttributes
        data-template-add-action="true"
        data-search-action="true"
        data-popup-action="true"
        data-filter='{"_root": "gmd:DQ_DomainConsistency"}'
        data-insert-modes=""
        data-template-type="report"/>
    </for>

but the data quality snippets might have different roots, eg
gmd:DQ_CompletenessCommission and so on.

In order to get the different snippets to show in the same data
quality report picker in the editor, can I add additional values into
the data-filter above? Otherwise how do I do this?

Thanks

Jo

--
Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For
urgent responses at that time, please visit
support.astuntechnology.com or phone our office on 01372 744009

--
--
*Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates&gt; for updates on news,
products, conferences, events and training*
*
*

Astun Technology Ltd, 120
Manor Green Road, Epsom, Surrey, KT19 8LN, UK
t:+44 1372 744 009 w:
astuntechnology.com <http://astuntechnology.com/&gt; twitter:@astuntech
<https://twitter.com/astuntech&gt;

iShare - enterprise geographic
intelligence platform <https://astuntechnology.com/ishare/&gt;
GeoServer,
PostGIS and QGIS training <https://astuntechnology.com/training-courses/&gt;
Helpdesk and customer portal
<https://astuntech.atlassian.net/wiki/spaces/ISHAREHELP/pages/364970043/Astun+Technology+Support+Portal&gt;

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.

Hi Jo, something like root=gmd:DQ* should probably work ?
eg. https://github.com/geonetwork/core-geonetwork/blob/master/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/layout/config-editor.xml#L169-L175

Francois

Le mar. 1 déc. 2020 à 11:05, Jo Cook <jocook@anonymised.com> a écrit :

Hi All,

I’m trying to set up a series of data quality reports as sub
templates, so they can be picked using a directory entry selector when
editing a report. The way my config-editor code is currently set up
for this looks like:

but the data quality snippets might have different roots, eg
gmd:DQ_CompletenessCommission and so on.

In order to get the different snippets to show in the same data
quality report picker in the editor, can I add additional values into
the data-filter above? Otherwise how do I do this?

Thanks

Jo


Jo Cook
t:+44 7930 524 155/twitter:@archaeogeek
Please note that currently I do not work on Friday afternoons. For
urgent responses at that time, please visit
support.astuntechnology.com or phone our office on 01372 744009

Sign up to our mailing list
<https://astuntechnology.com/company/#email-updates> for updates on news,
products, conferences, events and training

*
*

Astun Technology Ltd, 120
Manor Green Road, Epsom, Surrey, KT19 8LN, UK
t:+44 1372 744 009 w:
astuntechnology.com <http://astuntechnology.com/> twitter:@astuntech
<https://twitter.com/astuntech>

iShare - enterprise geographic
intelligence platform <https://astuntechnology.com/ishare/>
GeoServer,
PostGIS and QGIS training <https://astuntechnology.com/training-courses/>
Helpdesk and customer portal
<https://astuntech.atlassian.net/wiki/spaces/ISHAREHELP/pages/364970043/Astun+Technology+Support+Portal>

Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork