I have created a zoning viewer that I want to be searchable by parcel number. In the instant app, I have the search configured as follows:
If I use the search field, however, it does appear to search the layers as it auto suggests a few parcels, but it suggests parcels that don't make sense. For instance, if I search 'B 02' it will show the following suggestions:
These are all valid options and it will zoom to them as expected.
However, I am trying to search for parcel 'B 02 041.'
It will never show up as a suggestion, however, no matter how much you type. In the screenshot below, you will see that I have entered the full parcel number in the search box, but it does not suggest it. Despite the parcel literally being on the screen (red parcel highlighted in blue).
To further complicate this, the search works just fine in the web map that is powering the instant app. See below:
I've been trying to figure out what is causing this for several hours to no avail so I would greatly appreciate any advice!
Is your map public? If so can you send it so we can take a look? Also can you send the details on how you've configured the search in the map search settings?
Also is this in Enterprise (if so which version)? Or Online?
It is public and it is using layers that are not tied into our enterprise. Just feature classes that are published to AGOL. Here is a link to the map. Here is a screenshot of those settings:
It looks like the app uses this web map and the search doesn't return B 02 041 in the Map Viewer with that map either? You mentioned it was working in the map viewer - was that perhaps in another Enterprise? If so which version?
https://www.arcgis.com/apps/mapviewer/index.html?webmap=f80a168e438d49988a1fd69f4e3c44c6
That is correct. But as you can see, B 02 041does exist. You can even select the parcel, copy the text from the attribute, paste it in the search box, and it still will not find it.
Regarding your question, no. This is entirely contained in arcgis online. Below is a screenshot of the web map that is being used in the instant app. As you can see, it has no issues finding the parcel number:
So weird I can't get it to find the value in the Map Viewer sample. I spoke with a colleague and he looked into it and found that it seems like the result has an extra space between 02 and 041. If I add in an extra space the result is returned.