AnsweredAssumed Answered

Feature layer query

Question asked by deleted-user-x7XmeRtVHyGE on Jan 6, 2016
Latest reply on Jan 8, 2016 by deleted-user-x7XmeRtVHyGE

Hello all,


I'm looking for some strategic advice and sample code if possible.


I'm working with a few very large feature services. We are serving these out to a web-based app. Layer1 is a polygon layer and Layer2 is a line layer, with those lines falling within the polygons in Layer1.


Right now our application passes an ID to Layer1 that we then use Layer1.setDefinitionExpression() to segment the data. Now we need to take that boundary and use it to query and display the data from Layer2 where it is within the subset of Layer1.


Any advice on how to proceed? Feature services are necessary for both because of the need for editing.


Enjoy the day,