Zum Hauptinhalt gehen

Map Tip Hyperlinks

Kommentare

2 Kommentare

  • Denise Beckham
    UPDATE

     

    I changed it to display the URL for the hyperlink instead of "Visit Website".  Now it doesn't show a hyperlink for the features with no accompanying website.  This works for this layer, as none of the URL's are very long.  However, I am still interested in another solution in case I need to do something similar for features with longer URL's. <a href="{FacilityWebsite}" target="_blank">{FacilityWebsite}</a>

     

     
    0
  • John Nerge
    I've used one to one data links to generate hyperlink text for URLs only when they exist. Something along the lines of:

     

    SELECT 'Visit website' AS Link

     

    FROM MyTable

     

    WHERE MyTable.URLField IS NOT NULL

     

    AND MyTable.IDField = @ID

     

    I also use a similar method for determining whether or not to show links to run workflows or to show photo attachments.

     

    The downside is that it adds the field to your feature details as well, but in most places that I use it I've either turned the feature details off or have accepted it because it's more important to have a clean link.
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.