Hi Garima,
Thank you for the reply.
I have tried the following but it is not filtered in the map
1. I have added portal item into the map
2. get the list of operational layers (let layers:[AGSLayer]! = self?.map.operationalLayers as! [AGSLayer])
3. assigned in feature layer (self?.featureLayer1 = layers[3] as! AGSFeatureLayer)
4. applied filter (self.featureLayer5.definitionExpression="field='xxxx'")
5. -------- No filter applied in the map ---------
please guide me how to apply filter and filtered values should be changed in the map.
thanks