feature hyperlink overridden by hyperlink label from fields tab
I've added a hyperlink label in the field properties for the "Website" field in a layer so that the long URLs are hidden and instead it says "Click Here". After I do this and refer to the "Website" field in the "Feature Desciption" from the 'Details' tab, the hyperlink in the map tip is overwritten with "Click Here" and the hyperlink doesn't work from the map tip or the initial search results. If the hyperlink label is left blank, the hyperlinks from the feature description work without any issue but the long URLs are shown in the details of the feature.
Here are some screenshots:
_img_ alt="EditField-HyperlinkLabel" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906600000004If1&feoid=Body&refid=0EM600000004YA4" _/_img_
Feature Description for Map Tip:
<p><strong><u>Type of Resource:</u> </strong>{Layer}<br>{Address}<br>{City}, {Postal}<br><a href="{Website}" target="_blank">Website</a><br></p><p>
Hover over/click Link from Map Tip :
result: http://www.mappmycity.ca/Html5Viewer_2_0/click%20Here
("Click Here" is embedded in the website instead of the feature's URL)
_img_ alt="map tip" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906600000004If1&feoid=Body&refid=0EM600000004YA9" _/_img_
If you remove the hyperlink label and click on the same feature, you get the correct website:
result: https://windsoressex.cioc.ca/record/WIN0983
_img_ alt="maptip no hyperlink label" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906600000004If1&feoid=Body&refid=0EM600000004YAE" _/_img_
Has anyone else experienced this? Am I doing something wrong?
Thanks,
Allison
0
-
Maybe it is a bug with the HTML5 Viewer version you are using.
We are using GVH 2.5.2 and it works as you want it to:
It honors the Hyperlink Label in the Details
It displays the different hyperlink text we set inside the <a> tag in the maptip while using href="{fieldname}"
And the URL is the same and works in both cases.0 -
I'm looking back through some release notes and wondering if GVH-2754 (Hyperlink Label is not used) is the same issue. If so, it says it was fixed in HTML5 2.1.
Thanks Dan for your quick reply!
Allison0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer