Create link that goes, directly to feature
I'm wanting to create links for each parcel. When clicking on this link, the application opens up and goes directly to the feature. I'm using the HTML5 viewer. Is this possible? If so, how?
Thank You!
0
-
With HTML5, you need to do it with a small workflow. You can run a workflow as part of a URL. I believe there is an example in the Downloads. Here is how it looks on my site
https://maps.srcity.org/Html5Viewer/Index.html?viewer=PublicCity&runWorkflow=SearchPubASMT&ParcelId=0366300140 -
Do you know where i could find that example? I looked around and I'm not sure I'm in the right spot. Thanks! 0 -
Sorry, in the Code Gallery, about the 8th one down - "Launch an application from the viewer using a URL" 0 -
I must be missing something. It gives me sample URL, but I dont see a workflow example. 0 -
Can you clarify your question a little? Where would people be clicking on a link on your parcels (e.g. ArcMap, a Geocortex Viewer, another web application)? And when you say the application opens up, do you mean that the link should launch a new Geocortex Viewer and zoom to the parcel? Do you want it to select the parcel, too? 0 -
It would be on another web application. When they click on the link, the viewer would open up and zoom, and/or select it. 0 -
I did this with a viewer for parcels. Fairly simple workflow like this:
ConfigureWorkflowContainer - put in a loading message and title, to let users know something is happening
QueryTask - query parcel layer(s)
Flow Decision - if it finds the parcel, proceed, otherwise Alert box saying no parcel found
Select Features - select query results
RunexternalCommand - ZoomToExtent of the selection0 -
Got it. I do that in several of our ArcGIS Online apps. You can see an example of the workflow in action here:
http://brooklynpark.maps.arcgis.com/apps/webappviewer/index.html?id=5f3b7a6c9d494a1d976233aa8d687fd8
Type 6417 into the search bar, pick an address, and then click the More info for this address link.
Here's the workflow I use that searches and zooms to the parcel using the address field value from the parcel's pop-up link:
https://drive.google.com/open?id=14v53C_xz0SSC_xEG7JEu4NYTO9aXGVDG
What you need to provide:
1) Your parcel map service ID
2) Your parcel layer name
3) Your Geometry Service
4) Your parcel Address field name
Here's the link I used in my pop-up to launch the GVH using the parcel address:
https://MyViewerURL&run=Find_Address&address={Your Address Field}
You should be able to use the workflow with other applications, too. The one thing you need to be able to do is generate that dynamic link to load the address from your parcel into the GVH launch URL.0 -
Thank you for all the help! I got it! 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
9 kommentarer