I have a problem with using the search box in a Web Map to locate a feature in a layer based on a feature attribute. For example, when I go in the search box in this test web map, http://arcg.is/1HcmaUN , switch the searchable layer to ...Metis... and type 'thunder' , which is only one of the words in an attribute in the ...metis... layer, the search engine identifies and pulls out the whole attribute, but then it cannot locate the feature that contains it. In this particular case I get a message "Location 'MNO Thunder Bay Métis Council' could not be found". Can anyone tell me why the features in this case cannot be located? The services are in the Web Mercator Auxilliary Sphere map projection.
Much appreciated, thank you,
Tomislav
Solved! Go to Solution.
Hi Tomislav,
I believe this is because you do not have the 'Shape' field visible in the service. For example, if you try and add the individual layer using the below URL:
Layer: Métis Community Council (ID: 0)
You will receive an error:
Make sure the 'Shape' field is visible/enabled, and then see if the search works.
Hi Tomislav,
I believe this is because you do not have the 'Shape' field visible in the service. For example, if you try and add the individual layer using the below URL:
Layer: Métis Community Council (ID: 0)
You will receive an error:
Make sure the 'Shape' field is visible/enabled, and then see if the search works.
That must be it! It makes a lot of sense but I didn't think of it. D'oh! I
am not at my computer right now and will make this change later on today.
Thank you very much, Jake, for such a speedy help!
Tomislav