Como insertar un atributo hipervinculo.

71 views
Skip to first unread message
Assigned to lorenzo...@geosolutionsgroup.com by me

P Corral

unread,
Nov 18, 2024, 5:11:45 AM11/18/24
to mapstore-users
Hola.
Se me plantea la siguiente duda.
Tengo un geopakage de QGIS como capa en geoserver. 
En este caso la capa se llama PUNTOS INSPECCION.
Tengo un campo ENLACE que es un enlace a sharepoint.
A esta capa tipo punto le tengo aplicada una simbología gráfica desde mapstore, desde geoserver no me ha funcionado la simbología con GSD (pero este es otro asunto)
Se me plantea la siguiente duda:
Me gustaría que al listar los atributos de un elemento de la tabla PUNTOS INSPECCIÓN en la ventana lateral pudiera mostrarse una imagen alojada en Sharepoint.
En un paso mas adelantado, me gustaría que ese hipervinculo fuera parametrizado.
Es algo parecdido al ejemplo de Génova en la capa donde se muestran los monumentos.
Gracias comunidad.
(decir que soy un poco lechón codificando)

Tobia Di Pisa

unread,
Nov 18, 2024, 5:14:28 AM11/18/24
to mapstor...@googlegroups.com
Hi,
I'm sorry but this mailing list is in english and it is not really clear to me what you would like to achieve.

Regards,
     Tobia Di Pisa


--
You received this message because you are subscribed to the Google Groups "mapstore-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mapstore-users/e7daf04e-1fb6-44c9-a516-d9be72de5ee4n%40googlegroups.com.


--


==
GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.
==
Dott. Ing. Tobia Di Pisa
Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313

mobile: +39 340 1781783
fax:      +39 0584 1660272

https://www.geosolutionsgroup.com/
http://twitter.com/geosolutions_it
-------------------------------------------------------


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.

P Corral

unread,
Nov 20, 2024, 3:26:01 AM11/20/24
to mapstore-users
Sorry is my first time.
I´m goin to try to translate to English.

Hello.
I have the following question.
I have a QGIS geopackage as a layer in geoserver.
In this case the layer is called INSPECTION POINTS.
I have a field called LINK which is a link to sharepoint.
I have applied a graphic symbology to this point type layer from mapstore, from geoserver the symbology with GSD has not worked (but this is another matter)
I have the following question:
I would like that when listing the attributes of an element of the INSPECTION POINTS table in the side window, an image hosted in Sharepoint could be displayed.
In a more advanced step, I would like that hyperlink to be parameterized.
It is something similar to the Genova example in the layer where the monuments are shown.
Thanks community
ejemplo.jpg

Lorenzo Natali

unread,
Nov 26, 2024, 3:52:44 AM11/26/24
to mapstore-users
Hi,
a partial support to the functionality is provided using the identify template you can custom text like in the example.
You can use parameters in text or image URL URL by inserting the syntax ${properties.ATTRIBUTE_NAME} in the text. 
For more advanced templating functionalities (like cicling on attributes, formatting, creating tables and so on) 
some use the HTML format, that renders the html provided by the server (most of the cases by GeoServer using freeMarker template)

P Corral

unread,
Dec 16, 2024, 3:42:56 AM12/16/24
to mapstor...@googlegroups.com
Ok, thanks for the help. (I've been busy these days), I couldn't find that option for an HTML attribute, since I have the old version installed. Now that we have Mapstore2, I'm sure I'll fix it.
Thanks.

--
You received this message because you are subscribed to a topic in the Google Groups "mapstore-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapstore-users/yXt7J62hCLY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapstore-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mapstore-users/d7ffadcc-7141-48fa-ad27-4b7085873340n%40googlegroups.com.

P Corral

unread,
Jan 23, 2025, 4:12:44 AM1/23/25
to mapstore-users
Hello
I have a layer with fields that are links to Sharepoint. I want that when I display the attributes of an element, it takes me to that sharepoint link.
In the custom format editor, I have created this template:
The Sharepoint link: ${properties.LINK}
How can I make the content of the field clickable?

When ready the fields appear in grey like the following image:


REgards
Clipboard01.jpg

Lorenzo Natali

unread,
Mar 24, 2025, 10:25:29 AM3/24/25
to mapstore-users
Hi,
Sorry for the late reply.
If in the LINK field you have the URL, you can use a custom template to create a link. 

See here

Immagine incollata.png
Reply all
Reply to author
Forward
0 new messages