Spectrum Spatial (SSA/LIM)

 View Only
  • 1.  SSA embedded in webpage not working in Chrome

    Posted 12-15-2017 01:12

    ?There is an article within LI360 that outlines how to embed SSA in a webpage using an iframe. For me this works ok in Internet Explorer but doesn't work within Chrome and returns an error ( Safari private mode is not supported in Analyst - please use normal mode). The site as included within the article html template works in both.

    How can I achieve this within Chrome?

    The article 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/article/How-to-embed-Spectrum-Spatial-Analyst-map-into-your-webpage

    cheers

     



  • 2.  RE: SSA embedded in webpage not working in Chrome

    Posted 12-18-2017 06:01

    Hi @Peter van Dijk? it is working fine for me.

    Here is the HTML text that I used.

    <html>

    <head>

    <title>SSA Demo</title>

    </head>

    <body>

    <iframe src="https://spectrumspatial.com/connect/analyst/mobile/#/main?mapcfg=Franchise%20-%20Public" frameborder="0" scrolling="no" allowfullscreen width="100%" height="95%" ></iframe>

     

    </body>

    </html>



  • 3.  RE: SSA embedded in webpage not working in Chrome

    Posted 12-18-2017 14:36

    HI @Krishna Bejawada? the demo code / site works fine for me also.

    But when I use our ssa site in the iframe it doesn't work in chrome and gives the error I mentioned previously. I there must be some changes required to the base site code to allow this to work correctly.

    cheers

     



  • 4.  RE: SSA embedded in webpage not working in Chrome

    Posted 12-19-2017 00:59
      |   view attached

    Hi @Peter van Dijk? 

    Before I start answering your question I have a doubt. Do you get this error: Safari private mode is not supported in Analyst - please use normal mode while opening the webpage in chrome? This informatory message should come while in private browsing in Safari and not in Chrome.

    I enabled private browsing in my Safari and tried opening the Demo page and it showed me the same error you have mentioned previously.

    See Attachment

    So if this is the same scenario you are in, you need to be in the normal browsing mode to make this work in Safari.

    Also, Please confirm if you facing the issue in Chrome with the error: Safari private mode is not supported in Analyst - please use normal mode as mentioned in the original post.

    Thanks :)



  • 5.  RE: SSA embedded in webpage not working in Chrome

    Posted 12-19-2017 15:27
      |   view attached

    ?Hi @Ankur Sharma? ,

    Yes definitely Chrome, I don't have safari. 

    Seems that after investigation and testing I found the issue.

    I needed to exclusively allow cookies to be set for the site, just clicking on the allow cookies in the url locater wasn't enough. I needed to add a Wild card allow for the domain. See Attachment

    You can replicate this by blocking cookies, remove any exclusive allows for domains and clear browser cache and load the page after restarting chrome and the safari error from the SSA code is triggered. As far as I can tell the error is triggered when the embedded SSA site cannot set its jsessionid. The demo site worked because I had whitelisted the site in the past.

    Thanks for taking the time to look at this

    Have a merry Christmas

    cheers