I am using dynamic layer to load different data on map when we search. There are two ways to search:
1. by using country name
2. by using country as well as state name.
When we search using state and country name, then I am not having any issue. But when I search using just country name then I am getting "Error 500: Internal server error". I am using proxy for calling the arcgis services.
To set the new definition for layer:-
map.getLayer("Dealer Location").setLayerDefinitions(layerDefinitions);
Error:
- n {message: "Unable to load /aor/proxy.jsp?https://arcgisqualap…AOR/Dealer_Info_Lbl/MapServer/export