Launch URL with Attribute Search - HTML5
Hi All,
In Silverlight this was really easy, not having the same success with the HTML5 URL. I'd like to launch the viewer with a specific attribute search
Example, my url is this: https://exploreajax.ajax.ca/HTML5Viewer/Index.html?viewer=mapviewer
I'd like to add something like: https://exploreajax.ajax.ca/HTML5Viewer/Index.html?viewer=mapviewer&attributeSearch=Assessment%20Parcels,TRUNK_ROLL,020004118000000#
Is there a way to do this from a URL in the HTML5 version? Thanks
Chris
0
-
You will need to set up a simple workflow - I believe there is an example in the code share tab. Here is an example to zoom to a particular parcel on our public site
https://maps.srcity.org/Html5Viewer/Index.html?viewer=PublicCity&runWorkflow=SearchPubASMT&ParcelId=0366300140 -
Excellent thanks
Just an FYI for anyone else. I did not want this to run on startup so I did not check that box and left the value parameter blank. If you want to just find this via a URL (in my case passing from AMANDA) you'd just add this to the end:
https://Server/HTML5Viewer/Index.html?viewer=mapviewer&runWorkflow=startupParcelSearch&value=inputvalue0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer