Identify tool uses pre-configured layer?
Hi all,
Is it possible to configure an identify tool so that it returns information from only one layer? Ideally, a layer that isn't visible/turned on in the layer of contents? Or would we have to use a workflow to do this?
Here's the scenario:
We have an HTML5 site showing zoning plans. In this site we have a separate map service that contains URLs to documents (PDFs) for each plan. One plan might have several documents. We've set it up so that there is one plan outline (polygon) per document, which allows us to have a separate link per document. We'd like to have a button (tool) on the tool bar that says "Plan documents", and which would return information from just the document map service. As it is now, the user has to turn on the plan document layer in the layer list to get information about the plans, and that's a little cumbersome.
-
And if you publish your plan document layer without symbology, and configure for the layer Visible = True, Include in Layer List = False, and Allow Identify Operations = True? For other layer you should set Allow Identify Operatons = False.
0 -
Thanks for the tip! That would work if we didn't need to also show information from the other map layers...
0 -
What you're trying to do sounds like a good opportunity for a workflow. You could use the Display Capture Geometry activity to have the user draw on the map and then the Query Task activity to query the one layer you want to pull data from.
0 -
Thanks John, I think we're going to have to go for a workflow. I was just interested in seeing if this was easily solvable by adding a parameter to an existing tool.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare