Built a layer list widget using web-app builder and integrated it with our Spring application.
I'm trying to pass state parameter to layer definitions through the following code:
this.operLayerInfos._operLayer.layerObject.layerDefinitions=["STATE IN ('CA')"];
this.operLayerInfos._operLayer.layerObject.supportDynamicLayers = true;
this.operLayerInfos._operLayer.layerObject.disableClientCaching = true;
This is not reflecting in the map.