In version 3.14 I could use the code below to give me a particular feature from my map service.
featureLayer.setDefinitionExpression("FeatureId = '" + featureId + "'");
This doesn't seem to be available in version 4. Is there a different way to achieve this or is this feature not available yet?
Thanks