App search result won't clear or refresh.

317
3
04-21-2021 02:12 PM
AllanLambert
New Contributor III

This is our newly upgraded parcel and real estate viewer. Our users' workflow has been to search for an address (94 Lincoln St), select it from the Results tab, view the Property Sheet tab, hit the Map tab, select a neighboring parcel, hit View Property Details on the pop-up. Hit the Map tab again and select the next neighbor.  But every time we return to the map, it's hung on the original result, 94 Lincoln St.  It won't release that parcel unless we start a new search.  Each subsequent click on the map that highlights and shows pop up should release and supersede 94 Lincoln St.   My developer says it's not in his code, it's in the IIS settings on the app server or the reverse proxy server.  I believe it's in the code... _app\scripts\LayoutSettings or MapViewer or _Layout.cshtml.  Can anyone suggest a property or phrase or an IIS setting that would govern the refresh or clearing of the Results parcel?  Thank you. Allan

Windows Server 16, SQL Server 16, ArcGIS Enterprise 10.7.1.  Rest Service

0 Kudos
3 Replies
Noah-Sager
Esri Regular Contributor

Hi @AllanLambert, I tried to follow the steps to reproduce the issue, but I think I got confused with the steps. I don't see the popup persist after each subsequent click on the map. A new popup opens each time.

However, it looks like this app is not using the ArcGIS API for JavaScript, or at least not using it directly. Is this app using a custom widget from here? https://pol.pictometry.com/PictometryForWebAppBuilder/v1/Overview.html

Or based on this app? https://explorer.eagleview.com/login.php

I would recommend following-up with the products used in the app to track down the reason for the reported behavior.

0 Kudos
Noah-Sager
Esri Regular Contributor

I can reproduce the issue now. Unfortunately, because this is such a large app, it is difficult to diagnose the cause. I recommend trying to create a simplified reproducible test app that demonstrates the issue with minimal code.

Also, since this app does not appear to use the ArcGIS API for JavaScript, there is not much assistance I can offer here. This space is more for people using the ArcGIS API for JavaScript. Other spaces might be more useful for generic REST API or programming questions.

Here is an example of using the ArcGIS API for JavaScript with a map, popup, and table interactions:

https://developers.arcgis.com/javascript/latest/sample-code/widgets-featuretable-popup-interaction/

 

0 Kudos
AllanLambert
New Contributor III

Thanks for looking and for the info.  Allan

0 Kudos