Skip to main content

Workflow Error when embedded

Comments

3 comments

  • Permanently deleted user

    Hi David,

    I tried in Chrome and IE and both appeared to work for me, the links were fine.  Were you trying this on the server or a workstation?

    Regards,

    Wayne

    0
  • David Major

    Hi Wayne, thanks for having a look.

    Strange you don't see the same thing as I do. Maybe I didn't properly explain how I got to this error? It only happens when I am using the map when it is embedded in another webpage. EVerything works as it should if I just load the map in its own window.

    I've tried it on a couple workstations with FireFox, Chrome, IE, both inside our network and on a public connection, and get the same empty alert. See attached image.

    Also as I posted somewhere else that working with this same embedded map the additional details link does not work.

    Regards,

    David

    /customer/servlet/servlet.FileDownload?file=00P6000000elu84EAA

    0
  • Permanently deleted user

    Hi David,

    Yes, you're right, I didn't wait long enough for the map to load, I hit the Full Screen link before I noticed it was embedded.  This may be a cross site scripting block or the javascript might be prevented from loading.  You can try whitelisting mapping.csrd.bc.ca but if it's a javascript issue it will not help.

    Whitelist instructions -

    In situations where configuration absolutely must be loaded from a different, trusted domain, specific configuration domains may be whitelisted by setting a property in the viewer's host page (e.g. Index.html, Offline.aspx, et cetera.). In order to do this, add your trusted domain to the "geocortex._configDomains" object in the viewer's host page. Example: geocortex._configDomains = {     "http://YOURDOMAIN": true }; This can be added immediately before viewer creation, which occurs on this line: var viewer = new geocortex.essentialsHtmlViewer.ViewerApplication(viewerConfig.viewerConfigUri, null, viewerId); If you don't have any luck feel free to open a ticket and we can look into it further.   Regards,   Wayne Richard   Latitude Geographics Group Ltd. Head Office: 200 – 1117 Wharf Street  Victoria, BC Canada V8W 1T7 Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com    Developers of Geocortex web-based mapping software | www.geocortex.com  An Esri Platinum Business Partner
    0

Please sign in to leave a comment.