how can I dynamically change the symbology on layers? I need to temporarily change the symbology for the selected layer.
If the layer is GraphicsLayer or FeatureLayer then simply use .setRenderer(renderer) method to change the renderer.
And if its ArcGISDynamicServiceMapLayer then you need to use .setLayerDrawingOptions() method.
It would be nice to have a more detailed post of what you are asking, but I will attempt to guess...
If you are referring to changing the symbology on a publishing level (not a user having the ability to change the symoboloy)
Symbology can be changed on the Web Map level.
Left click on the layer in the web Map >> Change Style
Change style—ArcGIS Online Help | ArcGIS
I need change style in WebAppBuilder application. Seeking a way the user can edit the layer style via widget.
I use jimu/dijit/SymbolChooser for create SimpleRenderer bud i dont know how change layer style.
LayerDrawingOptions is what I was looking for.
Retrieving data ...