Passing address parameters in url broke zoom function with Html5 2.11 viewer
Hello. I have a startup workflow in my app that takes address parameters from the url, determines which boundary that address falls within, and then zooms to that location in the map. This was all working until we upgraded to htlm5 viewer 2.11. 2.11.1 did not fix the issue. The workflow is accepting the address because it does determine the correct location/picks the right boundary, it's the zoom to that location that is failing. If I go directly into the app and use the workflow it handles the zoom to correctly. With the address being passed at the end of the url though it zooms to what seems to be the center of the map rather than the address that was passed in the url. Any address we try produces these results.
The zoom to location is way down in the workflow and is literally the same regardless of whether you're entering the address into the workflow form or if you're passing it in the url. So it makes no sense that one would work and the other wouldn't (at least not to me).
Wondering if anyone else has experienced this? 2.10.1 works fine with the zoom to location in the map via address parameters in the url. Appreciate any help.
0
-
Hi Desiree,
Can you see if your workflow has any GetMapServiceInfo activities and if so, are they being affected by this issue-
https://support.geocortex.com/essentialsGSCkba?sub-nav=kba&main-nav=essentials&#!/feedtype=SINGLE_ARTICLE_DETAIL&criteria=BESTANSWERS&id=kA3f2000000k9cGCAQ
It's the only workflow issue that I am aware of that only affects 2.11
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 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 -
Hi Wayne,
Thank you for the quick reply. Unfortunately, there are no GetMapServiceInfo activities in the workflow.
If someone wants to take a look it's a public mapp. You can use the County address of 976 Osos St., San Luis Obispo, 93401 and see that if you enter it into the workflow form, it zooms correctly but if you then enter the mapp by passing that address in the url it does not zoom to the same/correct location.
https://gisdev.slocounty.ca.gov/Html5Viewer/Index.html?configBase=/Geocortex/Essentials/REST/sites/v2_BOS/viewers/bosv2/virtualdirectory/Resources/Config/Default
https://gisdev.slocounty.ca.gov/Html5Viewer/Index.html?configBase=https://gis.slocounty.ca.gov/Geocortex/Essentials/REST/sites/v2_BOS/viewers/bosv2/virtualdirectory/Resources/Config/Default&address=976%20osos%20st&city=SAN%20LUIS%20OBISPO&zip=93401
With the 2.10.1 viewer you can see here that it works and zooms to the correct location.
https://gis.slocounty.ca.gov/Html5Viewer2_10_1/Index.html?configBase=https://gis.slocounty.ca.gov/Geocortex/Essentials/REST/sites/v2_BOS/viewers/bosv2/virtualdirectory/Resources/Config/Default&address=976%20osos%20st&city=SAN%20LUIS%20OBISPO&zip=934010 -
Thanks for the details Desiree.
I think this may be related to the new "deferred loading" process the viewer takes. A required module may not be loaded or may not be finished loading at the time the workflow runs. There is a setting in the Desktop file that we can change to not defer loading but we will need to figure out which module first. I would suggest submitting a support ticket for this.
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 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 -
Will do. Thank you Wayne. 0
Please sign in to leave a comment.
Comments
4 comments