Zum Hauptinhalt gehen

Can I embed Html5viewer in ArcGIS HUB page?

Kommentare

4 Kommentare

  • Stefan Schweigert

    Hi Hwa Saup,

     

    I'm able to configure GVH 4.14.1 in an iframe using ArcGIS Hub with our public demo. That error message suggests that the server hosting your viewer may not be accessible by AGOL or possibly the server certificate may not be valid.

     

    Thanks, Stefan

    0
  • Hwa Saup Lee

    Hi Stefan. The viewer is accessible from internet and with valid certificate. Any setting required on geocortex side??

    0
  • Stefan Schweigert

    There doesn't appears to be any specific changes required on the server to make it available. Maybe there are settings on the AGOL organization settings that are preventing loading?

    0
  • Hwa Saup Lee

    In my case, the org IT security has restrictions for content-security-policy. I can use frame-ancestors for a list of the domain which allows iframe of apps from my host server.

    web config for the html5viewer application, I add the following and iframe of html5viewer works:

     

    <httpProtocol allowKeepAlive="true">

    <customHeaders>

    <add name="Content-Security-Policy" value="frame-ancestors 'self' https://YOUR DOMAIN.hub.arcgis.com/*" />

    </customHeaders>

    </httpProtocol>

     

    0

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