Thanks for the answer.
I’ve followed those steps, but it keeps adding the random UUID. It could be a bug for the 3.10.5 version.
Best regards.
Óscar Diago Alonso
Analista / Desarrollador GIS
oscar.diago@...1602...<mailto:oscar.diago@…1602…>
Tfno.: +34 945 13 13 72
C/ Pintor Clemente Arráiz, 3 BJ (01008) Vitoria-Gasteiz, Álava
De: Juan Luis Rodríguez Ponce <juanluisrp@...444...>
Enviado el: martes, 8 de febrero de 2022 15:51
Para: Oscar Diago Alonso <Oscar.Diago@...1602...>
CC: geonetwork-users@lists.sourceforge.net
Asunto: Re: [GeoNetwork-users] Generate custome URN for Metadata Identifier
I've tested it in 3.12.x and it works fine:
1. In the Admin Console -> Settings disable the Generate UUID option:
[cid:image001.png@...1953...]
2. In Admin Console -> Metadata and Templates -> Metadata Identifier templates create a new template:
[cid:image002.png@...1953...]
3. When creating a new metadata select the desired Metadata Uniform Resource Name. Keep in mind that Autogenerated URN option is the regular random UUID. Select your custom URN template:
[cid:image003.png@...1953...]
[cid:image004.png@...1953...]
6. The URN is used as fileIdentifier and in the record URL:
<gmd:fileIdentifier>
<gco:CharacterString>com.example.gis::12345</gco:CharacterString>
</gmd:fileIdentifier>
[cid:image005.png@...1953...]
On Tue, Feb 8, 2022 at 10:45 AM Oscar Diago Alonso via GeoNetwork-users <geonetwork-users@lists.sourceforge.net<mailto:geonetwork-users@lists.sourceforge.net>> wrote:
Hi,
We have configured GeoNetwork not to generate random UUID metadata identifiers. We are adding new metadata records using a template and selecting "Custom URN" to add custom identifiers. But this option is not working and GeoNetwork keeps generating random UUID identifiers. We have also tried creating a URN template as explained in the following link with no result.
https://geonetwork-opensource.org/manuals/3.10.x/en/administrator-guide/managing-metadata-standards/metadata-identifier.html
Is there any way to generate custom URN?
The version of GeoNetwork is 3.10.5
Thanks,
Óscar Diago Alonso
Analista / Desarrollador GIS
oscar.diago@...1602...<mailto:oscar.diago@…1602…><mailto:oscar.diago@…1602…>
Tfno.: +34 945 13 13 72
C/ Pintor Clemente Arráiz, 3 BJ (01008) Vitoria-Gasteiz, Álava
Óscar Diago Alonso
Analista / Desarrollador GIS
oscar.diago@...1602...<mailto:oscar.diago@…1602…>
Tfno.: +34 945 13 13 72
C/ Pintor Clemente Arráiz, 3 BJ (01008) Vitoria-Gasteiz, Álava
[https://geograma.com/wp-content/banners/banner_mail.png\]<https://www.geograma.com/casos-de-exito/>
Si no ves la imagen puedes acceder desde aquí<https://www.geograma.com/casos-de-exito/>
Tratamos su dirección de correo electrónico y otros datos personales para mantener el contacto y comunicación con Ud. y, en su caso, remitirle información sobre nuestros productos y servicios. Si no desea recibir tal información envíe un e-mail en tal sentido a dpd@...1602...<mailto:dpd@…1602…>. Puede acceder, rectificar y suprimir los datos, así como otros derechos, como se detalla en la información adicional y completa a su disposición en nuestra política de privacidad en la URL www.geograma.com/politica-privacidad/<http://www.geograma.com/politica-privacidad/>\. Este mensaje y los archivos adjuntos al mismo son privados y confidenciales, si no es Ud. el destinatario y ha recibido este mensaje por error, rogamos nos lo comunique inmediatamente sin difundir, almacenar o copiar su contenido.
[https://geograma.com/wp-content/banners/geo-web.png\]<https://www.geograma.com/> [https://geograma.com/wp-content/banners/geo-linkedin.png\] <https://bit.ly/geo-linkedin> [https://geograma.com/wp-content/banners/geo-twitter.png\] <https://bit.ly/geo-tw>
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
--
Vriendelijke groeten / Kind regards,
Juan Luis Rodríguez.
[https://www.geocat.net/wp-content/uploads/2015/07/GeoCat_small1.png\]<http://www.geocat.net/>
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664<tel:+31318416664>
Please consider the environment before printing this email.
(attachments)




