Zum Hauptinhalt gehen

Replacement Tokens, Fields storing URLs, and Hyperlinks not working the way I had hoped.

Kommentare

6 Kommentare

  • Chris Bates
    Additionally, I've noted that ArcGIS Web Map Viewer is smart enough to convert HTML stored in a field into an actual hyperlink in the popup - but Geocortex seems to convert it to a string.
    0
  • Trevor Floyd
    I use a replacement token to expand on a URL or use that {token} as the entire URL.  

     

    <br/><a href="https://childcaresearch.apps.lara.state.mi.us/Home/FacilityProfile/{LicenseNumber}">{LicenseNumber}</a><br/>

     

     

    In the above case both the URL and clickable link are replacement tokens.  Might be a solution.
    0
  • Chris Bates
    Thanks Trevor - I was thinking this may be a solutions (use the report name field and link it to the URL) I was just hoping to use the html in a single field because the report name can be long and look busy in the popup window.
    0
  • Berend Veldkamp
    One way to hide a tags with an empty href attribute from the maptip, is to add the following to the viewer's common.css file:

     

     

    .MapTipView a[href=''] { display: none; }

     

     

    or, if the info is displayed in the Results List:

     

     

    .ResultsListView a[href=''] { display: none; }
    0
  • Chris Bates
    Thanks Berend
    0
  • Don Neumann
    take a look at using arcade expressions, will need a more recent version of site manager and viewer, though. Cant lend any help though as i haven't done it in geocortex, but what you are describing is possible with arcade expressions in web appbuilder.
    0

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