Zum Hauptinhalt gehen

Open skype from maptip

Kommentare

3 Kommentare

  • Tom Neer
    The MapTips limit href links to HTTP/HTTPS only. We have worked around this by creating a Workflow with an input variable. 
    0
  • Lauren MacLean
    I've just asked a similar question - I'm  hoping there's somewhere in the config files to add additional href protocols so that you can launch other programs etc. with hyperlinks
    0
  • Permanently deleted user
    Got this answer via my local distributor:

     

    In older versions, the HTML5 viewer would use any type of hyperlink you constructed, but somewhere along the line (~GE 4.5 / GVH 2.6), security was tightened so that links that don't follow certain formats won't be usable.  We do have an improvement request on file- "14574 Allow administrator to manage list of permitted protocols for hyperlinks".

     

    We also have an unsupported workaround that you can try if you are interested.  I can't guarantee it will work, but according to our notes, some customers have tried this with success for other types of links:

     

    1. Find "C:\inetpub\wwwroot\Html5ViewerGR5\Resources\Compiled\Mapping.Infrastructure.bundle.js" (or the equivalent path for your HTML5 viewer in wwwroot).  Make a backup copy on the desktop or somewhere else just to be safe.

     

    2. Edit the original in a text editor like Notepad

     

    3. Ctrl + f and search for "gopher"

     

    4. Add your hyperlink protocol ("sip") to the list there.  Eg ["http","https","ftp","ftps","gopher","sip","mailto","arcgis-navigator","comgooglemaps","comgooglemaps-x-callback","comgooglemapsurl"]

     

    5. Save the file

     

    6. Rewrite your feature description's hyperlinks using the OpenWebPage command syntax.  Eg. <a href="command:OpenWebPage?sip:{MAKE}@eniig.dk">Open in Skype</a>

     

    7. Apply changes/save the site and test in the viewer 

     

    Because this change is to a compiled javascript file instead of to site or viewer configuration, it may need to be reapplied when the viewer is upgraded in the future.

     

    And it worked just fine!
    0

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