Workflow Error when embedded
Just checking out my workflows after upgrading to 4.3. I have severa; Runworkflowwitharguments links in my maptips, that open other webpages, or PDFs. These work fine when I open the map by itself.
However, I have a lot of maps embedded in webpages. When I click on the same links in the maptips in the embedded maps, I get a blank alert window and my workflow fails. This has to be a bug right?
Here is a link to a page with my map, zooming in and maptipping a property has the links I'm referring to. It happens on all my maps though
http://www.csrd.bc.ca/services/development-planning/official-community-plans
David
-
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 -
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 -
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 Partner0
Please sign in to leave a comment.
Comments
3 comments