Select to view content in your preferred language

setDefinitionExpression

3234
3
Jump to solution
08-10-2015 07:39 AM
ChrisKing
Deactivated User

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

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
TimWitt2
MVP Alum

Chris,

I have a feeling this is not integrated yet. The Beta seems to missing a lot of functionality. At the moment it is just there to showcase.

Tim

View solution in original post

3 Replies
TimWitt2
MVP Alum

Chris,

I have a feeling this is not integrated yet. The Beta seems to missing a lot of functionality. At the moment it is just there to showcase.

Tim

KristianEkenes
Esri Regular Contributor

Chris,

Tim is correct. If you can't find it in the API reference, then there is no current support. The features you're familiar with in 3.14 will eventually be integrated into 4.0 by the final release next year.

ChrisKing
Deactivated User

Thanks for the responses.  I thought that might be the case.

0 Kudos