//when users click on the map select the parcel using the map point and update the url parameter dojo.connect(map, 'onClick', function (e) { var query = new esri.tasks.Query(); query.geometry = e.mapPoint; var deferred = sites.selectFeatures(query, esri.layers.FeatureLayer.SELECTION_NEW, function (selection) { //update the url param if a parcel was located if (selection.length > 0) { var entityid = selection[0].attributes['OBJECTID']; //Refresh the URL with the currently selected parcel if (typeof history.pushState !== 'undefined') { window.history.pushState(null, null, "?entityid=" + selection[0].attributes.OBJECTID); } } }); map.infoWindow.setFeatures([deferred]); map.infoWindow.show(e.mapPoint); });Solved! Go to Solution.