YL,in case you can figure out all applicable dispatch zones upfront, you can setup your layer's unique-value-renderer with additional values, even when your layer does not have those values. So, you setup your layer's unique value renderer with all possible dispatch zone id/name and publish. As new features with new values get added to the spatial table, a simple refresh from your web app or arcgis.com map will show new features with new symbols.in case you really need to do dynamic rendering on the server side, here are few links that you may find helpful:About Dynamic Layers:http://resources.arcgis.com/en/help/main/10.2/index.html#/About_dynamic_layers/00sq000000n1000000/JS API sample on changing layers symbology on dynamically:https://developers.arcgis.com/en/javascript/jssamples/renderer_dynamic_layer_change_attribute.htmlthere is also a task that allows you to get unique values renderer with updated values from server side.https://developers.arcgis.com/en/javascript/jsapi/generaterenderertask-amd.htmlall ArcGIS Web APIs have similar capabilities.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.