Spectrum Spatial Analyst

Expand all | Collapse all

Hyperlink to open files.

  • 1.  Hyperlink to open files.

    Posted 11-14-2018 23:41

    Hi there, I have fields inside of TAB files that are the location and filenames of photos and PDFs. How do you get SSA to act like a hyperlink using the network file structure?? Can virtual directories be setup to perform this task? SSA 12.2.1 (Latest)

    Currently I click on the link shown below and it doesn't go anywhere. (Hyperlink field in template designer)

    Eg. file://mscvdcdata/SPCS/Health/Archive/Wastewater/Septic%20Audit%20Project/Moorabool%20Septic%20Project/Septic%20Tank%20Audit%202010/Working%20Data/Photos/Getac-01_150413_143053.JPG

    Thanks in advance for any ideas.

    Tim

     



  • 2.  RE: Hyperlink to open files.

    Posted 11-15-2018 20:23

    Hi Tim, this was previously covered in a question raised by @Rebecca Marks​ in this post:

     

    The following link is no longer available. To access this information, copy the title found in the url into the search tool on the top nav bar, or try searching for key words in the post. https://li360.pitneybowes.com/s/question/0D5800000474U29CAE/can-i-reference-local-files-in-the-callout-templates

     

    The simplified story is that browsers for various security reasons are restricting access to local files using the file://xxx tag. Some still support it but you will find it patchy. The more reliable and secure way to go about your task is to setup a simple http server to host your files locally. Windows comes with IIS that can be configured to do this though there are other free servers you can setup quickly and simply, Node.js comes highly recommended.



  • 3.  RE: Hyperlink to open files.

    Posted 10 days ago
    Hello

    Yes I've had great success with virtual directories for photo hosting :)

    Feel free to drop me a line if you get stuck

    Regards

    Rebecca Marks

    ------------------------------
    Rebecca Marks
    GIS Officer
    Greater Hume Shire Council
    Holbrook
    ------------------------------



  • 4.  RE: Hyperlink to open files.

    Posted 11-16-2018 09:40

    Hi Tim,

     

    You need to get the full UNC path or full URL into the tab file field.

     

    Connecting to a file

    You need to do things:

    1: Place the file (e.g.: PDF) onto your SSA server at C:\Program Files\Pitney Bowes\SpectrumSpatialAnalyst\Tomcat7\AnalystConnect\webapps\connect\Includes

     

    2: Assuming you have gone public facing, you need to enter the path of that file into the tab field (e.g.: https://geo.southwark.gov.uk/connect/analyst/Includes/Listed Buildings/SwarkLB 180.pdf)

     

    Note that I have several folders within the 'Includes' folder relating to different areas of the business. So, the example above has the PDF stored in the ..../Includes/Listed Buildings folder and the value you place into the tab files is ...Includes/Listed Buildings/...

    When an object is clicked on in SSA where there is a linked doc it will come up as a hyperlink in left side panel.

     

    Linking to a URL

    Just place the full URL into the tab file field including http:// or https:// at the start

    When an object is clicked on in SSA where there is a web link it will come up as a hyperlink in left side panel.

     

    Linking to an email address

    Place mailto:john.smith@somewhere.com into the the tab file field